20241114@185733.7017 e3bqhj75bds7bh58jvm8lgeabv INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241114@185733.7016 e3bqhj75bds7bh58jvm8lgeabv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185733.7036 e3bqhj75bds7bh58jvm8lgeabv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185733.7062 e3bqhj75bds7bh58jvm8lgeabv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185733.7078 e3bqhj75bds7bh58jvm8lgeabv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185733.7087 e3bqhj75bds7bh58jvm8lgeabv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185733.7099 e3bqhj75bds7bh58jvm8lgeabv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185733.7114 e3bqhj75bds7bh58jvm8lgeabv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185733.7125 e3bqhj75bds7bh58jvm8lgeabv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364894816736481dad','aut67364209316736481d68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185733.7129 e3bqhj75bds7bh58jvm8lgeabv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185733.7144 e3bqhj75bds7bh58jvm8lgeabv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185733.7171 e3bqhj75bds7bh58jvm8lgeabv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364894816736481dad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364209316736481d68' ,0,0 ,2,23.00,50000,?,?,?)
20241114@185733.7441 e3bqhj75bds7bh58jvm8lgeabv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67364209316736481d68','2407598','wait',39,'adm09112754980.682000002')
20241114@185733.7518 e3bqhj75bds7bh58jvm8lgeabv Query : use flama_phc
20241114@185733.7521 e3bqhj75bds7bh58jvm8lgeabv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241114@185733.7551 e3bqhj75bds7bh58jvm8lgeabv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3322';
20241114@185733.7597 e3bqhj75bds7bh58jvm8lgeabv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3322';
20241114@185733.7644 e3bqhj75bds7bh58jvm8lgeabv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3322';
20241114@185733.7673 e3bqhj75bds7bh58jvm8lgeabv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3322';
20241114@185733.8327 mpcrv1ndireg7qb7dirako44k2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241114@185733.8337 mpcrv1ndireg7qb7dirako44k2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241114@185733.8403 mpcrv1ndireg7qb7dirako44k2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3323';
20241114@185733.8476 mpcrv1ndireg7qb7dirako44k2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3323';
20241114@185733.8533 mpcrv1ndireg7qb7dirako44k2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3323';
20241114@185733.8562 mpcrv1ndireg7qb7dirako44k2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3323';
20241114@185733.9168 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185733.9209 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241114@185733.9992 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185733.9996 mpcrv1ndireg7qb7dirako44k2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=752
20241114@185734.8700 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.597.00.01'
20241114@185734.2450 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407599 and bi.ref ='326.597.00.01' and bi.lordem =1
20241114@185734.5720 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.5750 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241114@185734.6110 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.6150 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 1 valor from td where td.ndoc = 39
20241114@185734.6440 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.6470 mpcrv1ndireg7qb7dirako44k2 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')
20241114@185734.6780 mpcrv1ndireg7qb7dirako44k2 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
20241114@185734.7200 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.7230 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 ~inactivo valor from cl where no = '102246' and estab = 0 order by inactivo desc
20241114@185734.8600 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.8640 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241114@185734.8940 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.8970 mpcrv1ndireg7qb7dirako44k2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241114@185734.9360 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.9390 mpcrv1ndireg7qb7dirako44k2 Query : select szadrsstamp valor from szadrs where szadrsdesc='transÁfrica, lda.'
20241114@185734.9840 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.9870 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from td where ndoc = 39
20241114@185734.9990 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241114@185734.1013 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.1029 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241114@185734.1055 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.1070 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241114@185734.1097 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.1114 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241114@185734.1126 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241114@185734.1187 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241114@185734.1200 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.1216 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241114@185734.1231 mpcrv1ndireg7qb7dirako44k2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67364141286736481e1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241114@185734.1440 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.1459 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241114@185734.1493 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241114@185734.1505 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241114@185734.1517 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241114@185734.1528 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241114@185734.1540 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241114@185734.1551 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241114@185734.1563 mpcrv1ndireg7qb7dirako44k2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67364141286736481e1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241114@185734.1841 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 fno valor from wsftdata order by fno desc
20241114@185734.1890 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.1939 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241114@185734.1968 mpcrv1ndireg7qb7dirako44k2 Query : select 'normal' from dummy
20241114@185734.1984 mpcrv1ndireg7qb7dirako44k2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67364141286736481e1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1881,102246,0,'2024-11-14',39,'euro',0,0,2024 ,?,?)
20241114@185734.2304 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.2308 mpcrv1ndireg7qb7dirako44k2 Query : select st.usalote valor from st where st.ref = '326.597.00.01'
20241114@185734.2341 mpcrv1ndireg7qb7dirako44k2 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.597.00.01'
20241114@185734.2498 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.2515 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185734.2545 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.2561 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185734.2571 mpcrv1ndireg7qb7dirako44k2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185734.2585 mpcrv1ndireg7qb7dirako44k2 Query : select sestamp valor from se where ref ='326.597.00.01' and lote = 'r2400936200a'
20241114@185734.2600 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.2618 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185734.2634 mpcrv1ndireg7qb7dirako44k2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364378586736481e3f','aut67364141286736481e1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185734.2638 mpcrv1ndireg7qb7dirako44k2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185734.2655 mpcrv1ndireg7qb7dirako44k2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185734.2687 mpcrv1ndireg7qb7dirako44k2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364378586736481e3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67364141286736481e1b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241114@185734.2945 mpcrv1ndireg7qb7dirako44k2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67364141286736481e1b','2407599','wait',39,'adm09112754980.682000002')
20241114@185734.3019 mpcrv1ndireg7qb7dirako44k2 Query : use flama_phc
20241114@185734.3022 mpcrv1ndireg7qb7dirako44k2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241114@185734.3053 mpcrv1ndireg7qb7dirako44k2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3323';
20241114@185734.3092 mpcrv1ndireg7qb7dirako44k2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3323';
20241114@185734.3138 mpcrv1ndireg7qb7dirako44k2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3323';
20241114@185734.3168 mpcrv1ndireg7qb7dirako44k2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3323';
20241114@185734.5046 vchljqkt2fm52fooh71cpnqp3p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241114@185734.5057 vchljqkt2fm52fooh71cpnqp3p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241114@185734.5130 vchljqkt2fm52fooh71cpnqp3p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3324';
20241114@185734.5189 vchljqkt2fm52fooh71cpnqp3p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3324';
20241114@185734.5246 vchljqkt2fm52fooh71cpnqp3p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3324';
20241114@185734.5276 vchljqkt2fm52fooh71cpnqp3p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3324';
20241114@185734.5330 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185734.5334 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241114@185734.5399 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185734.5402 vchljqkt2fm52fooh71cpnqp3p Query : select no, estab,szadrsdesc from szadrs where u_coddest=3104
20241114@185734.5495 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20241114@185734.5647 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.1293.00.1' and bi.lordem =1
20241114@185734.5964 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20241114@185734.5995 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.1293.00.1' and bi.lordem =1
20241114@185734.6013 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20241114@185734.6033 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.1293.00.1' and bi.lordem =2
20241114@185734.6374 vchljqkt2fm52fooh71cpnqp3p 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'
20241114@185734.6528 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.691.00.01' and bi.lordem =3
20241114@185734.6854 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.644.00.01'
20241114@185734.7018 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.644.00.01' and bi.lordem =4
20241114@185734.7359 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241114@185734.7389 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.678.00.01' and bi.lordem =5
20241114@185734.7713 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20241114@185734.7877 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.698.00.01' and bi.lordem =6
20241114@185734.8197 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20241114@185734.8350 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.4521.00.1' and bi.lordem =7
20241114@185734.8660 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241114@185734.8816 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.1832.00.2' and bi.lordem =8
20241114@185734.9132 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241114@185734.9285 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.1833.00.2' and bi.lordem =9
20241114@185734.9609 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1871.00.1'
20241114@185734.9771 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.1871.00.1' and bi.lordem =10
20241114@185735.8300 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20241114@185735.2610 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.958.00.01' and bi.lordem =11
20241114@185735.5660 vchljqkt2fm52fooh71cpnqp3p 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'
20241114@185735.7130 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.938.00.01' and bi.lordem =12
20241114@185735.1027 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241114@185735.1065 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.2340.00.1' and bi.lordem =13
20241114@185735.1424 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241114@185735.1444 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.2340.00.1' and bi.lordem =13
20241114@185735.1459 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20241114@185735.1657 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.5540.00.1' and bi.lordem =14
20241114@185735.1979 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20241114@185735.1999 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.5540.00.1' and bi.lordem =15
20241114@185735.2303 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20241114@185735.2453 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407600 and bi.ref ='324.5500.00.1' and bi.lordem =16
20241114@185735.2756 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.2760 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241114@185735.2797 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.2800 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 1 valor from td where td.ndoc = 39
20241114@185735.2831 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.2834 vchljqkt2fm52fooh71cpnqp3p 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')
20241114@185735.2864 vchljqkt2fm52fooh71cpnqp3p 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
20241114@185735.2897 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.2900 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 ~inactivo valor from cl where no = '102470' and estab = 0 order by inactivo desc
20241114@185735.3026 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.3029 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241114@185735.3058 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.3060 vchljqkt2fm52fooh71cpnqp3p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241114@185735.3098 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.3101 vchljqkt2fm52fooh71cpnqp3p Query : select szadrsstamp valor from szadrs where szadrsdesc='electro pereira, lda'
20241114@185735.3144 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.3147 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from td where ndoc = 39
20241114@185735.3159 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241114@185735.3172 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.3187 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241114@185735.3205 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.3219 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241114@185735.3245 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.3258 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241114@185735.3271 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241114@185735.3330 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241114@185735.3343 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.3357 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241114@185735.3372 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241114@185735.3573 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.3589 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241114@185735.3625 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241114@185735.3637 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241114@185735.3652 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241114@185735.3665 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241114@185735.3678 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241114@185735.3689 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241114@185735.3702 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67364234956736481f4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241114@185735.3965 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 fno valor from wsftdata order by fno desc
20241114@185735.3990 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.4005 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241114@185735.4026 vchljqkt2fm52fooh71cpnqp3p Query : select 'normal' from dummy
20241114@185735.4040 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67364234956736481f4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1882,102470,0,'2024-11-14',39,'euro',0,0,2024 ,?,?)
20241114@185735.4331 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.4334 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.1293.00.1'
20241114@185735.4355 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1293.00.1'
20241114@185735.4499 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.4515 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.4538 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.4554 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.4562 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.4573 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.1293.00.1' and lote = 'r2101042200a'
20241114@185735.4594 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.4608 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.4619 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364942886736481f70','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.4626 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.4640 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.4668 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364942886736481f70',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241114@185735.4951 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.4970 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.5000 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5017 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.5031 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.5043 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5056 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.5068 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364692926736481f7b','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.5072 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5085 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.5115 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364692926736481f7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,20000,?,?,?)
20241114@185735.5384 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.5387 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.1293.00.1'
20241114@185735.5406 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1293.00.1'
20241114@185735.5419 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5434 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.5457 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5471 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.5478 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.5490 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.1293.00.1' and lote = 'r2101042200a'
20241114@185735.5502 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5516 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.5527 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364309506736481f86','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.5538 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5551 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.5577 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364309506736481f86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241114@185735.5840 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5857 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.5881 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5897 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.5906 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.5917 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5931 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.5942 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364138926736481f90','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.5946 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.5959 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.5985 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364138926736481f90',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,50000,?,?,?)
20241114@185735.6247 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.6251 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.1293.00.1'
20241114@185735.6273 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1293.00.1'
20241114@185735.6289 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.6306 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.6332 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.6348 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.6358 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.6371 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.1293.00.1' and lote = 'r2101042200a'
20241114@185735.6385 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.6401 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.6413 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364327536736481f9b','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.6417 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.6432 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.6468 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364327536736481f9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241114@185735.6765 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.6781 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.6805 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.6819 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.6827 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.6839 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.6852 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.6863 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364943766736481fa6','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.6868 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.6881 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.6907 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364943766736481fa6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,80000,?,?,?)
20241114@185735.7159 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.7162 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20241114@185735.7182 vchljqkt2fm52fooh71cpnqp3p 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'
20241114@185735.7319 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.7334 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.7361 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.7378 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.7386 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.7398 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20241114@185735.7417 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.7431 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.7448 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364115496736481fb5','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.7452 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.7466 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.7501 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364115496736481fb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241114@185735.7787 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.7805 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.7835 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.7852 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.7860 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.7872 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.7886 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.7933 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364910026736481fc0','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.7937 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.7952 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.7979 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364910026736481fc0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,110000,?,?,?)
20241114@185735.8246 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.8249 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.644.00.01'
20241114@185735.8269 vchljqkt2fm52fooh71cpnqp3p 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.644.00.01'
20241114@185735.8409 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.8424 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.8448 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.8462 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.8470 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.8481 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.644.00.01' and lote = 'r2400749200a'
20241114@185735.8500 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.8514 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.8525 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364435816736481fcf','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.8529 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.8543 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.8568 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364435816736481fcf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241114@185735.8834 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.8837 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.678.00.01'
20241114@185735.8856 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.678.00.01'
20241114@185735.8876 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.8893 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.8918 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.8932 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.8941 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.8952 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.678.00.01' and lote = 'r2400745200a'
20241114@185735.8965 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.8979 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.8991 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364009816736481fda','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.8995 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.9009 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.9037 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364009816736481fda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241114@185735.9291 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.9306 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.9330 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.9345 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.9365 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185735.9387 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.9402 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185735.9416 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364434246736481fe5','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185735.9421 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185735.9440 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185735.9474 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364434246736481fe5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,150000,?,?,?)
20241114@185735.9812 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185735.9816 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20241114@185735.9836 vchljqkt2fm52fooh71cpnqp3p 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.698.00.01'
20241114@185735.9984 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1000 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.2700 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.4200 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.5100 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.6300 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2400061200a'
20241114@185736.8300 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1020 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.1150 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364091596736482002','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.1200 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1380 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.1680 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364091596736482002',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241114@185736.4470 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.4630 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.4880 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5020 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.5100 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.5230 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5370 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.5490 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6736480755673648200c','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.5530 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5670 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.6100 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6736480755673648200c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,180000,?,?,?)
20241114@185736.8720 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.8750 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241114@185736.9000 vchljqkt2fm52fooh71cpnqp3p 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.4521.00.1'
20241114@185736.1062 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1080 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.1105 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1122 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.1130 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.1144 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241114@185736.1159 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1173 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.1186 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6736466941673648201c','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.1190 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1205 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.1249 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6736466941673648201c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241114@185736.1520 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.1523 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241114@185736.1543 vchljqkt2fm52fooh71cpnqp3p 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.1832.00.2'
20241114@185736.1685 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1702 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.1726 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1740 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.1748 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.1759 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241114@185736.1779 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1793 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.1804 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6736422119673648202b','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.1809 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.1823 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.1851 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6736422119673648202b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241114@185736.2138 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.2155 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.2180 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.2195 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.2203 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.2215 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.2229 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.2241 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364582456736482036','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.2245 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.2261 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.2289 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364582456736482036',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,220000,?,?,?)
20241114@185736.2554 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.2557 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241114@185736.2576 vchljqkt2fm52fooh71cpnqp3p 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.1833.00.2'
20241114@185736.2718 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.2734 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.2758 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.2789 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.2799 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.2811 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241114@185736.2824 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.2838 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.2850 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364019206736482044','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.2854 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.2868 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.2895 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364019206736482044',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241114@185736.3271 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.3878 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20241114@185736.4505 vchljqkt2fm52fooh71cpnqp3p 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.1871.00.1'
20241114@185736.4655 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.4670 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.4695 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.4708 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.4716 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.4728 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20241114@185736.4749 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.4764 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.4776 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364929826736482073','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.4780 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.4796 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.4828 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364929826736482073',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241114@185736.5109 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.5113 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20241114@185736.5135 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20241114@185736.5279 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5296 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.5322 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5337 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.5346 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.5358 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20241114@185736.5371 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5386 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.5399 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364024476736482083','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.5404 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5418 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.5447 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364024476736482083',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20241114@185736.5711 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.5714 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241114@185736.5737 vchljqkt2fm52fooh71cpnqp3p 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'
20241114@185736.5877 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5912 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.5958 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.5974 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.5985 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.5998 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241114@185736.6020 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.6036 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.6050 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364495196736482092','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.6055 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.6070 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.6103 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364495196736482092',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,270000,?,?,?,?,?)
20241114@185736.6370 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.6373 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.2340.00.1'
20241114@185736.6397 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2340.00.1'
20241114@185736.6419 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.6438 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.6475 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.6498 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.6510 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.6527 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.2340.00.1' and lote = 'r2100584120a'
20241114@185736.6550 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.6572 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.6590 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6736424172673648209f','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.6616 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.6705 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.6739 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6736424172673648209f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241114@185736.7032 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.7036 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.2340.00.1'
20241114@185736.7177 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2340.00.1'
20241114@185736.7237 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.7323 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.7395 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.7413 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.7425 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.7440 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.2340.00.1' and lote = 'r2100584120a'
20241114@185736.7522 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.7541 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.7553 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673641032367364820b7','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.7558 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.7575 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.7617 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673641032367364820b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20241114@185736.7889 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.7893 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20241114@185736.7914 vchljqkt2fm52fooh71cpnqp3p 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.5540.00.1'
20241114@185736.8055 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.8071 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.8097 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.8111 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.8120 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.8131 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20241114@185736.8145 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.8159 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.8170 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673645519467364820c6','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.8174 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.8189 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.8216 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673645519467364820c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,300000,?,?,?,?,?)
20241114@185736.8464 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.8467 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20241114@185736.8487 vchljqkt2fm52fooh71cpnqp3p 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.5540.00.1'
20241114@185736.8501 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.8516 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.8542 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.8557 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.8565 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.8578 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20241114@185736.8602 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.8619 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.8630 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673641742867364820d2','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.8677 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.8716 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.8825 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673641742867364820d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241114@185736.9111 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185736.9114 vchljqkt2fm52fooh71cpnqp3p Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20241114@185736.9173 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20241114@185736.9340 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.9356 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.9474 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.9492 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.9519 vchljqkt2fm52fooh71cpnqp3p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185736.9531 vchljqkt2fm52fooh71cpnqp3p Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2400095600a'
20241114@185736.9593 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.9627 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185736.9640 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673642491767364820ea','aut67364234956736481f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185736.9645 vchljqkt2fm52fooh71cpnqp3p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185736.9659 vchljqkt2fm52fooh71cpnqp3p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185736.9688 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673642491767364820ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67364234956736481f4f' ,0,0 ,2,23.00,320000,?,?,?,?,?)
20241114@185736.9953 vchljqkt2fm52fooh71cpnqp3p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67364234956736481f4f','2407600','wait',39,'adm09112754980.682000002')
20241114@185737.2800 vchljqkt2fm52fooh71cpnqp3p Query : use flama_phc
20241114@185737.3100 vchljqkt2fm52fooh71cpnqp3p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241114@185737.6100 vchljqkt2fm52fooh71cpnqp3p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3324';
20241114@185737.9800 vchljqkt2fm52fooh71cpnqp3p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3324';
20241114@185737.1430 vchljqkt2fm52fooh71cpnqp3p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3324';
20241114@185737.1710 vchljqkt2fm52fooh71cpnqp3p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3324';
20241114@185737.6800 15puno1914fumcj4ek4d2r87hp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241114@185737.6910 15puno1914fumcj4ek4d2r87hp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241114@185737.7520 15puno1914fumcj4ek4d2r87hp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3325';
20241114@185737.8120 15puno1914fumcj4ek4d2r87hp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3325';
20241114@185737.8670 15puno1914fumcj4ek4d2r87hp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3325';
20241114@185737.8940 15puno1914fumcj4ek4d2r87hp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3325';
20241114@185737.9440 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.9470 15puno1914fumcj4ek4d2r87hp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241114@185737.1006 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.1009 15puno1914fumcj4ek4d2r87hp Query : select no, estab,szadrsdesc from szadrs where u_coddest=6234
20241114@185737.1095 15puno1914fumcj4ek4d2r87hp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241114@185737.1117 15puno1914fumcj4ek4d2r87hp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407602 and bi.ref ='324.645.00.01' and bi.lordem =1
20241114@185737.1450 15puno1914fumcj4ek4d2r87hp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241114@185737.1469 15puno1914fumcj4ek4d2r87hp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407602 and bi.ref ='324.645.00.01' and bi.lordem =1
20241114@185737.1485 15puno1914fumcj4ek4d2r87hp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20241114@185737.1638 15puno1914fumcj4ek4d2r87hp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407602 and bi.ref ='324.1643.00.1' and bi.lordem =2
20241114@185737.1986 15puno1914fumcj4ek4d2r87hp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20241114@185737.2146 15puno1914fumcj4ek4d2r87hp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407602 and bi.ref ='324.1831.00.2' and bi.lordem =3
20241114@185737.2502 15puno1914fumcj4ek4d2r87hp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20241114@185737.2523 15puno1914fumcj4ek4d2r87hp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407602 and bi.ref ='324.1831.00.2' and bi.lordem =4
20241114@185737.2829 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.2833 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241114@185737.2867 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.2871 15puno1914fumcj4ek4d2r87hp Query : select top 1 1 valor from td where td.ndoc = 39
20241114@185737.2902 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.2905 15puno1914fumcj4ek4d2r87hp 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')
20241114@185737.2935 15puno1914fumcj4ek4d2r87hp 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
20241114@185737.2976 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.2980 15puno1914fumcj4ek4d2r87hp Query : select top 1 ~inactivo valor from cl where no = '102382' and estab = 0 order by inactivo desc
20241114@185737.3102 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.3105 15puno1914fumcj4ek4d2r87hp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241114@185737.3136 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.3139 15puno1914fumcj4ek4d2r87hp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241114@185737.3183 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.3187 15puno1914fumcj4ek4d2r87hp Query : select szadrsstamp valor from szadrs where szadrsdesc='ig-electrodomÉsticos, lda-loja euronics'
20241114@185737.3237 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.3240 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from td where ndoc = 39
20241114@185737.3252 15puno1914fumcj4ek4d2r87hp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241114@185737.3265 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.3281 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241114@185737.3299 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.3312 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241114@185737.3339 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.3353 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241114@185737.3380 15puno1914fumcj4ek4d2r87hp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241114@185737.3440 15puno1914fumcj4ek4d2r87hp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241114@185737.3453 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.3467 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241114@185737.3482 15puno1914fumcj4ek4d2r87hp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241114@185737.3659 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.3675 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241114@185737.3706 15puno1914fumcj4ek4d2r87hp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241114@185737.3718 15puno1914fumcj4ek4d2r87hp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241114@185737.3729 15puno1914fumcj4ek4d2r87hp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241114@185737.3740 15puno1914fumcj4ek4d2r87hp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241114@185737.3751 15puno1914fumcj4ek4d2r87hp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241114@185737.3762 15puno1914fumcj4ek4d2r87hp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241114@185737.3773 15puno1914fumcj4ek4d2r87hp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67364534936736482152',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241114@185737.4052 15puno1914fumcj4ek4d2r87hp Query : select top 1 fno valor from wsftdata order by fno desc
20241114@185737.4079 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4095 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241114@185737.4117 15puno1914fumcj4ek4d2r87hp Query : select 'normal' from dummy
20241114@185737.4131 15puno1914fumcj4ek4d2r87hp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67364534936736482152',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1883,102382,0,'2024-11-14',39,'euro',0,0,2024 ,?,?)
20241114@185737.4416 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.4420 15puno1914fumcj4ek4d2r87hp Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241114@185737.4441 15puno1914fumcj4ek4d2r87hp 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.645.00.01'
20241114@185737.4457 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4472 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.4497 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4510 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.4519 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.4529 15puno1914fumcj4ek4d2r87hp Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2400228200a'
20241114@185737.4542 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4556 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.4567 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6736435888673648216e','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.4571 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4586 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.4614 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6736435888673648216e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67364534936736482152' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241114@185737.4870 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4889 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.4916 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4930 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.4939 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.4952 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4965 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.4976 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364144566736482178','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.4981 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.4996 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.5022 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364144566736482178',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364534936736482152' ,0,0 ,2,23.00,20000,?,?,?)
20241114@185737.5279 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.5282 15puno1914fumcj4ek4d2r87hp Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241114@185737.5302 15puno1914fumcj4ek4d2r87hp 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.645.00.01'
20241114@185737.5315 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.5330 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.5355 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.5369 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.5377 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.5389 15puno1914fumcj4ek4d2r87hp Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241114@185737.5409 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.5423 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.5435 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364324686736482184','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.5440 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.5460 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.5487 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67364324686736482184',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67364534936736482152' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241114@185737.5756 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.5772 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.5799 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.5813 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.5821 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.5833 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.5848 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.5860 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6736473391673648218e','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.5864 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.5878 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.5905 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6736473391673648218e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364534936736482152' ,0,0 ,2,23.00,50000,?,?,?)
20241114@185737.6166 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.6169 15puno1914fumcj4ek4d2r87hp Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20241114@185737.6190 15puno1914fumcj4ek4d2r87hp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1643.00.1'
20241114@185737.6329 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.6346 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.6370 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.6383 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.6392 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.6404 15puno1914fumcj4ek4d2r87hp Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20241114@185737.6430 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.6445 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.6457 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6736483962673648219c','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.6461 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.6482 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.6516 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6736483962673648219c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67364534936736482152' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241114@185737.6783 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.6789 15puno1914fumcj4ek4d2r87hp Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241114@185737.6810 15puno1914fumcj4ek4d2r87hp 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.1831.00.2'
20241114@185737.6976 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.6992 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.7054 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.7071 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.7080 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.7135 15puno1914fumcj4ek4d2r87hp Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241114@185737.7151 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.7166 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.7207 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673646577967364821ae','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.7212 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.7227 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.7381 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673646577967364821ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut67364534936736482152' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241114@185737.7815 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.7922 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.8028 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.8150 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.8184 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.8197 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.8213 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.8252 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673646414467364821c8','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.8257 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.8272 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.8312 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673646414467364821c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364534936736482152' ,0,0 ,2,23.00,90000,?,?,?)
20241114@185737.8677 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.8682 15puno1914fumcj4ek4d2r87hp Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241114@185737.8703 15puno1914fumcj4ek4d2r87hp 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.1831.00.2'
20241114@185737.8779 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.8798 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.8822 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.8861 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.8870 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.8881 15puno1914fumcj4ek4d2r87hp Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241114@185737.8894 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.8908 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.8922 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673649750767364821d9','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.8927 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.8942 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.8969 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673649750767364821d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67364534936736482152' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241114@185737.9245 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.9280 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.9309 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.9323 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.9331 15puno1914fumcj4ek4d2r87hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185737.9343 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.9357 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185737.9369 15puno1914fumcj4ek4d2r87hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673641661267364821e4','aut67364534936736482152' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185737.9373 15puno1914fumcj4ek4d2r87hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185737.9388 15puno1914fumcj4ek4d2r87hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185737.9413 15puno1914fumcj4ek4d2r87hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673641661267364821e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67364534936736482152' ,0,0 ,2,23.00,120000,?,?,?)
20241114@185737.9670 15puno1914fumcj4ek4d2r87hp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67364534936736482152','2407602','wait',39,'adm09112754980.682000002')
20241114@185737.9739 15puno1914fumcj4ek4d2r87hp Query : use flama_phc
20241114@185737.9742 15puno1914fumcj4ek4d2r87hp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241114@185737.9771 15puno1914fumcj4ek4d2r87hp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3325';
20241114@185737.9814 15puno1914fumcj4ek4d2r87hp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3325';
20241114@185737.9860 15puno1914fumcj4ek4d2r87hp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3325';
20241114@185737.9887 15puno1914fumcj4ek4d2r87hp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3325';
20241114@185738.3830 sbihorcnl3545obhgbhp5tfhij Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241114@185738.3950 sbihorcnl3545obhgbhp5tfhij Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241114@185738.4550 sbihorcnl3545obhgbhp5tfhij Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3326';
20241114@185738.5130 sbihorcnl3545obhgbhp5tfhij Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3326';
20241114@185738.5670 sbihorcnl3545obhgbhp5tfhij Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3326';
20241114@185738.5950 sbihorcnl3545obhgbhp5tfhij Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3326';
20241114@185738.6460 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.6490 sbihorcnl3545obhgbhp5tfhij Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241114@185738.7080 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.7110 sbihorcnl3545obhgbhp5tfhij Query : select no, estab,szadrsdesc from szadrs where u_coddest=2171
20241114@185738.7930 sbihorcnl3545obhgbhp5tfhij Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8171.00.1'
20241114@185738.9450 sbihorcnl3545obhgbhp5tfhij Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2076 and bo.obrano = 2407605 and bi.ref ='327.8171.00.1' and bi.lordem =1
20241114@185738.1243 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.1247 sbihorcnl3545obhgbhp5tfhij Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241114@185738.1279 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.1282 sbihorcnl3545obhgbhp5tfhij Query : select top 1 1 valor from td where td.ndoc = 39
20241114@185738.1313 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.1316 sbihorcnl3545obhgbhp5tfhij 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')
20241114@185738.1349 sbihorcnl3545obhgbhp5tfhij 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
20241114@185738.1382 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.1385 sbihorcnl3545obhgbhp5tfhij Query : select top 1 ~inactivo valor from cl where no = '101404' and estab = 0 order by inactivo desc
20241114@185738.1514 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.1517 sbihorcnl3545obhgbhp5tfhij Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241114@185738.1547 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.1549 sbihorcnl3545obhgbhp5tfhij Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241114@185738.1588 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.1591 sbihorcnl3545obhgbhp5tfhij Query : select szadrsstamp valor from szadrs where szadrsdesc='armenio madeira inÁcio'
20241114@185738.1634 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.1637 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from td where ndoc = 39
20241114@185738.1650 sbihorcnl3545obhgbhp5tfhij Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241114@185738.1663 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.1678 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241114@185738.1697 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.1710 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241114@185738.1738 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.1756 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241114@185738.1768 sbihorcnl3545obhgbhp5tfhij Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241114@185738.1844 sbihorcnl3545obhgbhp5tfhij Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241114@185738.1856 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.1871 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241114@185738.1886 sbihorcnl3545obhgbhp5tfhij Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6736493195673648222b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241114@185738.2068 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.2086 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241114@185738.2120 sbihorcnl3545obhgbhp5tfhij Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241114@185738.2132 sbihorcnl3545obhgbhp5tfhij Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241114@185738.2144 sbihorcnl3545obhgbhp5tfhij Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241114@185738.2155 sbihorcnl3545obhgbhp5tfhij Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241114@185738.2166 sbihorcnl3545obhgbhp5tfhij Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241114@185738.2177 sbihorcnl3545obhgbhp5tfhij Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241114@185738.2195 sbihorcnl3545obhgbhp5tfhij Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6736493195673648222b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241114@185738.2443 sbihorcnl3545obhgbhp5tfhij Query : select top 1 fno valor from wsftdata order by fno desc
20241114@185738.2470 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.2485 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241114@185738.2509 sbihorcnl3545obhgbhp5tfhij Query : select 'normal' from dummy
20241114@185738.2523 sbihorcnl3545obhgbhp5tfhij Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6736493195673648222b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1884,101404,0,'2024-11-14',39,'euro',0,0,2024 ,?,?)
20241114@185738.2849 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.2852 sbihorcnl3545obhgbhp5tfhij Query : select st.usalote valor from st where st.ref = '327.8171.00.1'
20241114@185738.2874 sbihorcnl3545obhgbhp5tfhij Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8171.00.1'
20241114@185738.3018 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.3033 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185738.3058 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.3072 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185738.3080 sbihorcnl3545obhgbhp5tfhij Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185738.3094 sbihorcnl3545obhgbhp5tfhij Query : select sestamp valor from se where ref ='327.8171.00.1' and lote = 'r2301073200a'
20241114@185738.3107 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.3123 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185738.3135 sbihorcnl3545obhgbhp5tfhij Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6736443002673648224b','aut6736493195673648222b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185738.3139 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.3154 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185738.3183 sbihorcnl3545obhgbhp5tfhij Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6736443002673648224b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6736493195673648222b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241114@185738.3449 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.3465 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185738.3492 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.3507 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185738.3519 sbihorcnl3545obhgbhp5tfhij Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185738.3531 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.3549 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241114@185738.3562 sbihorcnl3545obhgbhp5tfhij Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364297936736482256','aut6736493195673648222b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241114@185738.3567 sbihorcnl3545obhgbhp5tfhij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185738.3581 sbihorcnl3545obhgbhp5tfhij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241114@185738.3613 sbihorcnl3545obhgbhp5tfhij Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67364297936736482256',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6736493195673648222b' ,0,0 ,2,23.00,20000,?,?,?)
20241114@185738.3871 sbihorcnl3545obhgbhp5tfhij Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6736493195673648222b','2407605','wait',39,'adm09112754980.682000002')
20241114@185738.4477 sbihorcnl3545obhgbhp5tfhij Query : use flama_phc
20241114@185738.4480 sbihorcnl3545obhgbhp5tfhij Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241114@185738.5282 sbihorcnl3545obhgbhp5tfhij Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3326';
20241114@185738.5321 sbihorcnl3545obhgbhp5tfhij Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3326';
20241114@185738.5366 sbihorcnl3545obhgbhp5tfhij Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3326';
20241114@185738.5393 sbihorcnl3545obhgbhp5tfhij Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3326';
20241114@185738.5914 5n61enrd4ntgmu11nuu3pimedn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241114@185738.5925 5n61enrd4ntgmu11nuu3pimedn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241114@185738.5988 5n61enrd4ntgmu11nuu3pimedn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3327';
20241114@185738.6118 5n61enrd4ntgmu11nuu3pimedn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3327';
20241114@185738.6179 5n61enrd4ntgmu11nuu3pimedn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3327';
20241114@185738.6226 5n61enrd4ntgmu11nuu3pimedn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3327';
20241114@185738.7956 c0qkehingjp2v9a1gguc6ejer1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241114@185738.7967 c0qkehingjp2v9a1gguc6ejer1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241114@185738.8029 c0qkehingjp2v9a1gguc6ejer1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3328';
20241114@185738.8090 c0qkehingjp2v9a1gguc6ejer1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3328';
20241114@185738.8156 c0qkehingjp2v9a1gguc6ejer1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3328';
20241114@185738.8192 c0qkehingjp2v9a1gguc6ejer1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3328';
20241114@185738.8241 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185738.8245 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241114@185738.8312 c0qkehingjp2v9a1gguc6ejer1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=23
20241114@185738.8400 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1578.00.1'
20241114@185738.8514 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000043 and bi.ref ='324.1578.00.1' and bi.lordem =10000
20241114@185738.8834 c0qkehingjp2v9a1gguc6ejer1 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24111432865,894000003 ' 
20241114@185738.9129 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.939.00.01'
20241114@185738.9325 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000043 and bi.ref ='324.939.00.01' and bi.lordem =20000
20241114@185738.9672 c0qkehingjp2v9a1gguc6ejer1 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24111432976,211000004 ' 
20241114@185738.9981 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.658.00.01'
20241114@185739.1060 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000043 and bi.ref ='324.658.00.01' and bi.lordem =25000
20241114@185739.4140 c0qkehingjp2v9a1gguc6ejer1 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24111433142,078000008 ' 
20241114@185739.6990 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8253.00.1'
20241114@185739.8130 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000043 and bi.ref ='327.8253.00.1' and bi.lordem =30000
20241114@185739.1119 c0qkehingjp2v9a1gguc6ejer1 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24111433000,298000005 ' 
20241114@185739.1403 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8152.00.1'
20241114@185739.1525 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000043 and bi.ref ='327.8152.00.1' and bi.lordem =40000
20241114@185739.1835 c0qkehingjp2v9a1gguc6ejer1 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24111433041,745000006 ' 
20241114@185739.2116 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9106.00.1'
20241114@185739.2225 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000043 and bi.ref ='328.9106.00.1' and bi.lordem =50000
20241114@185739.2538 c0qkehingjp2v9a1gguc6ejer1 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24111433077,912000007 ' 
20241114@185739.2853 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.2856 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 1 valor from ts where ts.ndos = 5
20241114@185739.2959 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.2962 c0qkehingjp2v9a1gguc6ejer1 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')
20241114@185739.2989 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20241114@185739.3139 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.3143 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 ~inactivo valor from fl where no = '100999' and estab = 0 order by inactivo desc
20241114@185739.3258 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.3262 c0qkehingjp2v9a1gguc6ejer1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241114@185739.3314 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.3317 c0qkehingjp2v9a1gguc6ejer1 Query : select szadrsstamp valor from szadrs where szadrsdesc='flama-fab.louÇas e electrodomesticos,sa'
20241114@185739.3373 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.3376 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from ts where ndos = 5
20241114@185739.3449 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.3465 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20241114@185739.3479 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.3493 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20241114@185739.3502 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.3516 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20241114@185739.3525 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20241114@185739.3658 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20241114@185739.3824 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20241114@185739.4781 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.4787 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100999' and estab=0
20241114@185739.4877 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.4903 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20241114@185739.4917 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67364525586736482374',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241114@185739.5239 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.5399 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20241114@185739.5414 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut67364525586736482374','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20241114','19:27',?,?)
20241114@185739.6191 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.6212 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20241114@185739.6230 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbodata (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut67364525586736482374','trf entre armazéns a','2024-11-14',5,557,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20241114@185739.6927 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.6933 c0qkehingjp2v9a1gguc6ejer1 Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241114@185739.6949 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.6952 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '324.1578.00.1'
20241114@185739.7075 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.7078 c0qkehingjp2v9a1gguc6ejer1 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1578.00.1' and sa.armazem = 133 
20241114@185739.7171 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.7174 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '324.1578.00.1'
20241114@185739.7213 c0qkehingjp2v9a1gguc6ejer1 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.1578.00.1'
20241114@185739.7411 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.7432 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185739.7447 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.7464 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185739.7474 c0qkehingjp2v9a1gguc6ejer1 Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241114@185739.7497 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185739.7509 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.7524 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185739.7538 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut673646911567364823b7','aut67364525586736482374',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185739.8514 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.8611 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185739.8648 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut673646911567364823b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,149.99,149.99*200.48,149.99,149.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,149.99*4.000,149.99*4.000*200.48 ,51.717000,51.717000*200.48 ,51.717000,51.717000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,149.99,149.99*200.48,149.99*4.000,149.99*4.000*200.48,'pll24111432865,894000003 ',149.99,149.99*4.000,149.99,149.99*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185739.9660 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.9665 c0qkehingjp2v9a1gguc6ejer1 Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20241114@185739.9680 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.9683 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '324.939.00.01'
20241114@185739.9700 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.9703 c0qkehingjp2v9a1gguc6ejer1 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.939.00.01' and sa.armazem = 133 
20241114@185739.9771 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185739.9773 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '324.939.00.01'
20241114@185739.9792 c0qkehingjp2v9a1gguc6ejer1 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.939.00.01'
20241114@185739.9932 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.9949 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185739.9961 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185739.9975 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185739.9983 c0qkehingjp2v9a1gguc6ejer1 Query : select sestamp valor from se where ref ='324.939.00.01' and lote = 'r2301371200a'
20241114@185739.9998 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185740.1000 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.2400 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.3500 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67364159416736482400','aut67364525586736482374',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.1860 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.2050 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.2200 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67364159416736482400',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,34.99,34.99*200.48,34.99,34.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,34.99*12.000,34.99*12.000*200.48 ,8.145000,8.145000*200.48 ,8.145000,8.145000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,34.99,34.99*200.48,34.99*12.000,34.99*12.000*200.48,'pll24111432976,211000004 ',34.99,34.99*12.000,34.99,34.99*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.5080 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.5120 c0qkehingjp2v9a1gguc6ejer1 Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241114@185740.5260 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.5280 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '324.658.00.01'
20241114@185740.5450 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.5480 c0qkehingjp2v9a1gguc6ejer1 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.658.00.01' and sa.armazem = 133 
20241114@185740.1580 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.1584 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '324.658.00.01'
20241114@185740.1607 c0qkehingjp2v9a1gguc6ejer1 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.658.00.01'
20241114@185740.1640 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.1681 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.1694 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.1709 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.1717 c0qkehingjp2v9a1gguc6ejer1 Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2300819200a'
20241114@185740.1729 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185740.1742 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.1756 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.1768 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6736467521673648242a','aut67364525586736482374',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.1920 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.1937 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.1955 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6736467521673648242a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,79.99,79.99*200.48,79.99,79.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,79.99*4.000,79.99*4.000*200.48 ,19.303000,19.303000*200.48 ,19.303000,19.303000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,79.99,79.99*200.48,79.99*4.000,79.99*4.000*200.48,'pll24111433142,078000008 ',79.99,79.99*4.000,79.99,79.99*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.2256 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.2260 c0qkehingjp2v9a1gguc6ejer1 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241114@185740.2276 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.2278 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '327.8253.00.1'
20241114@185740.2295 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.2298 c0qkehingjp2v9a1gguc6ejer1 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '327.8253.00.1' and sa.armazem = 133 
20241114@185740.2373 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.2376 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '327.8253.00.1'
20241114@185740.2395 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241114@185740.2533 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.2550 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.2562 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.2578 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.2586 c0qkehingjp2v9a1gguc6ejer1 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241114@185740.2600 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185740.2613 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.2627 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.2640 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6736472435673648243f','aut67364525586736482374',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.2785 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.2801 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.2816 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6736472435673648243f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1.000, 1.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,389.99,389.99*200.48,389.99,389.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,389.99*1.000,389.99*1.000*200.48 ,122.218000,122.218000*200.48 ,122.218000,122.218000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,389.99,389.99*200.48,389.99*1.000,389.99*1.000*200.48,'pll24111433000,298000005 ',389.99,389.99*1.000,389.99,389.99*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.3122 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.3128 c0qkehingjp2v9a1gguc6ejer1 Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20241114@185740.3144 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.3147 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '327.8152.00.1'
20241114@185740.3163 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.3166 c0qkehingjp2v9a1gguc6ejer1 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '327.8152.00.1' and sa.armazem = 133 
20241114@185740.3234 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.3237 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '327.8152.00.1'
20241114@185740.3255 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8152.00.1'
20241114@185740.3277 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.3294 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.3307 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.3321 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.3330 c0qkehingjp2v9a1gguc6ejer1 Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2400077200a'
20241114@185740.3345 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185740.3357 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.3370 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.3382 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67364108106736482451','aut67364525586736482374',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.3530 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.3547 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.3562 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67364108106736482451',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1.000, 1.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,349.99,349.99*200.48,349.99,349.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,349.99*1.000,349.99*1.000*200.48 ,107.642000,107.642000*200.48 ,107.642000,107.642000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,349.99,349.99*200.48,349.99*1.000,349.99*1.000*200.48,'pll24111433041,745000006 ',349.99,349.99*1.000,349.99,349.99*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.3862 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.3867 c0qkehingjp2v9a1gguc6ejer1 Query : select st.usalote valor from st where st.ref = '328.9106.00.1'
20241114@185740.3881 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.3884 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '328.9106.00.1'
20241114@185740.3900 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.3902 c0qkehingjp2v9a1gguc6ejer1 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '328.9106.00.1' and sa.armazem = 133 
20241114@185740.3967 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.3970 c0qkehingjp2v9a1gguc6ejer1 Query : select st.stns valor from st where st.ref = '328.9106.00.1'
20241114@185740.3987 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9106.00.1'
20241114@185740.4130 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.4348 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.4840 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.5339 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.5425 c0qkehingjp2v9a1gguc6ejer1 Query : select sestamp valor from se where ref ='328.9106.00.1' and lote = 'r2100770200a'
20241114@185740.5447 c0qkehingjp2v9a1gguc6ejer1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241114@185740.5460 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.5476 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241114@185740.5487 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67364138226736482485','aut67364525586736482374',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.5652 c0qkehingjp2v9a1gguc6ejer1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241114@185740.5669 c0qkehingjp2v9a1gguc6ejer1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241114@185740.5684 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67364138226736482485',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2.000, 2.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,369.99,369.99*200.48,369.99,369.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,369.99*2.000,369.99*2.000*200.48 ,104.031000,104.031000*200.48 ,104.031000,104.031000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,369.99,369.99*200.48,369.99*2.000,369.99*2.000*200.48,'pll24111433077,912000007 ',369.99,369.99*2.000,369.99,369.99*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67364525586736482374'
20241114@185740.5994 c0qkehingjp2v9a1gguc6ejer1 Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp,transactionid) values ('aut67364525586736482374','','wait',5,'adm12071144683,938000003','')
20241114@185740.6126 c0qkehingjp2v9a1gguc6ejer1 Query : use flama_phc
20241114@185740.6130 c0qkehingjp2v9a1gguc6ejer1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241114@185740.6191 c0qkehingjp2v9a1gguc6ejer1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3328';
20241114@185740.6230 c0qkehingjp2v9a1gguc6ejer1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3328';

20241115@083559.8653 jr32akbr5dih7qqcvohtt2hhhk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3329';
20241115@083559.8766 jr32akbr5dih7qqcvohtt2hhhk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3329';
20241115@083559.8797 jr32akbr5dih7qqcvohtt2hhhk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3329';
20241115@083559.9729 ifncmggg78bhrhf2l1c5cidqq8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241115@083559.9740 ifncmggg78bhrhf2l1c5cidqq8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241115@083559.9804 ifncmggg78bhrhf2l1c5cidqq8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3330';
20241115@083559.9870 ifncmggg78bhrhf2l1c5cidqq8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3330';
20241115@083559.9930 ifncmggg78bhrhf2l1c5cidqq8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3330';
20241115@083559.9999 ifncmggg78bhrhf2l1c5cidqq8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3330';
20241115@083600.4600 ifncmggg78bhrhf2l1c5cidqq8 Query : use flama_phc
20241115@083600.4900 ifncmggg78bhrhf2l1c5cidqq8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241115@083600.1430 ifncmggg78bhrhf2l1c5cidqq8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=00000001
20241115@083600.2220 ifncmggg78bhrhf2l1c5cidqq8 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5540.00.1'
20241115@083600.5360 ifncmggg78bhrhf2l1c5cidqq8 Query : use flama_phc
20241115@083600.5390 ifncmggg78bhrhf2l1c5cidqq8 Query : select top 1 1 valor from ts where ts.ndos = 5
20241115@083600.6330 ifncmggg78bhrhf2l1c5cidqq8 Query : use flama_phc
20241115@083600.6360 ifncmggg78bhrhf2l1c5cidqq8 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')
20241115@083600.7160 ifncmggg78bhrhf2l1c5cidqq8 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20241115@083600.8700 ifncmggg78bhrhf2l1c5cidqq8 Query : use flama_phc
20241115@083600.8730 ifncmggg78bhrhf2l1c5cidqq8 Query : select top 1 ~inactivo valor from fl where no = '102245' and estab = 0 order by inactivo desc
20241115@083600.9900 ifncmggg78bhrhf2l1c5cidqq8 Query : use flama_phc
20241115@083600.9930 ifncmggg78bhrhf2l1c5cidqq8 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20241115@083600.1072 ifncmggg78bhrhf2l1c5cidqq8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3330';
20241115@083600.1106 ifncmggg78bhrhf2l1c5cidqq8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3330';

20241115@134040.2788 pt3rtdnahgkmte69h61v250th5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3331';
20241115@134040.2858 pt3rtdnahgkmte69h61v250th5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3331';
20241115@134040.2888 pt3rtdnahgkmte69h61v250th5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3331';
20241115@134040.2930 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134040.2933 pt3rtdnahgkmte69h61v250th5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241115@134040.3038 pt3rtdnahgkmte69h61v250th5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.657.00.01'
20241115@134040.3171 pt3rtdnahgkmte69h61v250th5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400226 and bi.ref ='324.657.00.01' and bi.lordem =20000
20241115@134040.3764 pt3rtdnahgkmte69h61v250th5 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022845338,859000002 ' 
20241115@134040.4113 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134040.4116 pt3rtdnahgkmte69h61v250th5 Query : select top 1 1 valor from ts where ts.ndos = 61
20241115@134040.4231 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134040.4234 pt3rtdnahgkmte69h61v250th5 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')
20241115@134040.4317 pt3rtdnahgkmte69h61v250th5 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20241115@134040.4512 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134040.4516 pt3rtdnahgkmte69h61v250th5 Query : select top 1 ~inactivo valor from fl where no = '202090' and estab = 00 order by inactivo desc
20241115@134040.4658 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134040.4661 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from ts where ndos = 61
20241115@134040.4790 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134040.5120 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20241115@134040.5186 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134040.5201 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20241115@134040.5211 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134040.5225 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20241115@134040.5235 pt3rtdnahgkmte69h61v250th5 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20241115@134040.5389 pt3rtdnahgkmte69h61v250th5 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241115@134040.5501 pt3rtdnahgkmte69h61v250th5 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241115@134040.5520 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134040.5527 pt3rtdnahgkmte69h61v250th5 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202090' and estab=00
20241115@134040.5622 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134040.5639 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20241115@134040.5676 pt3rtdnahgkmte69h61v250th5 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673741899367374f5886',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241115@134040.5758 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134040.5774 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20241115@134040.5787 pt3rtdnahgkmte69h61v250th5 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673741899367374f5886','--','bo',7.7996277915632754342 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241115@134040.6001 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134040.6020 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20241115@134040.6033 pt3rtdnahgkmte69h61v250th5 Query : insert into bo (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673741899367374f5886','guia r. fornecedor','2024-11-15',61,2403508,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241115@134043.6786 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134043.6801 pt3rtdnahgkmte69h61v250th5 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241115@134043.7005 pt3rtdnahgkmte69h61v250th5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241115@134043.7337 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134043.7358 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241115@134043.7396 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134043.7414 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241115@134043.7430 pt3rtdnahgkmte69h61v250th5 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241115@134043.7531 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134043.7549 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20241115@134043.7655 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134043.7677 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20241115@134043.7791 pt3rtdnahgkmte69h61v250th5 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673749415767374f5bba',?,?,'20241115',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20241115@134043.8967 pt3rtdnahgkmte69h61v250th5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@134043.9027 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134043.9045 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241115@134043.9059 pt3rtdnahgkmte69h61v250th5 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut673748119467374f5bdc','aut673741899367374f5886',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut673741899367374f5886'
20241115@134043.9277 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@134043.9315 pt3rtdnahgkmte69h61v250th5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241115@134043.9407 pt3rtdnahgkmte69h61v250th5 Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut673748119467374f5bdc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1428, 1428*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,16.12,16.12*200.48,16.12,16.12*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,16.12*1428,16.12*1428*200.48 ,20.789000,20.789000*200.48 ,20.789000,20.789000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,16.12,16.12*200.48,16.12*1428,16.12*1428*200.48,'cps24022845338,859000002 ',125.73,125.73*1428,125.73,125.73*1428,?,?,?,4 from bo bo where bo.bostamp = 'aut673741899367374f5886'
20241115@134057.8961 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134057.8967 pt3rtdnahgkmte69h61v250th5 Query : declare @bostamp varchar(25) = 'aut673741899367374f5886' ,@bistamp varchar(25) = '' update bi set tecoval = qtt * ecoval ,etecoval = qtt * eecoval ,tecoval2 = qtt * ecoval2 ,etecoval2 = qtt * eecoval2 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end -- se tiver classificação e não for normal, não calcula nada update bi set ttdeb = 0 ,ettdeb = 0 ,ttmoeda = 0 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and bi.classifc <> '' and bi.classifc <> 'normal' -- no caso normal com moeda euro if exists ( select 1 from bo cross apply ( select valor moeda from para1 where descricao = 'ge_pteoueuro' ) par where bo.bostamp = @bostamp and bo.moeda = par.moeda ) begin -- sem ecovalores update bi set ettdeb = round(bi.qtt * ((bi.edebito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttdeb = round(bi.qtt * ((bi.debito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 1 -- com ecovalores update bi set ettdeb = round(bi.qtt * ( ( bi.edebito + ( iif(p.st_econotdesc = 1, - bi.eecoval2, bi.eecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.eecoval + bi.eecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttdeb = round(bi.qtt * ( ( bi.debito + ( iif(p.st_econotdesc = 1, - bi.ecoval2, bi.ecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.ecoval + bi.ecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp left join st on bi.ref = st.ref left join taxasiva tiva on bi.tabiva = tiva.codigo cross apply ( select max(valor) st_econotdesc from ( select case when valor = 's' then 1 else 0 end valor from para1 where descricao = 'st_econotdesc' union all select 0 ) a ) p where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 0 --acrescenta os descontos em valor, caso existam: update bi set ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 2) ,ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ttmoeda = 0 from bi where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end else begin update bi set ttmoeda = round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2) ,ettdeb = case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ,edebito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end ,debito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end * 200.482 from bi inner join bo2 on bi.bostamp = bo2.bo2stamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) update bi set ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 0) ,debito = round(bi.debito - (bi.qtt * bi.valdesc), 2) ,edebito = round(bi.edebito - (bi.qtt * bi.evaldesc), 2) where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end 
20241115@134110.6000 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134110.6300 pt3rtdnahgkmte69h61v250th5 Query : select 1 valor from bo where bo.bostamp = 'aut673741899367374f5886'
20241115@134110.1790 pt3rtdnahgkmte69h61v250th5 Query : declare @errno int ,@errmsg varchar(255) ,@prod bit ,@nrdec numeric(10, 0) ,@totaldeb numeric(18, 5) ,@etotaldeb numeric(19, 6) ,@total numeric(18, 5) ,@etotal numeric(19, 6) ,@custo numeric(18, 5) ,@ecusto numeric(19, 6) ,@bo_1iliq numeric(19, 6) ,@bo_2iliq numeric(19, 6) ,@base1 numeric(19, 6) ,@base2 numeric(19, 6) ,@moetotal numeric(13, 3) ,@smoe1 numeric(13, 3) ,@smoe2 numeric(13, 3) ,@smoe3 numeric(13, 3) ,@smoe4 numeric(13, 3) ,@bo11_bins numeric(18, 5) ,@bo21_bins numeric(18, 5) ,@bo31_bins numeric(18, 5) ,@bo41_bins numeric(18, 5) ,@bo51_bins numeric(18, 5) ,@bo61_bins numeric(18, 5) ,@bo71_bins numeric(18, 5) ,@bo81_bins numeric(18, 5) ,@bo91_bins numeric(18, 5) ,@bo12_bins numeric(18, 5) ,@bo22_bins numeric(18, 5) ,@bo32_bins numeric(18, 5) ,@bo42_bins numeric(18, 5) ,@bo52_bins numeric(18, 5) ,@bo62_bins numeric(18, 5) ,@bo72_bins numeric(18, 5) ,@bo82_bins numeric(18, 5) ,@bo92_bins numeric(18, 5) ,@ebo11_bins numeric(19, 6) ,@ebo21_bins numeric(19, 6) ,@ebo31_bins numeric(19, 6) ,@ebo41_bins numeric(19, 6) ,@ebo51_bins numeric(19, 6) ,@ebo61_bins numeric(19, 6) ,@ebo71_bins numeric(18, 5) ,@ebo81_bins numeric(18, 5) ,@ebo91_bins numeric(18, 5) ,@ebo12_bins numeric(19, 6) ,@ebo22_bins numeric(19, 6) ,@ebo32_bins numeric(19, 6) ,@ebo42_bins numeric(19, 6) ,@ebo52_bins numeric(19, 6) ,@ebo62_bins numeric(19, 6) ,@ebo72_bins numeric(18, 5) ,@ebo82_bins numeric(18, 5) ,@ebo92_bins numeric(18, 5) ,@bo11_iva numeric(18, 5) ,@bo21_iva numeric(18, 5) ,@bo31_iva numeric(18, 5) ,@bo41_iva numeric(18, 5) ,@bo51_iva numeric(18, 5) ,@bo61_iva numeric(18, 5) ,@bo71_iva numeric(18, 5) ,@bo81_iva numeric(18, 5) ,@bo91_iva numeric(18, 5) ,@bo12_iva numeric(18, 5) ,@bo22_iva numeric(18, 5) ,@bo32_iva numeric(18, 5) ,@bo42_iva numeric(18, 5) ,@bo52_iva numeric(18, 5) ,@bo62_iva numeric(18, 5) ,@bo72_iva numeric(18, 5) ,@bo82_iva numeric(18, 5) ,@bo92_iva numeric(18, 5) ,@ebo11_iva numeric(19, 6) ,@ebo21_iva numeric(19, 6) ,@ebo31_iva numeric(19, 6) ,@ebo41_iva numeric(19, 6) ,@ebo51_iva numeric(19, 6) ,@ebo61_iva numeric(19, 6) ,@ebo71_iva numeric(18, 5) ,@ebo81_iva numeric(18, 5) ,@ebo91_iva numeric(18, 5) ,@ebo12_iva numeric(19, 6) ,@ebo22_iva numeric(19, 6) ,@ebo32_iva numeric(19, 6) ,@ebo42_iva numeric(19, 6) ,@ebo52_iva numeric(19, 6) ,@ebo62_iva numeric(19, 6) ,@ebo72_iva numeric(18, 5) ,@ebo82_iva numeric(18, 5) ,@ebo92_iva numeric(18, 5) ,@esdeb1 numeric(19, 6) ,@esdeb2 numeric(19, 6) ,@esdeb3 numeric(19, 6) ,@esdeb4 numeric(19, 6) ,@sdeb1 numeric(18, 5) ,@sdeb2 numeric(18, 5) ,@sdeb3 numeric(18, 5) ,@sdeb4 numeric(18, 5) ,@estot1 numeric(19, 6) ,@estot2 numeric(19, 6) ,@estot3 numeric(19, 6) ,@estot4 numeric(19, 6) ,@stot1 numeric(18, 5) ,@stot2 numeric(18, 5) ,@stot3 numeric(18, 5) ,@stot4 numeric(18, 5) ,@ebo_1tvall numeric(19, 6) ,@ebo_2tvall numeric(19, 6) ,@bo_1tvall numeric(18, 5) ,@bo_2tvall numeric(18, 5) ,@ebo_totp1 numeric(19, 6) ,@ebo_totp2 numeric(19, 6) ,@bo_totp1 numeric(18, 5) ,@bo_totp2 numeric(18, 5) ,@sqtt11 numeric(13, 3) ,@sqtt21 numeric(13, 3) ,@sqtt12 numeric(13, 3) ,@sqtt22 numeric(13, 3) ,@sqtt13 numeric(13, 3) ,@sqtt23 numeric(13, 3) ,@sqtt14 numeric(13, 3) ,@sqtt24 numeric(13, 3) ,@userinis varchar (30) ,@mybostamp char(25) = 'aut673741899367374f5886' declare @totaisiva table ( bostamp varchar (25), codigo numeric(1), taxa numeric (5,2), ebaseinc numeric (19,6), baseinc numeric (18,5), evalor numeric (19,6), valor numeric (18,5) ) set @prod = ( select ts.producao from bo(nolock) inner join ts(nolock) on bo.ndos = ts.ndos and bo.bostamp = @mybostamp ) set @nrdec = ( select convert(numeric(10, 0), valor) from para1(nolock) where descricao = 'de_euro' ) --set @prod = 0 --set @nrdec = 2 select @ecusto = sum(bi.epcusto * bi.qtt) ,@custo = sum(bi.pcusto * bi.qtt) ,@bo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo_1iliq = round(sum(bi.qtt * bi.epu), @nrdec) ,@bo_2iliq = round(sum(bi.ettdeb), @nrdec) ,@bo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else bi.ettdeb - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@esdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@sdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@smoe1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@total = @stot1 + @stot2 + @stot3 + @stot4 ,@etotal = @estot1 + @estot2 + @estot3 + @estot4 ,@totaldeb = @sdeb1 + @sdeb2 + @sdeb3 + @sdeb4 ,@etotaldeb = @esdeb1 + @esdeb2 + @esdeb3 + @esdeb4 ,@moetotal = @smoe1 + @smoe2 + @smoe3 + @smoe4 ,@ebo_1tvall = @ebo11_bins + @ebo21_bins + @ebo31_bins + @ebo41_bins + @ebo51_bins + @ebo61_bins + @ebo71_bins + @ebo81_bins + @ebo91_bins ,@ebo_2tvall = @ebo12_bins + @ebo22_bins + @ebo32_bins + @ebo42_bins + @ebo52_bins + @ebo62_bins + @ebo72_bins + @ebo82_bins + @ebo92_bins ,@bo_1tvall = @bo11_bins + @bo21_bins + @bo31_bins + @bo41_bins + @bo51_bins + @bo61_bins + @bo71_bins + @bo81_bins + @bo91_bins ,@bo_2tvall = @bo12_bins + @bo22_bins + @bo32_bins + @bo42_bins + @bo52_bins + @bo62_bins + @bo72_bins + @bo82_bins + @bo92_bins ,@ebo_totp1 = sum(case when bi.ivaincl = 0 then (bi.epu * bi.qtt) else round((bi.epu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@ebo_totp2 = sum(case when bi.ivaincl = 0 then (bi.edebito * bi.qtt) else round((bi.edebito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp1 = sum(case when bi.ivaincl = 0 then (bi.pu * bi.qtt) else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp2 = sum(case when bi.ivaincl = 0 then (bi.debito * bi.qtt) else round((bi.debito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@sqtt11 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt21 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt12 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt22 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt13 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt23 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt14 = sum(case when bi.stipo = 4 then bi.qtt else 0 end) ,@sqtt24 = sum(case when bi.stipo = 5 then bi.qtt else 0 end) from bi(nolock) where bi.bostamp = @mybostamp and bi.producao = case when @prod = 1 then 1 else bi.producao end and bi.composto = 0 and bi.qtt <> 0 update bo set bo.totaldeb = isnull(@totaldeb, 0) ,bo.total = isnull(@total, 0) ,bo.etotaldeb = isnull(@etotaldeb, 0) ,bo.moetotal = isnull(@moetotal, 0) ,bo.etotal = isnull(@etotal, 0) ,bo.ecusto = isnull(@ecusto, 0) ,bo.custo = isnull(@custo, 0) ,bo.bo11_bins = isnull(@bo11_bins, 0) ,bo.bo12_bins = isnull(@bo12_bins, 0) ,bo.bo21_bins = isnull(@bo21_bins, 0) ,bo.bo22_bins = isnull(@bo22_bins, 0) ,bo.bo31_bins = isnull(@bo31_bins, 0) ,bo.bo32_bins = isnull(@bo32_bins, 0) ,bo.bo41_bins = isnull(@bo41_bins, 0) ,bo.bo42_bins = isnull(@bo42_bins, 0) ,bo.bo51_bins = isnull(@bo51_bins, 0) ,bo.bo52_bins = isnull(@bo52_bins, 0) ,bo.bo61_bins = isnull(@bo61_bins, 0) ,bo.bo62_bins = isnull(@bo62_bins, 0) ,bo.ebo11_bins = isnull(@ebo11_bins, 0) ,bo.ebo12_bins = isnull(@ebo12_bins, 0) ,bo.ebo21_bins = isnull(@ebo21_bins, 0) ,bo.ebo22_bins = isnull(@ebo22_bins, 0) ,bo.ebo31_bins = isnull(@ebo31_bins, 0) ,bo.ebo32_bins = isnull(@ebo32_bins, 0) ,bo.ebo41_bins = isnull(@ebo41_bins, 0) ,bo.ebo42_bins = isnull(@ebo42_bins, 0) ,bo.ebo51_bins = isnull(@ebo51_bins, 0) ,bo.ebo52_bins = isnull(@ebo52_bins, 0) ,bo.ebo61_bins = isnull(@ebo61_bins, 0) ,bo.ebo62_bins = isnull(@ebo62_bins, 0) ,bo.bo11_iva = isnull(@bo11_iva, 0) ,bo.bo12_iva = isnull(@bo12_iva, 0) ,bo.bo21_iva = isnull(@bo21_iva, 0) ,bo.bo22_iva = isnull(@bo22_iva, 0) ,bo.bo31_iva = isnull(@bo31_iva, 0) ,bo.bo32_iva = isnull(@bo32_iva, 0) ,bo.bo41_iva = isnull(@bo41_iva, 0) ,bo.bo42_iva = isnull(@bo42_iva, 0) ,bo.bo51_iva = isnull(@bo51_iva, 0) ,bo.bo52_iva = isnull(@bo52_iva, 0) ,bo.bo61_iva = isnull(@bo61_iva, 0) ,bo.bo62_iva = isnull(@bo62_iva, 0) ,bo.ebo11_iva = isnull(@ebo11_iva, 0) ,bo.ebo12_iva = isnull(@ebo12_iva, 0) ,bo.ebo21_iva = isnull(@ebo21_iva, 0) ,bo.ebo22_iva = isnull(@ebo22_iva, 0) ,bo.ebo31_iva = isnull(@ebo31_iva, 0) ,bo.ebo32_iva = isnull(@ebo32_iva, 0) ,bo.ebo41_iva = isnull(@ebo41_iva, 0) ,bo.ebo42_iva = isnull(@ebo42_iva, 0) ,bo.ebo51_iva = isnull(@ebo51_iva, 0) ,bo.ebo52_iva = isnull(@ebo52_iva, 0) ,bo.ebo61_iva = isnull(@ebo61_iva, 0) ,bo.ebo62_iva = isnull(@ebo62_iva, 0) ,bo.esdeb1 = isnull(@esdeb1, 0) ,bo.esdeb2 = isnull(@esdeb2, 0) ,bo.esdeb3 = isnull(@esdeb3, 0) ,bo.esdeb4 = isnull(@esdeb4, 0) ,bo.sdeb1 = isnull(@sdeb1, 0) ,bo.sdeb2 = isnull(@sdeb2, 0) ,bo.sdeb3 = isnull(@sdeb3, 0) ,bo.sdeb4 = isnull(@sdeb4, 0) ,bo.smoe1 = isnull(@smoe1, 0) ,bo.smoe2 = isnull(@smoe2, 0) ,bo.smoe3 = isnull(@smoe3, 0) ,bo.smoe4 = isnull(@smoe4, 0) ,bo.estot1 = isnull(@estot1, 0) ,bo.estot2 = isnull(@estot2, 0) ,bo.estot3 = isnull(@estot3, 0) ,bo.estot4 = isnull(@estot4, 0) ,bo.stot1 = isnull(@stot1, 0) ,bo.stot2 = isnull(@stot2, 0) ,bo.stot3 = isnull(@stot3, 0) ,bo.stot4 = isnull(@stot4, 0) ,bo.ebo_1tvall = isnull(@ebo_1tvall, 0) ,bo.ebo_2tvall = isnull(@ebo_2tvall, 0) ,bo.bo_1tvall = isnull(@bo_1tvall, 0) ,bo.bo_2tvall = isnull(@bo_2tvall, 0) ,bo.ebo_totp1 = isnull(@ebo_totp1, 0) ,bo.ebo_totp2 = isnull(@ebo_totp2, 0) ,bo.bo_totp1 = isnull(@bo_totp1, 0) ,bo.bo_totp2 = isnull(@bo_totp2, 0) ,bo.sqtt11 = isnull(@sqtt11, 0) ,bo.sqtt21 = isnull(@sqtt21, 0) ,bo.sqtt12 = isnull(@sqtt12, 0) ,bo.sqtt22 = isnull(@sqtt22, 0) ,bo.sqtt13 = isnull(@sqtt13, 0) ,bo.sqtt23 = isnull(@sqtt23, 0) ,bo.sqtt14 = isnull(@sqtt14, 0) ,bo.sqtt24 = isnull(@sqtt24, 0) where bostamp = @mybostamp update bo2 set bo2.bo71_bins = isnull(@bo71_bins, 0) ,bo2.bo72_bins = isnull(@bo72_bins, 0) ,bo2.bo81_bins = isnull(@bo81_bins, 0) ,bo2.bo82_bins = isnull(@bo82_bins, 0) ,bo2.bo91_bins = isnull(@bo91_bins, 0) ,bo2.bo92_bins = isnull(@bo92_bins, 0) ,bo2.ebo71_bins = isnull(@ebo71_bins, 0) ,bo2.ebo72_bins = isnull(@ebo72_bins, 0) ,bo2.ebo81_bins = isnull(@ebo81_bins, 0) ,bo2.ebo82_bins = isnull(@ebo82_bins, 0) ,bo2.ebo91_bins = isnull(@ebo91_bins, 0) ,bo2.ebo92_bins = isnull(@ebo92_bins, 0) ,bo2.bo71_iva = isnull(@bo71_iva, 0) ,bo2.bo72_iva = isnull(@bo72_iva, 0) ,bo2.bo81_iva = isnull(@bo81_iva, 0) ,bo2.bo82_iva = isnull(@bo82_iva, 0) ,bo2.bo91_iva = isnull(@bo91_iva, 0) ,bo2.bo92_iva = isnull(@bo92_iva, 0) ,bo2.ebo71_iva = isnull(@ebo71_iva, 0) ,bo2.ebo72_iva = isnull(@ebo72_iva, 0) ,bo2.ebo81_iva = isnull(@ebo81_iva, 0) ,bo2.ebo82_iva = isnull(@ebo82_iva, 0) ,bo2.ebo91_iva = isnull(@ebo91_iva, 0) ,bo2.ebo92_iva = isnull(@ebo92_iva, 0) ,bo2.etotalciva = isnull(@etotaldeb, 0) + isnull(@ebo12_iva, 0) +isnull(@ebo22_iva, 0) +isnull(@ebo32_iva, 0) +isnull(@ebo42_iva, 0) +isnull(@ebo52_iva, 0) +isnull(@ebo62_iva, 0) +isnull(@ebo72_iva, 0) +isnull(@ebo82_iva, 0) +isnull(@ebo92_iva, 0) --,bo2.mtotalciva =isnull(@moetotal, 0) where bo2stamp = @mybostamp -- trata os bot select @userinis = usrinis from bo where bo.bostamp=@mybostamp insert into @totaisiva ( bostamp, codigo, taxa, ebaseinc, baseinc, evalor, valor ) select @mybostamp,codigo,taxa ,case when (@ebo11_bins <>0) then @ebo11_bins else @ebo12_bins end ,case when (@ebo11_bins <>0) then @bo11_bins else @bo12_bins end ,case when (@ebo11_bins <>0) then @ebo11_iva else @ebo12_iva end ,case when (@ebo11_bins <>0) then @bo11_iva else @bo12_iva end from taxasiva where codigo = 1 union all select @mybostamp,codigo,taxa ,case when (@ebo21_bins <>0) then @ebo21_bins else @ebo22_bins end ,case when (@ebo21_bins <>0) then @bo21_bins else @bo22_bins end ,case when (@ebo21_bins <>0) then @ebo21_iva else @ebo22_iva end ,case when (@ebo21_bins <>0) then @bo21_iva else @bo22_iva end from taxasiva where codigo = 2 union all select @mybostamp,codigo,taxa ,case when (@ebo31_bins <>0) then @ebo31_bins else @ebo32_bins end ,case when (@ebo31_bins <>0) then @bo31_bins else @bo32_bins end ,case when (@ebo31_bins <>0) then @ebo31_iva else @ebo32_iva end ,case when (@ebo31_bins <>0) then @bo31_iva else @bo32_iva end from taxasiva where codigo = 3 union all select @mybostamp,codigo,taxa ,case when (@ebo41_bins <>0) then @ebo41_bins else @ebo42_bins end ,case when (@ebo41_bins <>0) then @bo41_bins else @bo42_bins end ,case when (@ebo41_bins <>0) then @ebo41_iva else @ebo42_iva end ,case when (@ebo41_bins <>0) then @bo41_iva else @bo42_iva end from taxasiva where codigo = 4 union all select @mybostamp,codigo,taxa ,case when (@ebo51_bins <>0) then @ebo51_bins else @ebo52_bins end ,case when (@ebo51_bins <>0) then @bo51_bins else @bo52_bins end ,case when (@ebo51_bins <>0) then @ebo51_iva else @ebo52_iva end ,case when (@ebo51_bins <>0) then @bo51_iva else @bo52_iva end from taxasiva where codigo = 5 union all select @mybostamp,codigo,taxa ,case when (@ebo61_bins <>0) then @ebo61_bins else @ebo62_bins end ,case when (@ebo61_bins <>0) then @bo61_bins else @bo62_bins end ,case when (@ebo61_bins <>0) then @ebo61_iva else @ebo62_iva end ,case when (@ebo61_bins <>0) then @bo61_iva else @bo62_iva end from taxasiva where codigo = 6 union all select @mybostamp,codigo,taxa ,case when (@ebo71_bins <>0) then @ebo71_bins else @ebo72_bins end ,case when (@ebo71_bins <>0) then @bo71_bins else @bo72_bins end ,case when (@ebo71_bins <>0) then @ebo71_iva else @ebo72_iva end ,case when (@ebo71_bins <>0) then @bo71_iva else @bo72_iva end from taxasiva where codigo = 7 union all select @mybostamp,codigo,taxa ,case when (@ebo81_bins <>0) then @ebo81_bins else @ebo82_bins end ,case when (@ebo81_bins <>0) then @bo81_bins else @bo82_bins end ,case when (@ebo81_bins <>0) then @ebo81_iva else @ebo82_iva end ,case when (@ebo81_bins <>0) then @bo81_iva else @bo82_iva end from taxasiva where codigo = 8 union all select @mybostamp,codigo,taxa ,case when (@ebo91_bins <>0) then @ebo91_bins else @ebo92_bins end ,case when (@ebo91_bins <>0) then @bo91_bins else @bo92_bins end ,case when (@ebo91_bins <>0) then @ebo91_iva else @ebo92_iva end ,case when (@ebo91_bins <>0) then @bo91_iva else @bo92_iva end from taxasiva where codigo = 9 update bot set ebaseinc = totiva.ebaseinc, baseinc = totiva.baseinc, evalor = totiva.evalor, valor = totiva.valor, usrinis = @userinis, usrdata = convert (date,getdate()), usrhora = convert (time,getdate()) from @totaisiva totiva inner join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo insert into bot ( botstamp ,bostamp ,codigo ,taxa ,ebaseinc ,baseinc ,evalor ,valor ,ousrinis ,ousrdata ,ousrhora ,usrinis ,usrdata ,usrhora ) select ( left(@userinis,3) + 'tt' + left(newid(),5) + right(newid(),5) + left(newid(),5) + right(newid(),5)) stamp ,@mybostamp stampbo ,totiva.codigo ,totiva.taxa ,totiva.ebaseinc ,totiva.baseinc ,totiva.evalor ,totiva.valor ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) from @totaisiva totiva left join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo where bot.botstamp is null -- atualiza os campo bi.series e bi.series2, caso tenha equipamentos update bi set series = s1, series2=s2 from bi inner join ( select distinct bistamp,ser.s1, ser.s2 from boma cross apply (select stuff ( ( select ',' + rtrim(serie) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s1 , stuff ( ( select ',' + rtrim(serie2) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s2 ) ser where boma.bostamp = @mybostamp ) myboma on bi.bistamp = myboma.bistamp where bi.bostamp = @mybostamp 
20241115@134112.6319 pt3rtdnahgkmte69h61v250th5 Query : use flama_phc
20241115@134112.6325 pt3rtdnahgkmte69h61v250th5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241115@134112.6379 pt3rtdnahgkmte69h61v250th5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3331';
20241115@134112.6418 pt3rtdnahgkmte69h61v250th5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3331';

20241115@154441.7452 pfrhmcuou3gcf4ggntrpaeq5oi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3332';
20241115@154441.7518 pfrhmcuou3gcf4ggntrpaeq5oi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3332';
20241115@154441.7549 pfrhmcuou3gcf4ggntrpaeq5oi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3332';
20241115@154441.7603 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.7607 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241115@154441.7675 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.7678 pfrhmcuou3gcf4ggntrpaeq5oi Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241115@154441.7767 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241115@154441.7924 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407539 and bi.ref ='324.1329.00.1' and bi.lordem =1
20241115@154441.8308 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241115@154441.8327 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407539 and bi.ref ='324.1329.00.1' and bi.lordem =1
20241115@154441.8343 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241115@154441.8363 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407539 and bi.ref ='324.1329.00.1' and bi.lordem =1
20241115@154441.8378 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241115@154441.8397 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407539 and bi.ref ='324.1329.00.1' and bi.lordem =1
20241115@154441.8413 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.8416 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241115@154441.8604 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.8608 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 1 valor from td where td.ndoc = 39
20241115@154441.8697 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.8700 pfrhmcuou3gcf4ggntrpaeq5oi 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')
20241115@154441.8744 pfrhmcuou3gcf4ggntrpaeq5oi 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
20241115@154441.8875 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.8878 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241115@154441.8998 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.9001 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241115@154441.9093 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.9096 pfrhmcuou3gcf4ggntrpaeq5oi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241115@154441.9174 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.9177 pfrhmcuou3gcf4ggntrpaeq5oi Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241115@154441.9222 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154441.9225 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from td where ndoc = 39
20241115@154441.9295 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241115@154441.9359 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154441.9389 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241115@154441.9438 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154441.9453 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241115@154441.9482 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154441.9496 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241115@154441.9510 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241115@154441.9771 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241115@154441.9882 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154441.9899 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241115@154441.9922 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut673768989267376c69e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241115@154442.2130 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.2730 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241115@154442.3130 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241115@154442.4200 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241115@154442.5210 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241115@154442.6120 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241115@154442.7000 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241115@154442.7810 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241115@154442.8550 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut673768989267376c69e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241115@154442.1387 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 fno valor from wsftdata order by fno desc
20241115@154442.1490 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.1507 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241115@154442.1538 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 'normal' from dummy
20241115@154442.1585 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut673768989267376c69e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1885,102943,0,'2024-11-15',39,'euro',0,0,2024 ,?,?)
20241115@154442.2106 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154442.2109 pfrhmcuou3gcf4ggntrpaeq5oi Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241115@154442.2137 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241115@154442.2285 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.2301 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154442.2327 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.2342 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154442.2352 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154442.2372 pfrhmcuou3gcf4ggntrpaeq5oi Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400495100a'
20241115@154442.2388 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.2404 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154442.2418 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673763101967376c6a3a','aut673768989267376c69e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154442.2474 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.2490 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154442.2520 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673763101967376c6a3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut673768989267376c69e8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241115@154442.2899 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154442.2903 pfrhmcuou3gcf4ggntrpaeq5oi Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241115@154442.2921 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241115@154442.2935 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.2951 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154442.2978 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.2993 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154442.3003 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154442.3015 pfrhmcuou3gcf4ggntrpaeq5oi Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400495100a'
20241115@154442.3028 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3044 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154442.3057 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673766582267376c6a49','aut673768989267376c69e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154442.3061 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3076 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154442.3105 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673766582267376c6a49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut673768989267376c69e8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241115@154442.3380 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154442.3383 pfrhmcuou3gcf4ggntrpaeq5oi Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241115@154442.3403 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241115@154442.3416 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3432 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154442.3458 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3472 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154442.3480 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154442.3491 pfrhmcuou3gcf4ggntrpaeq5oi Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400495100a'
20241115@154442.3504 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3531 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154442.3545 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673769067767376c6a55','aut673768989267376c69e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154442.3549 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3563 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154442.3590 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673769067767376c6a55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut673768989267376c69e8' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241115@154442.3860 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154442.3863 pfrhmcuou3gcf4ggntrpaeq5oi Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241115@154442.3882 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241115@154442.3895 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3911 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154442.3936 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3950 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154442.3959 pfrhmcuou3gcf4ggntrpaeq5oi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154442.3971 pfrhmcuou3gcf4ggntrpaeq5oi Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400495100a'
20241115@154442.3982 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.3998 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154442.4009 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673766893067376c6a61','aut673768989267376c69e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154442.4013 pfrhmcuou3gcf4ggntrpaeq5oi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154442.4027 pfrhmcuou3gcf4ggntrpaeq5oi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154442.4059 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673766893067376c6a61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut673768989267376c69e8' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241115@154442.4324 pfrhmcuou3gcf4ggntrpaeq5oi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut673768989267376c69e8','2407539','wait',39,'adm09112754980.682000002')
20241115@154442.4416 pfrhmcuou3gcf4ggntrpaeq5oi Query : use flama_phc
20241115@154442.4420 pfrhmcuou3gcf4ggntrpaeq5oi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241115@154442.4452 pfrhmcuou3gcf4ggntrpaeq5oi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3332';
20241115@154442.4497 pfrhmcuou3gcf4ggntrpaeq5oi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3332';
20241115@154442.4548 pfrhmcuou3gcf4ggntrpaeq5oi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3332';
20241115@154442.4577 pfrhmcuou3gcf4ggntrpaeq5oi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3332';
20241115@154442.5847 delsi26ggfci05adc35oj1t05s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241115@154442.5859 delsi26ggfci05adc35oj1t05s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241115@154442.5920 delsi26ggfci05adc35oj1t05s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3333';
20241115@154442.5978 delsi26ggfci05adc35oj1t05s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3333';
20241115@154442.6037 delsi26ggfci05adc35oj1t05s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3333';
20241115@154442.6068 delsi26ggfci05adc35oj1t05s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3333';
20241115@154442.6135 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154442.6139 delsi26ggfci05adc35oj1t05s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241115@154442.6201 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154442.6205 delsi26ggfci05adc35oj1t05s Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20241115@154442.6295 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20241115@154442.6459 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241115@154442.6875 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20241115@154442.6896 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241115@154442.6916 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241115@154442.7078 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1837.00.1' and bi.lordem =2
20241115@154442.7395 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241115@154442.7416 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1837.00.1' and bi.lordem =2
20241115@154442.7434 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20241115@154442.7588 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4901.00.1' and bi.lordem =3
20241115@154442.7900 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20241115@154442.7919 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4901.00.1' and bi.lordem =3
20241115@154442.7936 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20241115@154442.8089 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4902.00.1' and bi.lordem =4
20241115@154442.8395 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20241115@154442.8541 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='325.1290.1003' and bi.lordem =5
20241115@154442.8843 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20241115@154442.8990 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1716.00.1' and bi.lordem =6
20241115@154442.9292 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20241115@154442.9441 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1705.00.1' and bi.lordem =7
20241115@154442.9750 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20241115@154442.9898 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1706.00.1' and bi.lordem =8
20241115@154443.1990 delsi26ggfci05adc35oj1t05s 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'
20241115@154443.3500 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1462.00.1' and bi.lordem =9
20241115@154443.6560 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241115@154443.8080 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4980.00.1' and bi.lordem =10
20241115@154443.1127 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20241115@154443.1279 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4990.00.1' and bi.lordem =11
20241115@154443.1586 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20241115@154443.1605 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4990.00.1' and bi.lordem =11
20241115@154443.1622 delsi26ggfci05adc35oj1t05s 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'
20241115@154443.1775 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4960.00.1' and bi.lordem =12
20241115@154443.2139 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241115@154443.2312 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.497.00.01' and bi.lordem =13
20241115@154443.2669 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241115@154443.2688 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.497.00.01' and bi.lordem =13
20241115@154443.2710 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20241115@154443.2889 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4930.00.1' and bi.lordem =14
20241115@154443.3326 delsi26ggfci05adc35oj1t05s 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'
20241115@154443.3503 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4970.00.1' and bi.lordem =15
20241115@154443.3846 delsi26ggfci05adc35oj1t05s 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'
20241115@154443.3869 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4970.00.1' and bi.lordem =15
20241115@154443.3886 delsi26ggfci05adc35oj1t05s 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'
20241115@154443.4064 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='326.595.00.01' and bi.lordem =16
20241115@154443.4397 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241115@154443.4569 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.966.00.01' and bi.lordem =17
20241115@154443.4929 delsi26ggfci05adc35oj1t05s 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'
20241115@154443.5875 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.969.00.01' and bi.lordem =18
20241115@154443.6596 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20241115@154443.6889 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.958.00.01' and bi.lordem =19
20241115@154443.7227 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20241115@154443.7404 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.2066.00.1' and bi.lordem =20
20241115@154443.7750 delsi26ggfci05adc35oj1t05s 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'
20241115@154443.7945 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1684.00.1' and bi.lordem =21
20241115@154443.8309 delsi26ggfci05adc35oj1t05s 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'
20241115@154443.8479 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1608.00.1' and bi.lordem =22
20241115@154443.8806 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20241115@154443.8975 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1407.00.1' and bi.lordem =23
20241115@154443.9307 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1670.3015'
20241115@154443.9477 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='325.1670.3015' and bi.lordem =24
20241115@154443.9800 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241115@154443.9963 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.2907.00.1' and bi.lordem =25
20241115@154444.2800 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241115@154444.4510 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='328.9326.00.1' and bi.lordem =26
20241115@154444.8080 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9345.00.1'
20241115@154444.9790 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='328.9345.00.1' and bi.lordem =27
20241115@154444.1302 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9306.00.1'
20241115@154444.1468 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='328.9306.00.1' and bi.lordem =28
20241115@154444.1783 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9306.00.1'
20241115@154444.1804 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='328.9306.00.1' and bi.lordem =28
20241115@154444.1829 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20241115@154444.2058 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='328.9316.00.1' and bi.lordem =29
20241115@154444.2453 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20241115@154444.2484 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='328.9316.00.1' and bi.lordem =29
20241115@154444.2503 delsi26ggfci05adc35oj1t05s 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'
20241115@154444.2678 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.5342.00.1' and bi.lordem =30
20241115@154444.3194 delsi26ggfci05adc35oj1t05s 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'
20241115@154444.3218 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.5342.00.1' and bi.lordem =30
20241115@154444.3236 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20241115@154444.3420 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.5343.00.1' and bi.lordem =31
20241115@154444.3748 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20241115@154444.3913 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='327.8152.00.1' and bi.lordem =32
20241115@154444.4248 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20241115@154444.4273 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='327.8152.00.1' and bi.lordem =32
20241115@154444.4292 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8171.00.1'
20241115@154444.4471 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='327.8171.00.1' and bi.lordem =33
20241115@154444.5031 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8410.00.1'
20241115@154444.5205 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='327.8410.00.1' and bi.lordem =34
20241115@154444.5526 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8410.00.1'
20241115@154444.5546 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='327.8410.00.1' and bi.lordem =34
20241115@154444.5563 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20241115@154444.5729 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.5500.00.1' and bi.lordem =36
20241115@154444.6054 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20241115@154444.6073 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.5500.00.1' and bi.lordem =36
20241115@154444.6090 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20241115@154444.6267 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4743.00.1' and bi.lordem =37
20241115@154444.6605 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20241115@154444.6777 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4521.00.1' and bi.lordem =38
20241115@154444.7120 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20241115@154444.7317 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='304.422.00.07' and bi.lordem =39
20241115@154444.7664 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20241115@154444.7685 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='304.422.00.07' and bi.lordem =39
20241115@154444.7703 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20241115@154444.7917 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.4840.00.1' and bi.lordem =40
20241115@154444.8259 delsi26ggfci05adc35oj1t05s 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'
20241115@154444.8453 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='304.4320.00.1' and bi.lordem =41
20241115@154444.8796 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241115@154444.8973 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='304.421.00.04' and bi.lordem =42
20241115@154444.9306 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241115@154444.9327 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='304.421.00.04' and bi.lordem =42
20241115@154444.9343 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.734.00.02'
20241115@154444.9530 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.734.00.02' and bi.lordem =43
20241115@154444.9867 delsi26ggfci05adc35oj1t05s 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'
20241115@154445.4600 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.727.00.01' and bi.lordem =44
20241115@154445.4790 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1221.00.1'
20241115@154445.6670 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1221.00.1' and bi.lordem =45
20241115@154445.1010 delsi26ggfci05adc35oj1t05s 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'
20241115@154445.1190 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1884.00.1' and bi.lordem =46
20241115@154445.1531 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241115@154445.1709 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1803.00.1' and bi.lordem =47
20241115@154445.2082 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241115@154445.2103 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1803.00.1' and bi.lordem =47
20241115@154445.2120 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241115@154445.2302 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1833.00.2' and bi.lordem =48
20241115@154445.2647 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20241115@154445.2834 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1831.00.2' and bi.lordem =49
20241115@154445.3296 delsi26ggfci05adc35oj1t05s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20241115@154445.3317 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1831.00.2' and bi.lordem =49
20241115@154445.3333 delsi26ggfci05adc35oj1t05s 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'
20241115@154445.3512 delsi26ggfci05adc35oj1t05s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407540 and bi.ref ='324.1834.00.1' and bi.lordem =50
20241115@154445.3910 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.3914 delsi26ggfci05adc35oj1t05s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241115@154445.3947 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.3950 delsi26ggfci05adc35oj1t05s Query : select top 1 1 valor from td where td.ndoc = 39
20241115@154445.3980 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.3983 delsi26ggfci05adc35oj1t05s 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')
20241115@154445.4013 delsi26ggfci05adc35oj1t05s 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
20241115@154445.4049 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.4052 delsi26ggfci05adc35oj1t05s Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20241115@154445.4196 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.4201 delsi26ggfci05adc35oj1t05s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241115@154445.4243 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.4247 delsi26ggfci05adc35oj1t05s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241115@154445.4291 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.4294 delsi26ggfci05adc35oj1t05s Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20241115@154445.4348 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.4351 delsi26ggfci05adc35oj1t05s Query : select 1 valor from td where ndoc = 39
20241115@154445.4365 delsi26ggfci05adc35oj1t05s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241115@154445.4382 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.4399 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241115@154445.4422 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.4437 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241115@154445.4469 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.4486 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241115@154445.4500 delsi26ggfci05adc35oj1t05s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241115@154445.4563 delsi26ggfci05adc35oj1t05s Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241115@154445.4579 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.4596 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241115@154445.4614 delsi26ggfci05adc35oj1t05s Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut673768102067376c6d6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241115@154445.5018 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.5109 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241115@154445.5144 delsi26ggfci05adc35oj1t05s Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241115@154445.5158 delsi26ggfci05adc35oj1t05s Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241115@154445.5172 delsi26ggfci05adc35oj1t05s Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241115@154445.5185 delsi26ggfci05adc35oj1t05s Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241115@154445.5198 delsi26ggfci05adc35oj1t05s Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241115@154445.5214 delsi26ggfci05adc35oj1t05s Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241115@154445.5228 delsi26ggfci05adc35oj1t05s Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut673768102067376c6d6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241115@154445.5512 delsi26ggfci05adc35oj1t05s Query : select top 1 fno valor from wsftdata order by fno desc
20241115@154445.5541 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.5559 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241115@154445.5582 delsi26ggfci05adc35oj1t05s Query : select 'normal' from dummy
20241115@154445.5599 delsi26ggfci05adc35oj1t05s Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut673768102067376c6d6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1886,100080,0,'2024-11-15',39,'euro',0,0,2024 ,?,?)
20241115@154445.5950 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.5954 delsi26ggfci05adc35oj1t05s Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20241115@154445.5977 delsi26ggfci05adc35oj1t05s 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.1879.00.1'
20241115@154445.6134 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.6151 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.6180 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.6196 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.6206 delsi26ggfci05adc35oj1t05s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154445.6217 delsi26ggfci05adc35oj1t05s Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2400283200a'
20241115@154445.6237 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.6251 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.6262 delsi26ggfci05adc35oj1t05s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767803967376c6d98','aut673768102067376c6d6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154445.6266 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.6280 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.6312 delsi26ggfci05adc35oj1t05s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673767803967376c6d98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut673768102067376c6d6d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241115@154445.6607 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.6626 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.6655 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.6672 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.6680 delsi26ggfci05adc35oj1t05s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154445.6693 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.6708 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.6721 delsi26ggfci05adc35oj1t05s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673765016967376c6da3','aut673768102067376c6d6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154445.6725 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.6741 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.6770 delsi26ggfci05adc35oj1t05s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673765016967376c6da3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673768102067376c6d6d' ,0,0 ,2,23.00,20000,?,?,?)
20241115@154445.7079 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.7083 delsi26ggfci05adc35oj1t05s Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20241115@154445.7104 delsi26ggfci05adc35oj1t05s 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.1879.00.1'
20241115@154445.7119 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.7136 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.7163 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.7179 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.7187 delsi26ggfci05adc35oj1t05s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154445.7200 delsi26ggfci05adc35oj1t05s Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2400283200a'
20241115@154445.7212 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.7227 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.7239 delsi26ggfci05adc35oj1t05s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673762830567376c6db0','aut673768102067376c6d6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154445.7243 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.7259 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.7287 delsi26ggfci05adc35oj1t05s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673762830567376c6db0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut673768102067376c6d6d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241115@154445.7575 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.7592 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.7618 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.7633 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.7641 delsi26ggfci05adc35oj1t05s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154445.7654 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.7669 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.7681 delsi26ggfci05adc35oj1t05s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673762304467376c6dba','aut673768102067376c6d6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154445.7685 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.7701 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.7729 delsi26ggfci05adc35oj1t05s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673762304467376c6dba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673768102067376c6d6d' ,0,0 ,2,23.00,50000,?,?,?)
20241115@154445.8048 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.8053 delsi26ggfci05adc35oj1t05s Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241115@154445.8074 delsi26ggfci05adc35oj1t05s 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.1837.00.1'
20241115@154445.8242 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.8260 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154445.8287 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.8303 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.8312 delsi26ggfci05adc35oj1t05s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154445.8325 delsi26ggfci05adc35oj1t05s Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2400598200a'
20241115@154445.8335 delsi26ggfci05adc35oj1t05s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154445.8350 delsi26ggfci05adc35oj1t05s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154445.8363 delsi26ggfci05adc35oj1t05s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673760791867376c6dcb','aut673768102067376c6d6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154445.8382 delsi26ggfci05adc35oj1t05s Query : use flama_phc
20241115@154445.8385 delsi26ggfci05adc35oj1t05s Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241115@154445.8462 delsi26ggfci05adc35oj1t05s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3333';
20241115@154445.8499 delsi26ggfci05adc35oj1t05s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3333';
20241115@154445.9069 h1fjvf47prg2k6btptf80e4qis Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241115@154445.9080 h1fjvf47prg2k6btptf80e4qis Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241115@154445.9166 h1fjvf47prg2k6btptf80e4qis Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3334';
20241115@154445.9234 h1fjvf47prg2k6btptf80e4qis Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3334';
20241115@154445.9290 h1fjvf47prg2k6btptf80e4qis Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3334';
20241115@154445.9320 h1fjvf47prg2k6btptf80e4qis Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3334';
20241115@154445.9396 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154445.9441 h1fjvf47prg2k6btptf80e4qis Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241115@154445.9543 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154445.9547 h1fjvf47prg2k6btptf80e4qis Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20241115@154445.9611 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154445.9786 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.1590 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.1800 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.1970 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.2160 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.2330 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.2540 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.2710 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.2900 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.3060 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.3260 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.3420 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.3620 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.3780 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.3970 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.4130 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.4320 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.4480 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.4670 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.4830 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.5020 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.5180 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.5370 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.5530 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.5720 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407541 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241115@154446.5880 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.5920 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241115@154446.6230 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.6260 h1fjvf47prg2k6btptf80e4qis Query : select top 1 1 valor from td where td.ndoc = 39
20241115@154446.6560 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.6580 h1fjvf47prg2k6btptf80e4qis 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')
20241115@154446.6880 h1fjvf47prg2k6btptf80e4qis 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
20241115@154446.7220 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.7250 h1fjvf47prg2k6btptf80e4qis Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20241115@154446.7570 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.7600 h1fjvf47prg2k6btptf80e4qis Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241115@154446.7930 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.7960 h1fjvf47prg2k6btptf80e4qis Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241115@154446.8370 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.8400 h1fjvf47prg2k6btptf80e4qis Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20241115@154446.8860 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.8890 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from td where ndoc = 39
20241115@154446.9020 h1fjvf47prg2k6btptf80e4qis Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241115@154446.9190 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9370 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241115@154446.9550 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9690 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241115@154446.1021 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.1035 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241115@154446.1047 h1fjvf47prg2k6btptf80e4qis Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241115@154446.1108 h1fjvf47prg2k6btptf80e4qis Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241115@154446.1120 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.1137 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241115@154446.1154 h1fjvf47prg2k6btptf80e4qis Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241115@154446.1417 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.1435 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241115@154446.1466 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241115@154446.1477 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241115@154446.1488 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241115@154446.1500 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241115@154446.1510 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241115@154446.1521 h1fjvf47prg2k6btptf80e4qis Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241115@154446.1531 h1fjvf47prg2k6btptf80e4qis Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut673762322167376c6e19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241115@154446.1801 h1fjvf47prg2k6btptf80e4qis Query : select top 1 fno valor from wsftdata order by fno desc
20241115@154446.1831 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.1850 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241115@154446.1874 h1fjvf47prg2k6btptf80e4qis Query : select 'normal' from dummy
20241115@154446.1889 h1fjvf47prg2k6btptf80e4qis Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut673762322167376c6e19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1886,100080,0,'2024-11-15',39,'euro',0,0,2024 ,?,?)
20241115@154446.2220 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.2223 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154446.2245 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.2622 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.2639 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.2685 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.2700 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.2709 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.2722 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154446.2741 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.2756 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.2768 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673763074867376c6e42','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.2772 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.2809 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.2857 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673763074867376c6e42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241115@154446.3263 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.3282 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.3307 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.3322 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.3331 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.3343 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.3358 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.3369 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673764709967376c6e51','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.3374 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.3388 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.3419 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673764709967376c6e51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,20000,?,?,?)
20241115@154446.3704 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.3708 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154446.3727 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.3741 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.3758 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.3784 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.3800 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.3808 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.3820 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154446.3833 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.3847 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.3859 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673762982967376c6e5d','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.3863 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.3877 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.3905 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673762982967376c6e5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241115@154446.4214 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.4342 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.4373 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.4401 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.4410 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.4427 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.4445 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.4458 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673762011867376c6e6c','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.4463 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.4518 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.4550 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673762011867376c6e6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,50000,?,?,?)
20241115@154446.4865 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.4868 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154446.4907 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.4921 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.4942 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.4969 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.5006 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.5017 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.5042 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154446.5074 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.5108 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.5122 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767873167376c6e7b','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.5128 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.5158 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.5196 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673767873167376c6e7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241115@154446.5510 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.5560 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.5593 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.5625 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.5635 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.5651 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.5672 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.5686 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673762781767376c6e89','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.5692 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.5709 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.5739 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673762781767376c6e89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,80000,?,?,?)
20241115@154446.6061 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.6066 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154446.6090 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.6109 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.6127 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.6185 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.6202 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.6212 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.6226 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154446.6240 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.6256 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.6270 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673762103867376c6e98','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.6275 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.6310 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.6343 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673762103867376c6e98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241115@154446.6674 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.6692 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.6720 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.6735 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.6744 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.6757 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.6773 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.6786 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673768786167376c6ea4','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.6791 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.6808 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.6837 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673768786167376c6ea4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,110000,?,?,?)
20241115@154446.7168 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.7172 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154446.7192 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.7207 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.7224 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.7252 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.7267 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.7275 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.7287 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154446.7301 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.7316 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.7328 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673763233667376c6eb2','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.7332 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.7347 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.7376 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673763233667376c6eb2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241115@154446.7705 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.7723 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.7751 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.7765 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.7774 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.7787 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.7802 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.7815 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767116967376c6ebe','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.7819 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.7834 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.7863 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673767116967376c6ebe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,140000,?,?,?)
20241115@154446.8159 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.8163 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154446.8187 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.8202 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.8219 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.8248 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.8264 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.8273 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.8286 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154446.8299 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.8314 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.8325 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673769616567376c6eca','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.8330 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.8344 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.8371 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673769616567376c6eca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241115@154446.8706 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.8724 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.8751 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.8766 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.8775 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.8789 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.8804 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.8817 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673769294067376c6ed6','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.8821 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.8836 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.8863 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673769294067376c6ed6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,170000,?,?,?)
20241115@154446.9161 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154446.9164 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154446.9183 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154446.9198 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9215 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.9244 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9258 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.9267 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.9279 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154446.9292 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9307 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.9318 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673760967067376c6ee2','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.9323 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9345 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.9374 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673760967067376c6ee2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241115@154446.9675 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9691 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.9718 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9733 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.9741 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154446.9754 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9798 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154446.9809 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767167367376c6eee','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154446.9814 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154446.9828 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154446.9854 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673767167367376c6eee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,200000,?,?,?)
20241115@154447.1760 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154447.1800 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154447.2040 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154447.2200 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2370 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.1569 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.1588 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.1598 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.1613 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154447.1626 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.1642 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.1655 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673768779367376c6f27','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.1660 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.1675 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.1706 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673768779367376c6f27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241115@154447.2047 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2066 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.2096 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2112 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.2120 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.2133 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2149 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.2161 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673760764467376c6f34','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.2166 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2180 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.2210 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673760764467376c6f34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,230000,?,?,?)
20241115@154447.2497 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154447.2501 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154447.2525 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154447.2539 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2558 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.2583 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2598 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.2607 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.2619 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154447.2631 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2646 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.2657 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673764567967376c6f40','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.2662 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.2676 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.2704 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673764567967376c6f40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241115@154447.3386 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.3407 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.3433 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.3446 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.3455 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.3466 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.3501 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.3513 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673768161067376c6f54','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.3517 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.3532 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.3558 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673768161067376c6f54',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,260000,?,?,?)
20241115@154447.3848 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154447.3853 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154447.3875 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154447.3890 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.3907 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.3935 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.3951 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.3961 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.3974 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154447.3987 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4002 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.4015 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767752167376c6f61','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.4019 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4033 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.4060 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673767752167376c6f61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241115@154447.4342 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4359 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.4383 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4399 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.4407 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.4421 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4435 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.4446 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673765625167376c6f6b','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.4451 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4465 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.4515 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673765625167376c6f6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,290000,?,?,?)
20241115@154447.4801 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154447.4805 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154447.4823 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154447.4837 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4852 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.4876 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4891 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.4900 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.4911 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154447.4923 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4938 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.4949 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673766614367376c6f78','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.4953 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.4967 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.4997 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673766614367376c6f78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241115@154447.5381 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.5398 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.5422 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.5437 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.5445 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.5457 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.5470 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.5481 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673764798767376c6f85','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.5486 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.5500 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.5525 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673764798767376c6f85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,320000,?,?,?)
20241115@154447.5791 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154447.5794 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154447.5815 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154447.5828 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.5845 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.5871 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.5885 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.5893 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.5905 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154447.5917 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.5931 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.5942 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673769267367376c6f90','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.5947 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.5961 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.5988 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673769267367376c6f90',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20241115@154447.6250 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.6267 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.6293 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.6309 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.6317 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.6328 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.6342 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.6353 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767958267376c6f9a','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.6357 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.6371 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.6397 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673767958267376c6f9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,350000,?,?,?)
20241115@154447.6659 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154447.6662 h1fjvf47prg2k6btptf80e4qis Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241115@154447.6681 h1fjvf47prg2k6btptf80e4qis 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'
20241115@154447.6694 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.6710 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.6734 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.6748 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.6756 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.6768 h1fjvf47prg2k6btptf80e4qis Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241115@154447.6779 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.6793 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.6804 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673764553767376c6fa5','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.6809 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.6823 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.6850 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673764553767376c6fa5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20241115@154447.7110 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.7125 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.7152 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.7167 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.7176 h1fjvf47prg2k6btptf80e4qis Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154447.7188 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.7204 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154447.7216 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673766324767376c6faf','aut673762322167376c6e19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154447.7220 h1fjvf47prg2k6btptf80e4qis Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154447.7236 h1fjvf47prg2k6btptf80e4qis Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154447.7265 h1fjvf47prg2k6btptf80e4qis Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673766324767376c6faf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673762322167376c6e19' ,0,0 ,2,23.00,380000,?,?,?)
20241115@154447.7605 h1fjvf47prg2k6btptf80e4qis Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut673762322167376c6e19','2407541','wait',39,'adm09112754980.682000002')
20241115@154447.7676 h1fjvf47prg2k6btptf80e4qis Query : use flama_phc
20241115@154447.7679 h1fjvf47prg2k6btptf80e4qis Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241115@154447.7708 h1fjvf47prg2k6btptf80e4qis Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3334';
20241115@154447.7742 h1fjvf47prg2k6btptf80e4qis Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3334';
20241115@154447.7788 h1fjvf47prg2k6btptf80e4qis Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3334';
20241115@154447.7817 h1fjvf47prg2k6btptf80e4qis Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3334';
20241115@154448.8900 n52tsks0snsg8cas8pm65000qd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241115@154448.1000 n52tsks0snsg8cas8pm65000qd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241115@154448.1670 n52tsks0snsg8cas8pm65000qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3335';
20241115@154448.2330 n52tsks0snsg8cas8pm65000qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3335';
20241115@154448.2900 n52tsks0snsg8cas8pm65000qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3335';
20241115@154448.3180 n52tsks0snsg8cas8pm65000qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3335';
20241115@154448.3720 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.3750 n52tsks0snsg8cas8pm65000qd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241115@154448.4340 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.4370 n52tsks0snsg8cas8pm65000qd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241115@154448.5210 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.6770 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241115@154448.1001 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1020 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241115@154448.1036 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1054 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241115@154448.1072 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1090 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241115@154448.1105 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1123 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1426 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1445 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1461 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1479 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1494 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1511 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1527 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1545 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1561 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1578 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1594 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1612 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1627 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1645 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1662 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1680 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1696 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1714 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1730 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1748 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1764 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1782 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1798 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1816 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1833 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1851 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1868 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1887 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1903 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1925 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1942 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1962 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.1978 n52tsks0snsg8cas8pm65000qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241115@154448.1997 n52tsks0snsg8cas8pm65000qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2075 and bo.obrano = 2407554 and bi.ref ='324.1889.00.1' and bi.lordem =2
20241115@154448.2014 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.2017 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241115@154448.2048 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.2052 n52tsks0snsg8cas8pm65000qd Query : select top 1 1 valor from td where td.ndoc = 39
20241115@154448.2081 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.2084 n52tsks0snsg8cas8pm65000qd 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')
20241115@154448.2113 n52tsks0snsg8cas8pm65000qd 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
20241115@154448.2146 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.2149 n52tsks0snsg8cas8pm65000qd Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241115@154448.2274 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.2276 n52tsks0snsg8cas8pm65000qd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241115@154448.2305 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.2308 n52tsks0snsg8cas8pm65000qd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241115@154448.2348 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.2351 n52tsks0snsg8cas8pm65000qd Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241115@154448.2397 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.2399 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from td where ndoc = 39
20241115@154448.2412 n52tsks0snsg8cas8pm65000qd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241115@154448.2426 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.2442 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241115@154448.2462 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.2478 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241115@154448.2506 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.2521 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241115@154448.2533 n52tsks0snsg8cas8pm65000qd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241115@154448.2594 n52tsks0snsg8cas8pm65000qd Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241115@154448.2607 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.2621 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241115@154448.2637 n52tsks0snsg8cas8pm65000qd Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241115@154448.2815 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.2831 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241115@154448.2863 n52tsks0snsg8cas8pm65000qd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241115@154448.2875 n52tsks0snsg8cas8pm65000qd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241115@154448.2887 n52tsks0snsg8cas8pm65000qd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241115@154448.2899 n52tsks0snsg8cas8pm65000qd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241115@154448.2910 n52tsks0snsg8cas8pm65000qd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241115@154448.2922 n52tsks0snsg8cas8pm65000qd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241115@154448.2933 n52tsks0snsg8cas8pm65000qd Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut673764231667376c703d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241115@154448.3228 n52tsks0snsg8cas8pm65000qd Query : select top 1 fno valor from wsftdata order by fno desc
20241115@154448.3257 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.3275 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241115@154448.3296 n52tsks0snsg8cas8pm65000qd Query : select 'normal' from dummy
20241115@154448.3311 n52tsks0snsg8cas8pm65000qd Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut673764231667376c703d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1887,100810,0,'2024-11-15',39,'euro',0,0,2024 ,?,?)
20241115@154448.3621 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.3624 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154448.3646 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154448.3789 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.3806 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.3830 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.3845 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.3854 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.3866 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241115@154448.3880 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.3894 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.3905 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673760984567376c705e','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.3909 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.3923 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.3951 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673760984567376c705e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241115@154448.4223 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.4239 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.4266 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.4281 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.4289 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.4302 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.4317 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.4328 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673760553067376c7069','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.4333 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.4347 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.4375 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673760553067376c7069',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,20000,?,?,?)
20241115@154448.4638 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.4641 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154448.4684 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154448.4710 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.4730 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.4758 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.4775 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.4784 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.4796 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241115@154448.4809 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.4823 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.4835 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673761073167376c7075','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.4839 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.4853 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.4881 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673761073167376c7075',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241115@154448.5177 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.5193 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.5219 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.5233 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.5241 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.5254 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.5269 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.5280 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673764186667376c7080','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.5284 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.5298 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.5326 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673764186667376c7080',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,50000,?,?,?)
20241115@154448.5591 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.5595 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154448.5615 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154448.5629 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.5644 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.5671 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.5686 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.5694 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.5706 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241115@154448.5719 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.5733 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.5745 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767859567376c708b','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.5749 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.5763 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.5791 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673767859567376c708b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241115@154448.6062 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.6077 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.6101 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.6116 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.6125 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.6137 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.6151 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.6163 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673762955167376c7095','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.6167 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.6182 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.6209 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673762955167376c7095',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,80000,?,?,?)
20241115@154448.6483 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.6486 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154448.6508 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154448.6525 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.6542 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.6575 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.6590 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.6598 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.6610 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241115@154448.6622 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.6636 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.6805 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673768392667376c70a1','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.6849 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.6868 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.6897 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673768392667376c70a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241115@154448.7177 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.7193 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.7220 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.7234 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.7243 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.7257 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.7272 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.7284 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673768564567376c70b1','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.7288 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.7304 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.7332 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673768564567376c70b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,110000,?,?,?)
20241115@154448.7595 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.7598 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154448.7618 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154448.7631 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.7646 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.7670 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.7685 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.7693 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.7704 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241115@154448.7724 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.7737 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.7748 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673765336967376c70bc','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.7753 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.7767 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.7806 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673765336967376c70bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241115@154448.8125 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.8141 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.8167 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.8180 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.8188 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.8200 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.8214 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.8225 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673768150467376c70c8','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.8229 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.8243 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.8270 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673768150467376c70c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,140000,?,?,?)
20241115@154448.8527 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154448.8530 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154448.8548 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154448.8562 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.8577 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.8604 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.8620 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.8629 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.8642 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241115@154448.8656 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.8672 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.8684 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673768901367376c70d3','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.8689 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.8704 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.8734 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673768901367376c70d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241115@154448.9001 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.9018 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.9318 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.9790 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.9801 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154448.9816 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.9832 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154448.9847 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673766325667376c70ef','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154448.9852 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154448.9868 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154448.9897 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673766325667376c70ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,170000,?,?,?)
20241115@154449.2000 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154449.2030 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154449.2230 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154449.2360 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.2510 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.2740 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3050 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.3130 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154449.3240 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241115@154449.3370 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3520 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.3640 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673763609767376c7108','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154449.3880 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.4040 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.4320 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673763609767376c7108',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241115@154449.8010 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.8210 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.8460 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.8610 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.8700 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154449.8830 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.8960 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.9070 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673761391767376c7115','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154449.9120 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.9250 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.9520 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673761391767376c7115',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,200000,?,?,?)
20241115@154449.1225 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154449.1228 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154449.1246 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154449.1261 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.1276 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.1301 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.1318 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.1326 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154449.1337 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241115@154449.1350 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.1363 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.1374 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767666567376c7120','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154449.1378 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.1392 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.1421 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673767666567376c7120',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241115@154449.1712 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.1730 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.1756 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.1771 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.1779 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154449.1791 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.1806 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.1822 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673760835467376c712b','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154449.1827 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.1846 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.1878 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673760835467376c712b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,230000,?,?,?)
20241115@154449.2233 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154449.2237 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154449.2387 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154449.2452 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.2502 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.2597 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.2699 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.2713 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154449.2727 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241115@154449.2740 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.2758 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.2771 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673767430767376c7142','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154449.2776 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.2796 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.2831 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673767430767376c7142',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241115@154449.3143 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3161 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.3188 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3212 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.3220 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154449.3231 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3246 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.3258 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673764762067376c714e','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154449.3263 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3277 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.3322 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673764762067376c714e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,260000,?,?,?)
20241115@154449.3601 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154449.3605 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154449.3646 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154449.3660 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3676 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.3700 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3716 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.3724 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154449.3735 n52tsks0snsg8cas8pm65000qd Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241115@154449.3747 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3761 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.3772 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673768203767376c715b','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154449.3777 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.3790 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.3818 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673768203767376c715b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673764231667376c703d' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241115@154449.4122 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.4138 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.4163 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.4177 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.4184 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241115@154449.4196 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.4210 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.4221 n52tsks0snsg8cas8pm65000qd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673761809567376c7166','aut673764231667376c703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241115@154449.4225 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.4239 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.4265 n52tsks0snsg8cas8pm65000qd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673761809567376c7166',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut673764231667376c703d' ,0,0 ,2,23.00,290000,?,?,?)
20241115@154449.4562 n52tsks0snsg8cas8pm65000qd Query : use flama_phc
20241115@154449.4565 n52tsks0snsg8cas8pm65000qd Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241115@154449.4582 n52tsks0snsg8cas8pm65000qd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241115@154449.4596 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.4611 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241115@154449.4634 n52tsks0snsg8cas8pm65000qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241115@154449.4648 n52tsks0snsg8cas8pm65000qd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241115@154449.4657 n52tsks0snsg8cas8pm65000qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
