20241112@115422.8260 6i81khsffkuo0eo53kgp5ne23t INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241112@115422.8240 6i81khsffkuo0eo53kgp5ne23t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3255';
20241112@115422.8890 6i81khsffkuo0eo53kgp5ne23t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3255';
20241112@115422.9560 6i81khsffkuo0eo53kgp5ne23t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3255';
20241112@115422.9850 6i81khsffkuo0eo53kgp5ne23t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3255';
20241112@115422.1038 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.1041 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@115422.1215 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.1218 6i81khsffkuo0eo53kgp5ne23t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241112@115422.1300 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1443 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1462 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1481 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1500 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1520 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1538 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1557 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1576 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1595 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1614 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1632 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1650 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1669 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1689 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1708 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1727 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1746 6i81khsffkuo0eo53kgp5ne23t 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'
20241112@115422.1765 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.1768 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@115422.1955 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.1957 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 1 valor from td where td.ndoc = 39
20241112@115422.2166 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.2170 6i81khsffkuo0eo53kgp5ne23t 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')
20241112@115422.2241 6i81khsffkuo0eo53kgp5ne23t 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
20241112@115422.2441 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.2444 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241112@115422.2586 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.2589 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@115422.2683 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.2686 6i81khsffkuo0eo53kgp5ne23t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@115422.2776 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.2779 6i81khsffkuo0eo53kgp5ne23t Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241112@115422.2832 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.2835 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from td where ndoc = 39
20241112@115422.3064 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@115422.3140 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.3491 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@115422.3566 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.3581 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@115422.3632 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.3646 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@115422.3659 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@115422.5963 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@115422.6072 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.6087 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@115422.6133 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@115422.6430 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.6446 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@115422.6481 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@115422.6571 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@115422.6649 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@115422.6727 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@115422.6796 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@115422.6867 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@115422.6934 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6733475550673341ee59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@115422.7571 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 fno valor from wsftdata order by fno desc
20241112@115422.7683 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.7699 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@115422.7723 6i81khsffkuo0eo53kgp5ne23t Query : select 'normal' from dummy
20241112@115422.7772 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6733475550673341ee59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1816,100810,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@115422.8533 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115422.8536 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115422.8657 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115422.8810 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.8826 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115422.8852 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.8867 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115422.8877 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115422.8916 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241112@115422.8978 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.8994 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115422.9009 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733489341673341eedb','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115422.9066 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115422.9081 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115422.9111 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733489341673341eedb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,10000,?,?,?,?)
20241112@115422.9980 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2700 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.5300 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.7100 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.8000 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.9200 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1060 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.1270 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733453339673341ef02','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.1310 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1470 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.1740 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733453339673341ef02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,20000,?,?,?)
20241112@115423.4510 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.4540 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.4720 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.4870 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5030 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.5300 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5450 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.5530 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.5660 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.5800 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5940 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.6070 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733470265673341ef0e','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.6110 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.6250 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.6550 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733470265673341ef0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,40000,?,?,?,?)
20241112@115423.9350 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9510 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.9780 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9920 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.1000 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.1013 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1027 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.1038 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733471941673341ef18','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.1042 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1056 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.1081 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733471941673341ef18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,50000,?,?,?)
20241112@115423.1382 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.1385 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.1404 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.1417 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1434 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.1486 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1530 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.1538 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.1551 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.1563 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1578 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.1589 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733472883673341ef26','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.1595 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1614 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.1640 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733472883673341ef26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,70000,?,?,?,?)
20241112@115423.1917 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1932 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.1960 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.1975 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.1983 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.1995 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2009 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.2022 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733436979673341ef30','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.2026 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2040 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.2070 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733436979673341ef30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,80000,?,?,?)
20241112@115423.2350 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.2354 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.2373 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.2388 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2403 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.2446 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2463 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.2474 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.2486 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.2498 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2517 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.2528 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733443762673341ef3c','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.2532 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2547 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.2584 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733443762673341ef3c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,100000,?,?,?,?)
20241112@115423.2866 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2882 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.2909 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2923 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.2933 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.2946 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2961 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.2975 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733449042673341ef47','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.2979 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.2994 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.3024 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733449042673341ef47',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,110000,?,?,?)
20241112@115423.3317 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.3321 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.3340 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.3353 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.3371 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.3417 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.3431 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.3442 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.3453 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.3466 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.3480 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.3491 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733492113673341ef54','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.3496 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.3512 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.3540 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733492113673341ef54',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,130000,?,?,?,?)
20241112@115423.3801 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.3820 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.3850 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.3876 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.3886 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.3900 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.3920 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.3934 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733491830673341ef5f','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.3939 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.3957 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.3987 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733491830673341ef5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,140000,?,?,?)
20241112@115423.4303 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.4306 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.4386 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.4401 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.4418 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.4446 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.4465 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.4473 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.4485 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.4499 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.4559 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.4640 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733437326673341ef6d','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.4645 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.4661 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.4698 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733437326673341ef6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,160000,?,?,?,?)
20241112@115423.4973 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.4989 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.5055 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5073 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.5081 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.5094 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5108 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.5120 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733429746673341ef7c','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.5124 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5138 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.5166 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733429746673341ef7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,170000,?,?,?)
20241112@115423.5447 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.5451 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.5469 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.5482 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5498 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.5521 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5536 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.5544 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.5557 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.5569 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5586 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.5600 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733432384673341ef87','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.5606 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5625 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.5658 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733432384673341ef87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,190000,?,?,?,?)
20241112@115423.5948 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.5965 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.5993 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.6014 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.6023 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.6036 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.6052 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.6064 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733463612673341ef93','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.6069 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.6083 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.6111 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733463612673341ef93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,200000,?,?,?)
20241112@115423.6383 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.6386 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.6411 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.6425 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.6442 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.6469 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.6483 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.6492 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.6507 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.6520 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.6534 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.6787 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733407795673341ef9f','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.7171 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.7191 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.7235 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733407795673341ef9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,220000,?,?,?,?)
20241112@115423.7645 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.8101 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.8127 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.8143 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.8151 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.8163 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.8178 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.8190 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733463869673341efc7','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.8194 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.8208 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.8235 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733463869673341efc7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,230000,?,?,?)
20241112@115423.8566 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.8608 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.8744 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.8758 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.8774 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.8801 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.8816 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.8825 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.8836 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.8849 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.8864 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.8876 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733413354673341efd8','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.8880 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.8895 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.8924 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733413354673341efd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,250000,?,?,?,?)
20241112@115423.9223 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9240 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.9266 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9280 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.9288 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.9301 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9316 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.9329 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733440739673341efe3','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.9335 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9350 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.9380 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733440739673341efe3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,260000,?,?,?)
20241112@115423.9664 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115423.9667 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115423.9685 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115423.9701 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9813 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.9839 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9856 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.9865 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115423.9877 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115423.9891 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9907 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115423.9919 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733417333673341eff1','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115423.9923 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115423.9938 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115423.9967 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733417333673341eff1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,280000,?,?,?,?)
20241112@115424.2460 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.2680 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.2960 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3130 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.3260 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.3380 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3530 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.3640 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733417638673341f008','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.3680 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3820 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.4120 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733417638673341f008',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,290000,?,?,?)
20241112@115424.7090 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115424.7120 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115424.7300 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115424.7430 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.7580 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.7830 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.7980 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.8070 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.8190 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115424.8300 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.8450 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.8570 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733450518673341f014','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.8620 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.8770 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.9060 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733450518673341f014',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,310000,?,?,?,?)
20241112@115424.1185 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.1201 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.1227 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.1242 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.1250 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.1269 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.1284 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.1296 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733438146673341f01e','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.1300 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.1314 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.1343 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733438146673341f01e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,320000,?,?,?)
20241112@115424.1601 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115424.1604 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115424.1624 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115424.1638 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.1654 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.1679 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.1694 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.1702 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.1715 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115424.1727 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.1741 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.1753 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733408989673341f02a','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.1758 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.1772 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.1801 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733408989673341f02a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,340000,?,?,?,?)
20241112@115424.2071 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.2087 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.2116 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.2131 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.2140 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.2176 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.2191 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.2202 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733471256673341f035','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.2207 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.2224 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.2365 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733471256673341f035',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,350000,?,?,?)
20241112@115424.3039 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115424.3043 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115424.3064 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115424.3082 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3099 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.3125 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3139 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.3207 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.3253 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115424.3266 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3290 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.3302 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733427039673341f04f','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.3307 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3322 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.3388 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733427039673341f04f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,370000,?,?,?,?)
20241112@115424.3825 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3842 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.3928 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3943 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.3952 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.3970 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.3985 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.3996 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733488884673341f060','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.4000 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4016 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.4042 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733488884673341f060',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,380000,?,?,?)
20241112@115424.4313 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115424.4316 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115424.4337 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115424.4352 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4369 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.4394 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4409 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.4419 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.4431 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115424.4443 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4460 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.4472 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733419611673341f06c','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.4477 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4492 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.4522 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733419611673341f06c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,400000,?,?,?,?)
20241112@115424.4825 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4842 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.4870 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4885 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.4894 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.4914 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4929 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.4941 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733410091673341f077','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.4946 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.4963 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.5002 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733410091673341f077',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,410000,?,?,?)
20241112@115424.5273 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115424.5277 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115424.5299 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115424.5316 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.5334 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.5362 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.5378 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.5388 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.5402 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115424.5417 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.5434 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.5448 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733428075673341f084','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.5453 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.5476 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.5504 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733428075673341f084',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,430000,?,?,?,?)
20241112@115424.5790 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.5809 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.5837 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.5852 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.5861 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.5874 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.5888 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.5899 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733416973673341f08f','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.5904 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.5919 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.5951 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733416973673341f08f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,440000,?,?,?)
20241112@115424.6229 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115424.6232 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115424.6448 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115424.6939 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.7408 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.7742 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.7775 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.7784 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.7795 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115424.7826 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.7840 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.7851 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733442690673341f0bf','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.7856 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.7888 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.7915 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733442690673341f0bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,460000,?,?,?,?)
20241112@115424.8199 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.8216 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.8243 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.8258 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.8266 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.8279 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.8294 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.8305 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733486701673341f0ca','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.8310 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.8324 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.8351 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733486701673341f0ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,470000,?,?,?)
20241112@115424.8621 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115424.8624 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115424.8642 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115424.8675 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.8692 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.8719 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.8856 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.8958 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115424.8970 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115424.8985 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.9000 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115424.9012 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733409028673341f0db','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115424.9016 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.9033 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115424.9061 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733409028673341f0db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,490000,?,?,?,?)
20241112@115424.9492 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115424.9746 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115425.5900 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.7500 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115425.8400 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115425.9600 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.1200 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115425.1320 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733470855673341f102','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115425.1410 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.1550 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115425.1920 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733470855673341f102',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,500000,?,?,?)
20241112@115425.4950 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115425.4990 6i81khsffkuo0eo53kgp5ne23t Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241112@115425.5200 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@115425.5330 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.5490 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115425.5730 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.5870 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115425.5960 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115425.6080 6i81khsffkuo0eo53kgp5ne23t Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241112@115425.6200 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.6350 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115425.6500 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733411958673341f10f','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115425.6550 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.6700 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115425.6970 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6733411958673341f10f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,520000,?,?,?,?)
20241112@115425.1040 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.1064 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115425.1090 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.1104 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115425.1113 6i81khsffkuo0eo53kgp5ne23t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@115425.1125 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.1139 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@115425.1152 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733451898673341f11b','aut6733475550673341ee59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@115425.1157 6i81khsffkuo0eo53kgp5ne23t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@115425.1170 6i81khsffkuo0eo53kgp5ne23t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@115425.1197 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733451898673341f11b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6733475550673341ee59' ,0,0 ,2,23.00,530000,?,?,?)
20241112@115425.1467 6i81khsffkuo0eo53kgp5ne23t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6733475550673341ee59','2407507','wait',39,'adm09112754980.682000002')
20241112@115425.1607 6i81khsffkuo0eo53kgp5ne23t Query : use flama_phc
20241112@115425.1611 6i81khsffkuo0eo53kgp5ne23t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@115425.1639 6i81khsffkuo0eo53kgp5ne23t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3255';
20241112@115425.1674 6i81khsffkuo0eo53kgp5ne23t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3255';
20241112@115425.1718 6i81khsffkuo0eo53kgp5ne23t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3255';
20241112@115425.1749 6i81khsffkuo0eo53kgp5ne23t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3255';

20241112@154324.8326 nbdjhmtqfe4392ell0iep14gem Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3256';
20241112@154324.8395 nbdjhmtqfe4392ell0iep14gem Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3256';
20241112@154324.8424 nbdjhmtqfe4392ell0iep14gem Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3256';
20241112@154324.8466 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154324.8470 nbdjhmtqfe4392ell0iep14gem Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154324.8569 nbdjhmtqfe4392ell0iep14gem Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.646.00.01'
20241112@154324.8682 nbdjhmtqfe4392ell0iep14gem 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 = 2400228 and bi.ref ='324.646.00.01' and bi.lordem =10000
20241112@154324.9037 nbdjhmtqfe4392ell0iep14gem 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 = 'cps24022845648,155000003 ' 
20241112@154324.9378 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154324.9381 nbdjhmtqfe4392ell0iep14gem Query : select top 1 1 valor from ts where ts.ndos = 61
20241112@154324.9480 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154324.9483 nbdjhmtqfe4392ell0iep14gem 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')
20241112@154324.9552 nbdjhmtqfe4392ell0iep14gem 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
20241112@154324.9707 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154324.9710 nbdjhmtqfe4392ell0iep14gem Query : select top 1 ~inactivo valor from fl where no = '202090' and estab = 00 order by inactivo desc
20241112@154324.9819 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154324.9823 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from ts where ndos = 61
20241112@154324.9899 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154325.2380 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20241112@154325.3050 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154325.3210 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20241112@154325.3300 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154325.3450 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20241112@154325.3540 nbdjhmtqfe4392ell0iep14gem 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
20241112@154325.1007 nbdjhmtqfe4392ell0iep14gem Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241112@154325.1121 nbdjhmtqfe4392ell0iep14gem Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241112@154325.1296 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154325.1302 nbdjhmtqfe4392ell0iep14gem Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202090' and estab=00
20241112@154325.1391 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154325.1407 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20241112@154325.1445 nbdjhmtqfe4392ell0iep14gem Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337083306733779d1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241112@154325.1509 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154325.1524 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20241112@154325.1536 nbdjhmtqfe4392ell0iep14gem Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337083306733779d1f','--','bo',7.8188920454545454545 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241112@154325.1715 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154325.1731 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20241112@154325.1743 nbdjhmtqfe4392ell0iep14gem 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 ('aut67337083306733779d1f','guia r. fornecedor','2024-11-12',61,2403450,?,?,?,?,?,?,?,?,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')
20241112@154328.4652 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154328.4655 nbdjhmtqfe4392ell0iep14gem Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241112@154328.4787 nbdjhmtqfe4392ell0iep14gem Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20241112@154328.5036 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154328.5053 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241112@154328.5068 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154328.5085 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241112@154328.5095 nbdjhmtqfe4392ell0iep14gem Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400228100a'
20241112@154328.5157 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154328.5173 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20241112@154328.5184 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154328.5198 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20241112@154328.5211 nbdjhmtqfe4392ell0iep14gem Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733758119673377a07e',?,?,'20241112',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20241112@154328.5866 nbdjhmtqfe4392ell0iep14gem Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154328.5909 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154328.5926 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241112@154328.5939 nbdjhmtqfe4392ell0iep14gem Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6733778533673377a090','aut67337083306733779d1f',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 = 'aut67337083306733779d1f'
20241112@154328.6128 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154328.6146 nbdjhmtqfe4392ell0iep14gem Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241112@154328.6163 nbdjhmtqfe4392ell0iep14gem 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 'aut6733778533673377a090',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 ,14.08,14.08*200.48,14.08,14.08*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,14.08*1428,14.08*1428*200.48 ,18.963000,18.963000*200.48 ,18.963000,18.963000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,14.08,14.08*200.48,14.08*1428,14.08*1428*200.48,'cps24022845648,155000003 ',110.09,110.09*1428,110.09,110.09*1428,?,?,?,4 from bo bo where bo.bostamp = 'aut67337083306733779d1f'
20241112@154342.5630 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154342.5634 nbdjhmtqfe4392ell0iep14gem Query : declare @bostamp varchar(25) = 'aut67337083306733779d1f' ,@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 
20241112@154352.6605 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154352.6608 nbdjhmtqfe4392ell0iep14gem Query : select 1 valor from bo where bo.bostamp = 'aut67337083306733779d1f'
20241112@154352.6703 nbdjhmtqfe4392ell0iep14gem 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) = 'aut67337083306733779d1f' 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 
20241112@154354.7360 nbdjhmtqfe4392ell0iep14gem Query : use flama_phc
20241112@154354.7363 nbdjhmtqfe4392ell0iep14gem Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154354.7411 nbdjhmtqfe4392ell0iep14gem Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3256';
20241112@154354.7448 nbdjhmtqfe4392ell0iep14gem Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3256';
20241112@154524.1190 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154524.2080 tfo7coaiauhpv72a9aebkhdsh5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154524.7410 tfo7coaiauhpv72a9aebkhdsh5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3257';
20241112@154524.1626 tfo7coaiauhpv72a9aebkhdsh5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3257';
20241112@154524.1993 tfo7coaiauhpv72a9aebkhdsh5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3257';
20241112@154524.2311 tfo7coaiauhpv72a9aebkhdsh5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3257';
20241112@154524.2716 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154524.2760 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154524.3402 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154524.3444 tfo7coaiauhpv72a9aebkhdsh5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20241112@154524.3869 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241112@154524.4407 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407419 and bi.ref ='324.2301.00.3' and bi.lordem =1
20241112@154524.5941 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241112@154524.7566 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407419 and bi.ref ='324.2335.00.1' and bi.lordem =2
20241112@154524.9744 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241112@154525.3806 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407419 and bi.ref ='324.2335.00.1' and bi.lordem =2
20241112@154525.4592 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154525.4620 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154525.6789 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154525.6916 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154525.9021 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154525.9103 tfo7coaiauhpv72a9aebkhdsh5 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')
20241112@154525.9648 tfo7coaiauhpv72a9aebkhdsh5 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
20241112@154526.5760 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154526.6200 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20241112@154526.1244 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154526.1287 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154526.2094 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154526.2139 tfo7coaiauhpv72a9aebkhdsh5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154526.2804 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154526.2849 tfo7coaiauhpv72a9aebkhdsh5 Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20241112@154526.3440 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154526.3486 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from td where ndoc = 39
20241112@154526.3856 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154526.4308 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154526.4577 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154526.5088 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154526.5400 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154526.6659 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154526.7002 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154526.7497 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154526.8065 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154526.8697 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154526.8727 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154526.8926 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut673370995467337816b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154527.2670 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154527.4292 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154527.6841 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154527.7228 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154527.7620 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154527.8026 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154527.8424 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154527.8824 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154527.9347 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut673370995467337816b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154528.3351 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154528.3778 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154528.4042 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154528.4540 tfo7coaiauhpv72a9aebkhdsh5 Query : select 'normal' from dummy
20241112@154528.4946 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut673370995467337816b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1817,102253,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154528.8432 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154528.8514 tfo7coaiauhpv72a9aebkhdsh5 Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241112@154528.9293 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2301.00.3'
20241112@154529.5210 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154529.8460 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154529.1592 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154529.1886 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154529.2097 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154529.2378 tfo7coaiauhpv72a9aebkhdsh5 Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241112@154529.2785 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154529.3234 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154529.3481 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337909396733781944','aut673370995467337816b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154529.3707 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154529.3737 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154529.4400 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337909396733781944',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut673370995467337816b7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154529.7169 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154529.7212 tfo7coaiauhpv72a9aebkhdsh5 Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241112@154529.7571 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241112@154529.8295 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154529.8636 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154529.9447 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154529.9799 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154530.8000 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154530.4210 tfo7coaiauhpv72a9aebkhdsh5 Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241112@154530.8260 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154530.1157 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154530.1405 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337405666733781a14','aut673370995467337816b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154530.1451 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154530.1912 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154530.2568 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337405666733781a14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673370995467337816b7' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241112@154530.3492 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154530.3596 tfo7coaiauhpv72a9aebkhdsh5 Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241112@154530.4206 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241112@154530.4472 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154530.4739 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154530.5345 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154530.5608 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154530.5781 tfo7coaiauhpv72a9aebkhdsh5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154530.6040 tfo7coaiauhpv72a9aebkhdsh5 Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241112@154530.6298 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154530.6682 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154530.6915 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337287486733781a99','aut673370995467337816b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154530.6968 tfo7coaiauhpv72a9aebkhdsh5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154530.7330 tfo7coaiauhpv72a9aebkhdsh5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154530.8301 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337287486733781a99',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut673370995467337816b7' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241112@154530.8895 tfo7coaiauhpv72a9aebkhdsh5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut673370995467337816b7','2407419','wait',39,'adm09112754980.682000002')
20241112@154530.9895 tfo7coaiauhpv72a9aebkhdsh5 Query : use flama_phc
20241112@154530.9939 tfo7coaiauhpv72a9aebkhdsh5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154531.3190 tfo7coaiauhpv72a9aebkhdsh5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3257';
20241112@154531.6330 tfo7coaiauhpv72a9aebkhdsh5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3257';
20241112@154531.9080 tfo7coaiauhpv72a9aebkhdsh5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3257';
20241112@154531.1224 tfo7coaiauhpv72a9aebkhdsh5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3257';
20241112@154531.3026 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154531.3038 bnsqrhpqo9erv2hhruo9k6fuca Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154531.3108 bnsqrhpqo9erv2hhruo9k6fuca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3258';
20241112@154531.3173 bnsqrhpqo9erv2hhruo9k6fuca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3258';
20241112@154531.3234 bnsqrhpqo9erv2hhruo9k6fuca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3258';
20241112@154531.3269 bnsqrhpqo9erv2hhruo9k6fuca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3258';
20241112@154531.3330 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.3334 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154531.3409 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.3412 bnsqrhpqo9erv2hhruo9k6fuca Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20241112@154531.3459 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2318.00.1'
20241112@154531.3617 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407420 and bi.ref ='324.2318.00.1' and bi.lordem =1
20241112@154531.4017 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.4020 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154531.4061 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.4069 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154531.4113 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.4116 bnsqrhpqo9erv2hhruo9k6fuca 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')
20241112@154531.4146 bnsqrhpqo9erv2hhruo9k6fuca 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
20241112@154531.4187 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.4190 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20241112@154531.4235 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.4238 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154531.4275 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.4278 bnsqrhpqo9erv2hhruo9k6fuca Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154531.4327 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.4330 bnsqrhpqo9erv2hhruo9k6fuca Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20241112@154531.4394 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.4397 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from td where ndoc = 39
20241112@154531.4409 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154531.4424 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.4439 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154531.4457 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.4471 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154531.4501 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.4516 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154531.4528 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154531.4587 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154531.4599 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.4615 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154531.4637 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67337177246733781b6e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154531.4839 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.4856 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154531.4889 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154531.4900 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154531.4911 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154531.4923 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154531.4935 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154531.4946 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154531.4959 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67337177246733781b6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154531.5217 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154531.5243 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.5258 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154531.5279 bnsqrhpqo9erv2hhruo9k6fuca Query : select 'normal' from dummy
20241112@154531.5293 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67337177246733781b6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1818,102253,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154531.6082 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.6164 bnsqrhpqo9erv2hhruo9k6fuca Query : select st.usalote valor from st where st.ref = '324.2318.00.1'
20241112@154531.6568 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2318.00.1'
20241112@154531.7047 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.7062 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154531.7333 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.7354 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154531.7363 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154531.7385 bnsqrhpqo9erv2hhruo9k6fuca Query : select sestamp valor from se where ref ='324.2318.00.1' and lote = 'r2100669100a'
20241112@154531.7406 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.7424 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154531.7444 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337428196733781bb4','aut67337177246733781b6e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154531.7448 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.7467 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154531.7537 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337428196733781bb4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut67337177246733781b6e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154531.7853 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.7868 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154531.7893 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.7907 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154531.7920 bnsqrhpqo9erv2hhruo9k6fuca Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154531.7943 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.7957 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154531.7969 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337290676733781bc1','aut67337177246733781b6e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154531.7977 bnsqrhpqo9erv2hhruo9k6fuca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154531.7993 bnsqrhpqo9erv2hhruo9k6fuca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154531.8046 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337290676733781bc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337177246733781b6e' ,0,0 ,2,23.00,20000,?,?,?)
20241112@154531.8322 bnsqrhpqo9erv2hhruo9k6fuca Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67337177246733781b6e','2407420','wait',39,'adm09112754980.682000002')
20241112@154531.8411 bnsqrhpqo9erv2hhruo9k6fuca Query : use flama_phc
20241112@154531.8414 bnsqrhpqo9erv2hhruo9k6fuca Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154531.8453 bnsqrhpqo9erv2hhruo9k6fuca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3258';
20241112@154531.8506 bnsqrhpqo9erv2hhruo9k6fuca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3258';
20241112@154531.8587 bnsqrhpqo9erv2hhruo9k6fuca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3258';
20241112@154531.8627 bnsqrhpqo9erv2hhruo9k6fuca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3258';
20241112@154532.7360 230n9tdq1u3n153b4vkdqurasi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154532.1013 230n9tdq1u3n153b4vkdqurasi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154532.1094 230n9tdq1u3n153b4vkdqurasi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3259';
20241112@154532.1157 230n9tdq1u3n153b4vkdqurasi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3259';
20241112@154532.1242 230n9tdq1u3n153b4vkdqurasi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3259';
20241112@154532.1277 230n9tdq1u3n153b4vkdqurasi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3259';
20241112@154532.1343 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.1346 230n9tdq1u3n153b4vkdqurasi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154532.1440 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.1443 230n9tdq1u3n153b4vkdqurasi Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20241112@154532.1497 230n9tdq1u3n153b4vkdqurasi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241112@154532.1521 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407421 and bi.ref ='324.2301.00.3' and bi.lordem =1
20241112@154532.1948 230n9tdq1u3n153b4vkdqurasi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241112@154532.1975 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407421 and bi.ref ='324.2335.00.1' and bi.lordem =2
20241112@154532.2339 230n9tdq1u3n153b4vkdqurasi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241112@154532.2387 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407421 and bi.ref ='324.2335.00.1' and bi.lordem =2
20241112@154532.2415 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.2418 230n9tdq1u3n153b4vkdqurasi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154532.2455 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.2459 230n9tdq1u3n153b4vkdqurasi Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154532.2493 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.2497 230n9tdq1u3n153b4vkdqurasi 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')
20241112@154532.2539 230n9tdq1u3n153b4vkdqurasi 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
20241112@154532.2581 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.2585 230n9tdq1u3n153b4vkdqurasi Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20241112@154532.2617 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.2620 230n9tdq1u3n153b4vkdqurasi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154532.2672 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.2680 230n9tdq1u3n153b4vkdqurasi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154532.2725 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.2729 230n9tdq1u3n153b4vkdqurasi Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20241112@154532.2789 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.2792 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from td where ndoc = 39
20241112@154532.2803 230n9tdq1u3n153b4vkdqurasi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154532.2817 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.2833 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154532.2851 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.2867 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154532.2950 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.2964 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154532.2999 230n9tdq1u3n153b4vkdqurasi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154532.3271 230n9tdq1u3n153b4vkdqurasi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154532.3523 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.3747 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154532.4042 230n9tdq1u3n153b4vkdqurasi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67337754306733781c49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154532.4439 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.4687 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154532.4723 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154532.4736 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154532.4748 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154532.4759 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154532.4771 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154532.4784 230n9tdq1u3n153b4vkdqurasi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154532.4795 230n9tdq1u3n153b4vkdqurasi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67337754306733781c49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154532.5075 230n9tdq1u3n153b4vkdqurasi Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154532.5099 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.5115 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154532.5139 230n9tdq1u3n153b4vkdqurasi Query : select 'normal' from dummy
20241112@154532.5154 230n9tdq1u3n153b4vkdqurasi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67337754306733781c49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1819,102253,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154532.5463 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.5466 230n9tdq1u3n153b4vkdqurasi Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241112@154532.5489 230n9tdq1u3n153b4vkdqurasi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2301.00.3'
20241112@154532.5503 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.5520 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154532.5548 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.5565 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154532.5574 230n9tdq1u3n153b4vkdqurasi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154532.5587 230n9tdq1u3n153b4vkdqurasi Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241112@154532.5601 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.5617 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154532.5630 230n9tdq1u3n153b4vkdqurasi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337369056733781c88','aut67337754306733781c49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154532.5635 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.5652 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154532.5683 230n9tdq1u3n153b4vkdqurasi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337369056733781c88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut67337754306733781c49' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154532.6084 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.6087 230n9tdq1u3n153b4vkdqurasi Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241112@154532.6106 230n9tdq1u3n153b4vkdqurasi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241112@154532.6120 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.6149 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154532.6174 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.6191 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154532.6207 230n9tdq1u3n153b4vkdqurasi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154532.6219 230n9tdq1u3n153b4vkdqurasi Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241112@154532.6239 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.6254 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154532.6266 230n9tdq1u3n153b4vkdqurasi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337627626733781c98','aut67337754306733781c49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154532.6276 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.6291 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154532.6321 230n9tdq1u3n153b4vkdqurasi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337627626733781c98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut67337754306733781c49' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241112@154532.6667 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.6670 230n9tdq1u3n153b4vkdqurasi Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241112@154532.6717 230n9tdq1u3n153b4vkdqurasi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241112@154532.6736 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.6751 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154532.6782 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.6820 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154532.6829 230n9tdq1u3n153b4vkdqurasi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154532.6841 230n9tdq1u3n153b4vkdqurasi Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241112@154532.6868 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.6885 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154532.6898 230n9tdq1u3n153b4vkdqurasi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337778426733781ca7','aut67337754306733781c49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154532.6902 230n9tdq1u3n153b4vkdqurasi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154532.6917 230n9tdq1u3n153b4vkdqurasi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154532.6974 230n9tdq1u3n153b4vkdqurasi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337778426733781ca7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67337754306733781c49' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241112@154532.7255 230n9tdq1u3n153b4vkdqurasi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67337754306733781c49','2407421','wait',39,'adm09112754980.682000002')
20241112@154532.7339 230n9tdq1u3n153b4vkdqurasi Query : use flama_phc
20241112@154532.7342 230n9tdq1u3n153b4vkdqurasi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154532.7375 230n9tdq1u3n153b4vkdqurasi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3259';
20241112@154532.7438 230n9tdq1u3n153b4vkdqurasi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3259';
20241112@154532.7499 230n9tdq1u3n153b4vkdqurasi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3259';
20241112@154532.7539 230n9tdq1u3n153b4vkdqurasi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3259';
20241112@154532.8536 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154532.8621 gi85btj4l8ao8p4b6iv3se7pn4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154532.9110 gi85btj4l8ao8p4b6iv3se7pn4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3260';
20241112@154532.9542 gi85btj4l8ao8p4b6iv3se7pn4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3260';
20241112@154532.9904 gi85btj4l8ao8p4b6iv3se7pn4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3260';
20241112@154533.1280 gi85btj4l8ao8p4b6iv3se7pn4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3260';
20241112@154533.4900 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.5340 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154533.1260 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.1302 gi85btj4l8ao8p4b6iv3se7pn4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20241112@154533.1667 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2334.00.1'
20241112@154533.2155 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407422 and bi.ref ='324.2334.00.1' and bi.lordem =1
20241112@154533.2837 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2318.00.1'
20241112@154533.3207 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407422 and bi.ref ='324.2318.00.1' and bi.lordem =2
20241112@154533.4242 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2318.00.1'
20241112@154533.4655 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407422 and bi.ref ='324.2318.00.1' and bi.lordem =2
20241112@154533.4966 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.5015 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154533.5485 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.5531 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154533.5981 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.6031 gi85btj4l8ao8p4b6iv3se7pn4 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')
20241112@154533.6588 gi85btj4l8ao8p4b6iv3se7pn4 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
20241112@154533.7104 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.7151 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20241112@154533.7604 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.7649 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154533.8078 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.8126 gi85btj4l8ao8p4b6iv3se7pn4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154533.8751 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.8798 gi85btj4l8ao8p4b6iv3se7pn4 Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20241112@154533.9395 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154533.9442 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from td where ndoc = 39
20241112@154533.9712 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154534.2600 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154534.3020 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154534.7510 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154534.1021 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154534.1709 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154534.1970 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154534.2230 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154534.2577 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154534.2836 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154534.3096 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154534.3396 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67337338276733781e36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154534.3810 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154534.4072 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154534.4803 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154534.5169 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154534.5384 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154534.5601 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154534.5819 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154534.6035 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154534.6259 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67337338276733781e36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154534.6899 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154534.7170 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154534.7431 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154534.7949 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 'normal' from dummy
20241112@154534.8297 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67337338276733781e36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1820,102253,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154534.9274 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154534.9318 gi85btj4l8ao8p4b6iv3se7pn4 Query : select st.usalote valor from st where st.ref = '324.2334.00.1'
20241112@154534.9709 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2334.00.1'
20241112@154535.3650 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154535.6390 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154535.1261 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154535.1526 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154535.1700 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154535.1961 gi85btj4l8ao8p4b6iv3se7pn4 Query : select sestamp valor from se where ref ='324.2334.00.1' and lote = '1'
20241112@154535.2273 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154535.3605 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154535.3981 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337234976733781f37','aut67337338276733781e36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154535.4050 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154535.4328 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154535.5117 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337234976733781f37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut67337338276733781e36' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154535.6096 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154535.6141 gi85btj4l8ao8p4b6iv3se7pn4 Query : select st.usalote valor from st where st.ref = '324.2318.00.1'
20241112@154535.6197 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2318.00.1'
20241112@154535.6222 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154535.6487 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154535.6969 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154535.6993 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154535.7005 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154535.7230 gi85btj4l8ao8p4b6iv3se7pn4 Query : select sestamp valor from se where ref ='324.2318.00.1' and lote = 'r2100669100a'
20241112@154535.7534 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154535.7795 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154535.8013 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337096096733781fb7','aut67337338276733781e36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154535.8066 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154535.8334 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154535.9107 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337096096733781fb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67337338276733781e36' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241112@154535.9888 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154536.1590 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154536.7870 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154536.1114 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154536.1286 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154536.1552 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154536.1821 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154536.2040 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337055946733782025','aut67337338276733781e36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154536.2126 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154536.2393 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154536.3054 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337055946733782025',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337338276733781e36' ,0,0 ,2,23.00,30000,?,?,?)
20241112@154536.3777 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154536.3820 gi85btj4l8ao8p4b6iv3se7pn4 Query : select st.usalote valor from st where st.ref = '324.2318.00.1'
20241112@154536.4162 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2318.00.1'
20241112@154536.4421 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154536.4682 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154536.5282 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154536.5545 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154536.5720 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154536.6148 gi85btj4l8ao8p4b6iv3se7pn4 Query : select sestamp valor from se where ref ='324.2318.00.1' and lote = 'r2100669100a'
20241112@154536.6823 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154536.7709 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154536.7926 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673370421567337820a6','aut67337338276733781e36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154536.7970 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154536.8244 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154536.8930 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673370421567337820a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut67337338276733781e36' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241112@154536.9774 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154537.1200 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154537.7750 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154537.2980 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154537.3158 gi85btj4l8ao8p4b6iv3se7pn4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154537.3419 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154537.3683 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154537.3905 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337240986733782153','aut67337338276733781e36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154537.3953 gi85btj4l8ao8p4b6iv3se7pn4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154537.4221 gi85btj4l8ao8p4b6iv3se7pn4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154537.4871 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337240986733782153',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337338276733781e36' ,0,0 ,2,23.00,60000,?,?,?)
20241112@154537.5556 gi85btj4l8ao8p4b6iv3se7pn4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67337338276733781e36','2407422','wait',39,'adm09112754980.682000002')
20241112@154537.6243 gi85btj4l8ao8p4b6iv3se7pn4 Query : use flama_phc
20241112@154537.6328 gi85btj4l8ao8p4b6iv3se7pn4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154537.6608 gi85btj4l8ao8p4b6iv3se7pn4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3260';
20241112@154537.6926 gi85btj4l8ao8p4b6iv3se7pn4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3260';
20241112@154537.7205 gi85btj4l8ao8p4b6iv3se7pn4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3260';
20241112@154537.7520 gi85btj4l8ao8p4b6iv3se7pn4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3260';
20241112@154537.8274 1vgik906b346qqlmrg26vsgkq5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154537.8294 1vgik906b346qqlmrg26vsgkq5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154537.8367 1vgik906b346qqlmrg26vsgkq5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3261';
20241112@154537.8441 1vgik906b346qqlmrg26vsgkq5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3261';
20241112@154537.8527 1vgik906b346qqlmrg26vsgkq5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3261';
20241112@154537.8570 1vgik906b346qqlmrg26vsgkq5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3261';
20241112@154537.8650 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154537.8654 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154537.8825 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154537.8829 1vgik906b346qqlmrg26vsgkq5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20241112@154537.8928 1vgik906b346qqlmrg26vsgkq5 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'
20241112@154537.9093 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407450 and bi.ref ='304.422.00.07' and bi.lordem =1
20241112@154537.9432 1vgik906b346qqlmrg26vsgkq5 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'
20241112@154537.9599 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407450 and bi.ref ='304.421.00.04' and bi.lordem =2
20241112@154538.2900 1vgik906b346qqlmrg26vsgkq5 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'
20241112@154538.4260 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407450 and bi.ref ='324.4521.00.1' and bi.lordem =3
20241112@154538.7750 1vgik906b346qqlmrg26vsgkq5 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'
20241112@154538.9520 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407450 and bi.ref ='324.4960.00.1' and bi.lordem =4
20241112@154538.1304 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.1334 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154538.1376 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.1380 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154538.1418 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.1421 1vgik906b346qqlmrg26vsgkq5 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')
20241112@154538.1457 1vgik906b346qqlmrg26vsgkq5 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
20241112@154538.1514 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.1518 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20241112@154538.1675 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.1679 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154538.1717 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.1720 1vgik906b346qqlmrg26vsgkq5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154538.1775 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.1780 1vgik906b346qqlmrg26vsgkq5 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20241112@154538.1861 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.1865 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from td where ndoc = 39
20241112@154538.1885 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154538.1905 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.1923 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154538.1944 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.1960 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154538.1999 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.2017 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154538.2031 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154538.2157 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154538.2175 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.2197 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154538.2213 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67337860136733782231' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154538.2416 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.2436 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154538.2509 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154538.2522 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154538.2536 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154538.2549 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154538.2561 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154538.2575 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154538.2588 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67337860136733782231',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154538.2894 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154538.2926 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.2944 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154538.2971 1vgik906b346qqlmrg26vsgkq5 Query : select 'normal' from dummy
20241112@154538.2989 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67337860136733782231',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1821,101900,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154538.3309 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.3313 1vgik906b346qqlmrg26vsgkq5 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241112@154538.3339 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20241112@154538.3505 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.3525 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.3553 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.3573 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.3583 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154538.3596 1vgik906b346qqlmrg26vsgkq5 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241004'
20241112@154538.3612 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.3628 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.3643 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337270696733782258','aut67337860136733782231' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154538.3647 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.3666 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.3700 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337270696733782258',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67337860136733782231' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154538.3983 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.3987 1vgik906b346qqlmrg26vsgkq5 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241112@154538.4012 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20241112@154538.4167 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.4184 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.4215 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.4231 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.4246 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154538.4264 1vgik906b346qqlmrg26vsgkq5 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241002'
20241112@154538.4282 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.4299 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.4312 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337896186733782268','aut67337860136733782231' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154538.4316 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.4335 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.4365 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337896186733782268',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67337860136733782231' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241112@154538.4672 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.4690 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.4725 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.4744 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.4755 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154538.4771 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.4789 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.4803 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337048056733782274','aut67337860136733782231' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154538.4839 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.4862 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.4894 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337048056733782274',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337860136733782231' ,0,0 ,2,23.00,30000,?,?,?)
20241112@154538.5223 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.5227 1vgik906b346qqlmrg26vsgkq5 Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241112@154538.5253 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@154538.5421 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.5440 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.5474 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.5492 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.5505 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154538.5518 1vgik906b346qqlmrg26vsgkq5 Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241112@154538.5545 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.5562 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.5577 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337470606733782287','aut67337860136733782231' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154538.5583 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.5603 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.5646 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337470606733782287',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67337860136733782231' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241112@154538.5949 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.5954 1vgik906b346qqlmrg26vsgkq5 Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241112@154538.5984 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20241112@154538.6173 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.6193 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.6233 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.6253 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.6264 1vgik906b346qqlmrg26vsgkq5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154538.6279 1vgik906b346qqlmrg26vsgkq5 Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241112@154538.6297 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.6313 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154538.6326 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337694126733782299','aut67337860136733782231' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154538.6331 1vgik906b346qqlmrg26vsgkq5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154538.6347 1vgik906b346qqlmrg26vsgkq5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154538.6378 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337694126733782299',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67337860136733782231' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241112@154538.6663 1vgik906b346qqlmrg26vsgkq5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67337860136733782231','2407450','wait',39,'adm09112754980.682000002')
20241112@154538.6775 1vgik906b346qqlmrg26vsgkq5 Query : use flama_phc
20241112@154538.6779 1vgik906b346qqlmrg26vsgkq5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154538.6818 1vgik906b346qqlmrg26vsgkq5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3261';
20241112@154538.6863 1vgik906b346qqlmrg26vsgkq5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3261';
20241112@154538.6956 1vgik906b346qqlmrg26vsgkq5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3261';
20241112@154538.7001 1vgik906b346qqlmrg26vsgkq5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3261';
20241112@154538.7685 24g53qbu3ea9bfant5sfh7mmuj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154538.7772 24g53qbu3ea9bfant5sfh7mmuj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154538.8264 24g53qbu3ea9bfant5sfh7mmuj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3262';
20241112@154538.8606 24g53qbu3ea9bfant5sfh7mmuj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3262';
20241112@154538.8976 24g53qbu3ea9bfant5sfh7mmuj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3262';
20241112@154538.9302 24g53qbu3ea9bfant5sfh7mmuj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3262';
20241112@154538.9679 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154538.9722 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154539.3670 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154539.4090 24g53qbu3ea9bfant5sfh7mmuj Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241112@154539.8210 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154539.1388 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =1
20241112@154539.2289 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154539.2637 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =1
20241112@154539.2853 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154539.3331 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =1
20241112@154539.4890 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154539.6064 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154539.7517 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154539.9107 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154539.9323 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154539.9623 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154539.9842 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.1440 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.3600 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.6640 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.8810 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.1185 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.1478 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.1782 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.1999 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.2300 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.2515 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.2822 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.3036 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.3336 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.3550 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.3851 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.4065 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.4362 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.4576 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.4882 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.5098 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.5401 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.5617 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.5917 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.6199 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.6503 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.6800 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.7106 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.7328 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.7787 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.8004 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241112@154540.8535 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407451 and bi.ref ='324.681.00.01' and bi.lordem =2
20241112@154540.9803 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154540.9929 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154541.5410 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154541.6010 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154541.1549 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154541.1633 24g53qbu3ea9bfant5sfh7mmuj 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')
20241112@154541.2261 24g53qbu3ea9bfant5sfh7mmuj 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
20241112@154541.3058 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154541.3142 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241112@154541.4085 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154541.4128 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154541.4649 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154541.4714 24g53qbu3ea9bfant5sfh7mmuj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154541.5890 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154541.5896 24g53qbu3ea9bfant5sfh7mmuj Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241112@154541.7513 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154541.7719 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from td where ndoc = 39
20241112@154541.8805 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154541.9229 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154541.9623 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154542.1094 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154542.1359 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154542.2088 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154542.2354 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154542.2672 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154542.3070 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154542.3453 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154542.3936 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154542.4413 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154542.4960 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154542.5306 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154542.7499 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154542.8340 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154542.9113 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154542.9938 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154543.2500 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154543.4700 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154543.6890 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67337363586733782641',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154543.1341 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154543.1615 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154543.1911 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154543.2443 24g53qbu3ea9bfant5sfh7mmuj Query : select 'normal' from dummy
20241112@154543.2767 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67337363586733782641',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1822,102943,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154543.3806 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154543.3851 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154543.4235 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154543.4804 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154543.5121 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154543.5486 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154543.5556 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154543.5729 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154543.6016 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400057200a'
20241112@154543.6277 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154543.6512 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154543.6536 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337958196733782799','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154543.6543 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154543.6771 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154543.8914 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337958196733782799',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154543.9737 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154544.1700 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154544.1154 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154544.1420 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154544.1683 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154544.2062 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154544.2516 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154544.2752 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337217776733782832','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154544.2802 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154544.3083 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154544.3768 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337217776733782832',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,20000,?,?,?)
20241112@154544.4527 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154544.4577 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154544.4948 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154544.5228 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154544.5515 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154544.6265 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154544.6530 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154544.6703 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154544.6967 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154544.7227 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154544.7502 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154544.7730 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673375512767337828b0','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154544.7776 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154544.8043 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154544.8779 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673375512767337828b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241112@154544.9797 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154545.1550 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154545.8510 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154545.1310 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154545.1494 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154545.1762 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154545.2557 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154545.3035 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733728225673378292b','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154545.3080 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154545.4661 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154545.5360 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733728225673378292b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,50000,?,?,?)
20241112@154545.6194 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154545.6236 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154545.6674 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154545.6945 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154545.7295 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154545.8535 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154545.8830 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154545.9011 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154545.9274 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154545.9536 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154545.9941 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154546.1650 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673372355667337829e8','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154546.2110 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154546.4820 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154546.8720 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673372355667337829e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241112@154546.1518 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154546.1784 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154546.2203 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154546.2393 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154546.2410 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154546.2885 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154546.3192 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154546.3416 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337564906733782a46','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154546.3462 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154546.3730 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154546.4628 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337564906733782a46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,80000,?,?,?)
20241112@154546.5643 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154546.5725 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154546.6433 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154546.6885 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154546.7339 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154546.8419 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154546.8903 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154546.9192 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154546.9602 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154546.9916 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154547.2900 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154547.5060 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337795726733782af2','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154547.5540 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154547.8160 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154547.1550 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337795726733782af2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241112@154547.2414 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154547.2711 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154547.3344 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154547.3621 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154547.3804 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154547.4083 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154547.4358 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154547.4584 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337897846733782b63','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154547.4632 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154547.4913 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154547.5605 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337897846733782b63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,110000,?,?,?)
20241112@154547.6314 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154547.6356 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154547.7989 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154547.8377 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154547.8637 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154547.9238 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154547.9501 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154547.9674 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154547.9931 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154548.1960 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154548.6080 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154548.8250 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337512856733782c04','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154548.9010 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154548.1166 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154548.1907 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337512856733782c04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241112@154548.2857 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154548.3165 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154548.3770 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154548.4044 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154548.4221 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154548.4481 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154548.4742 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154548.4963 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337536986733782c6d','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154548.5008 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154548.5276 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154548.5927 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337536986733782c6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,140000,?,?,?)
20241112@154548.6665 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154548.6711 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154548.7104 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154548.7388 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154548.7666 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154548.8300 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154548.8628 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154548.8805 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154548.9068 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154549.4690 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154549.2577 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154549.2776 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337340336733782d0b','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154549.2933 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154549.3780 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154549.4594 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337340336733782d0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241112@154549.5530 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154549.5833 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154549.7442 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154549.7888 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154549.8083 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154549.8382 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154549.8703 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154549.8952 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337712276733782dcc','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154549.9006 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154549.9307 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154550.8200 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337712276733782dcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,170000,?,?,?)
20241112@154550.8450 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154550.8910 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154550.1402 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154550.1669 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154550.1942 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154550.2565 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154550.2839 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154550.3057 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154550.3329 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154550.3595 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154550.3875 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154550.4094 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337672896733782e57','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154550.4139 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154550.4412 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154550.5083 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337672896733782e57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241112@154550.5875 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154550.6149 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154550.6810 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154550.7085 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154550.7263 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154550.7529 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154550.7801 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154550.8026 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337391066733782eb7','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154550.8071 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154550.8340 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154551.1610 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337391066733782eb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,200000,?,?,?)
20241112@154551.2547 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154551.2592 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154551.2956 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154551.3237 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154551.3517 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154551.4222 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154551.4508 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154551.4687 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154551.4955 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154551.5225 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154551.5511 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154551.5731 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337583956733782f7f','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154551.5776 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154551.6057 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154551.6724 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337583956733782f7f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241112@154551.8271 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154551.8807 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154551.9449 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154551.9722 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154551.9942 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154552.6480 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154552.1107 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154552.1326 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733796198673378300f','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154552.1374 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154552.1645 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154552.2479 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733796198673378300f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,230000,?,?,?)
20241112@154552.3187 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154552.3232 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154552.3592 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154552.3858 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154552.4138 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154552.4775 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154552.5054 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154552.5236 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154552.5505 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154552.5768 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154552.6044 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154552.6267 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733710658673378308c','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154552.6358 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154552.6747 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154552.8039 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6733710658673378308c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241112@154552.9596 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154552.9903 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154553.5720 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154553.8600 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154553.1053 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154553.1344 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154553.1632 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154553.1864 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337266056733783120','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154553.1910 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154553.2208 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154553.5229 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337266056733783120',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,260000,?,?,?)
20241112@154553.6343 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154553.6434 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154553.7105 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154553.7657 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154553.8208 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154553.9421 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154554.8600 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154554.5030 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154554.1407 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154554.2024 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154554.2429 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154554.2883 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337710056733783231','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154554.2990 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154554.3407 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154554.4474 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337710056733783231',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241112@154554.5470 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154554.5847 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154554.8186 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154554.8974 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154554.9329 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154554.9948 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154555.5100 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154555.8780 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673379590467337832f2','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154555.9390 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154555.1371 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154555.2308 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673379590467337832f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,290000,?,?,?)
20241112@154555.3286 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154555.3452 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154555.4215 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154555.4577 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154555.5023 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154555.7314 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154555.7870 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154555.8477 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154555.9019 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154555.9404 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154555.9729 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154555.9969 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673370519467337833e5','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154556.1900 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154556.3050 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154556.1036 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673370519467337833e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241112@154556.1962 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154556.2256 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154556.4414 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154556.4541 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154556.4695 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154556.4977 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154556.5295 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154556.5552 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337317116733783479','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154556.5603 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154556.5902 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154556.6604 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337317116733783479',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,320000,?,?,?)
20241112@154556.7351 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154556.7404 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154556.8414 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154556.9294 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154557.2480 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154557.1346 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154557.1950 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154557.2214 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154557.2772 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154557.3057 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154557.3349 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154557.3585 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733737619673378354a','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154557.3635 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154557.3924 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154557.4820 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6733737619673378354a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20241112@154557.6187 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154557.7516 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154557.8177 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154557.8468 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154557.8650 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154557.8925 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154557.9200 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154557.9429 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673378573367337835d9','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154557.9480 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154557.9763 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154558.4700 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673378573367337835d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,350000,?,?,?)
20241112@154558.1421 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154558.1552 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154558.2121 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154558.2414 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154558.2700 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154558.3348 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154558.3636 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154558.3826 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154558.4102 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154558.4393 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154558.5878 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154558.6323 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733782483673378366b','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154558.6376 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154558.6660 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154558.7353 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6733782483673378366b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20241112@154558.8331 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154558.8618 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154558.9038 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154558.9333 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154558.9526 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154558.9808 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154559.1060 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154559.3890 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673374946967337836ef','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154559.4380 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154559.1405 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154559.2280 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673374946967337836ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,380000,?,?,?)
20241112@154559.2976 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154559.3021 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154559.3397 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154559.3681 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154559.3973 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154559.4634 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154559.4920 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154559.6558 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154559.6931 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154559.7218 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154559.7499 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154559.7726 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673372390567337837b0','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154559.7775 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154559.8070 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154559.8775 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673372390567337837b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20241112@154559.9638 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154559.9922 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154600.5670 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154600.8490 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154600.1033 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154600.1433 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154600.2174 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154600.2550 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337031396733783822','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154600.2600 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154600.2910 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154600.3602 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337031396733783822',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,410000,?,?,?)
20241112@154600.4359 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154600.4406 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154600.4778 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154600.5072 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154600.5352 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154600.7719 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154600.7997 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154600.8183 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154600.8483 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154600.8758 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154600.9042 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154600.9270 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673379532467337838d5','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154600.9319 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154600.9605 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154601.2960 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673379532467337838d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,430000,?,?,?,?,?)
20241112@154601.1146 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154601.1468 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154601.2115 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154601.2837 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154601.3229 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154601.4193 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154601.4813 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154601.5319 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337368966733783966','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154601.5365 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154601.5642 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154601.6477 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337368966733783966',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,440000,?,?,?)
20241112@154601.7261 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154601.7307 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154601.7687 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154601.7965 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154601.8247 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154601.8895 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154601.9174 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154601.9357 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154601.9636 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154601.9916 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154602.1950 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154602.4330 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673376513367337839f2','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154602.4820 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154602.7660 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154602.2795 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673376513367337839f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,460000,?,?,?,?,?)
20241112@154602.4326 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154602.4611 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154602.5611 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154602.6069 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154602.6392 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154602.6990 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154602.7314 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154602.7538 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337284976733783aaa','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154602.7585 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154602.7876 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154602.8556 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337284976733783aaa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,470000,?,?,?)
20241112@154602.9288 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154602.9529 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154602.9887 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154603.1610 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154603.4360 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154603.1099 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154603.1377 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154603.1584 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154603.2071 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154603.2583 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154603.3697 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154603.3924 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337653006733783b3f','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154603.3974 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154603.4242 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154603.4961 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337653006733783b3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,490000,?,?,?,?,?)
20241112@154603.5979 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154603.6277 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154603.7671 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154603.8198 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154603.8559 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154603.9087 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154603.9559 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154603.9774 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337585126733783bdd','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154603.9820 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.8500 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154604.7380 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337585126733783bdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,500000,?,?,?)
20241112@154604.1589 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154604.1634 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154604.2065 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154604.2355 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.2759 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154604.3500 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.3782 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154604.3955 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154604.4235 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154604.4522 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.4823 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154604.5082 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337648896733783c6e','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154604.5140 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.5433 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154604.6356 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337648896733783c6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,520000,?,?,?,?,?)
20241112@154604.7315 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.7613 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154604.8389 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.8660 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154604.8832 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154604.9095 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.9418 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154604.9641 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337029866733783cde','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154604.9686 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154604.9995 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154605.1036 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337029866733783cde',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,530000,?,?,?)
20241112@154605.1865 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154605.1908 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154605.2265 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154605.2599 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154605.2891 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154605.3587 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154605.3903 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154605.4096 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154605.4483 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154605.4822 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154605.5175 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154605.5404 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337393636733783d75','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154605.5453 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154605.5737 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154605.6543 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337393636733783d75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,550000,?,?,?,?,?)
20241112@154605.7809 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154605.8676 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154605.9980 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154606.4990 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154606.8220 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154606.1364 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154606.1927 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154606.2428 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337611986733783e21','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154606.2613 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154606.3111 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154606.4449 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337611986733783e21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,560000,?,?,?)
20241112@154606.5593 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154606.5687 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154606.6416 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154606.6899 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154606.7415 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154606.8823 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154606.9444 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154606.9744 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154607.2130 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154607.7330 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154607.1178 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154607.1610 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337745356733783f11','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154607.1698 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154607.2147 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154607.3391 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337745356733783f11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,580000,?,?,?,?,?)
20241112@154607.4991 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154607.5609 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154607.6883 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154607.8778 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154607.9164 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154607.9847 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154608.3760 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154608.7400 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337312956733783ff0','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154608.8330 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154608.1348 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154608.2643 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337312956733783ff0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,590000,?,?,?)
20241112@154608.3857 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154608.3948 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154608.4825 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154608.5357 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154608.5874 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154608.6529 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154608.6794 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154608.6969 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154608.7229 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154608.7494 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154608.7816 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154608.8040 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673379760767337840b6','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154608.8086 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154608.8355 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154609.4790 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673379760767337840b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,610000,?,?,?,?,?)
20241112@154609.1631 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154609.1901 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154609.2544 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154609.2806 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154609.2978 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154609.3238 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154609.3507 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154609.3983 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733770119673378414f','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154609.4026 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154609.4292 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154609.4941 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733770119673378414f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,620000,?,?,?)
20241112@154609.5661 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154609.5703 24g53qbu3ea9bfant5sfh7mmuj Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241112@154609.6050 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241112@154609.6311 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154609.7040 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154609.8550 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154609.8813 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154609.8987 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154609.9205 24g53qbu3ea9bfant5sfh7mmuj Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241112@154609.9226 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154609.9454 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154609.9670 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673375781067337841e1','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154609.9714 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154609.9818 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154610.1180 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673375781067337841e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67337363586733782641' ,0,0 ,2,23.00,640000,?,?,?,?,?)
20241112@154610.1335 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154610.1794 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154610.2401 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154610.2667 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154610.2845 24g53qbu3ea9bfant5sfh7mmuj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154610.3104 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154610.3371 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154610.3592 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733749113673378424b','aut67337363586733782641' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154610.3639 24g53qbu3ea9bfant5sfh7mmuj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154610.3939 24g53qbu3ea9bfant5sfh7mmuj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154610.4599 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733749113673378424b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337363586733782641' ,0,0 ,2,23.00,650000,?,?,?)
20241112@154610.5294 24g53qbu3ea9bfant5sfh7mmuj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67337363586733782641','2407451','wait',39,'adm09112754980.682000002')
20241112@154610.6322 24g53qbu3ea9bfant5sfh7mmuj Query : use flama_phc
20241112@154610.6372 24g53qbu3ea9bfant5sfh7mmuj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154610.6637 24g53qbu3ea9bfant5sfh7mmuj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3262';
20241112@154610.6964 24g53qbu3ea9bfant5sfh7mmuj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3262';
20241112@154610.7242 24g53qbu3ea9bfant5sfh7mmuj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3262';
20241112@154610.7564 24g53qbu3ea9bfant5sfh7mmuj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3262';
20241112@154610.8297 1q2s2h4ma4ddktolcjm95tej8s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154610.8311 1q2s2h4ma4ddktolcjm95tej8s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154610.8386 1q2s2h4ma4ddktolcjm95tej8s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3263';
20241112@154610.8471 1q2s2h4ma4ddktolcjm95tej8s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3263';
20241112@154610.8542 1q2s2h4ma4ddktolcjm95tej8s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3263';
20241112@154610.8581 1q2s2h4ma4ddktolcjm95tej8s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3263';
20241112@154610.8647 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.8651 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154610.8731 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.8736 1q2s2h4ma4ddktolcjm95tej8s Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241112@154610.8783 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241112@154610.8974 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407452 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241112@154610.9375 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241112@154610.9397 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407452 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241112@154610.9416 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241112@154610.9437 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407452 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241112@154610.9455 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241112@154610.9480 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407452 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241112@154610.9498 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.9501 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154610.9537 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.9540 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154610.9573 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.9576 1q2s2h4ma4ddktolcjm95tej8s 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')
20241112@154610.9605 1q2s2h4ma4ddktolcjm95tej8s 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
20241112@154610.9642 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.9645 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241112@154610.9679 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.9682 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154610.9721 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.9724 1q2s2h4ma4ddktolcjm95tej8s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154610.9779 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.9782 1q2s2h4ma4ddktolcjm95tej8s Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241112@154610.9839 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154610.9842 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from td where ndoc = 39
20241112@154610.9857 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154610.9872 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154610.9890 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154610.9910 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154610.9933 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154610.9968 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154610.9984 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154611.0000 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154611.7700 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154611.9200 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.1110 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154611.1280 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154611.3230 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.3470 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154611.3990 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154611.4170 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154611.4320 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154611.4470 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154611.4590 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154611.4720 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154611.4850 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67337858276733784300',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154611.7470 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154611.7940 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.8150 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154611.8420 1q2s2h4ma4ddktolcjm95tej8s Query : select 'normal' from dummy
20241112@154611.8590 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67337858276733784300',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1823,102943,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154611.1263 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154611.1268 1q2s2h4ma4ddktolcjm95tej8s Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241112@154611.1293 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.8261.00.1'
20241112@154611.1470 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.1497 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.1535 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.1554 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.1565 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154611.1582 1q2s2h4ma4ddktolcjm95tej8s Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241112@154611.1600 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.1619 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.1631 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337330376733784327','aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154611.1636 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.2397 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.3246 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67337330376733784327',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67337858276733784300' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154611.3741 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.3776 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.3806 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.3823 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.3833 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154611.3848 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.3865 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.3882 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733702754673378435d','aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154611.3887 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.3905 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.3938 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6733702754673378435d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337858276733784300' ,0,0 ,2,23.00,20000,?,?,?)
20241112@154611.4237 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154611.4241 1q2s2h4ma4ddktolcjm95tej8s Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241112@154611.4264 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.8261.00.1'
20241112@154611.4282 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.4299 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.4329 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.4347 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.4356 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154611.4374 1q2s2h4ma4ddktolcjm95tej8s Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241112@154611.4387 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.4409 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.4422 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733701195673378436b','aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154611.4427 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.4445 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.4482 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6733701195673378436b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67337858276733784300' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241112@154611.4784 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.4803 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.4829 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.4848 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.4857 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154611.4870 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.4886 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.4899 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337404206733784376','aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154611.4913 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.4930 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.4966 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337404206733784376',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337858276733784300' ,0,0 ,2,23.00,50000,?,?,?)
20241112@154611.5515 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154611.5558 1q2s2h4ma4ddktolcjm95tej8s Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241112@154611.5690 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.8261.00.1'
20241112@154611.5705 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.5723 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.5759 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.5777 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.5787 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154611.5801 1q2s2h4ma4ddktolcjm95tej8s Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241112@154611.5814 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.5832 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.5854 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733737974673378438d','aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154611.5859 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.5875 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.5911 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6733737974673378438d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67337858276733784300' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241112@154611.6206 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.6226 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.6257 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.6274 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.6284 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154611.6302 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.6319 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.6341 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67337635296733784399','aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154611.6346 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.6363 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.6392 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67337635296733784399',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337858276733784300' ,0,0 ,2,23.00,80000,?,?,?)
20241112@154611.6677 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154611.6681 1q2s2h4ma4ddktolcjm95tej8s Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241112@154611.6703 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.8261.00.1'
20241112@154611.6719 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.6737 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.6764 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.6780 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.6790 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154611.6803 1q2s2h4ma4ddktolcjm95tej8s Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241112@154611.6817 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.6835 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.6849 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673376682367337843a6','aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154611.6854 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.6869 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.6901 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673376682367337843a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67337858276733784300' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241112@154611.7182 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.7200 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.7228 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.7246 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.7258 1q2s2h4ma4ddktolcjm95tej8s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154611.7276 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.7293 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154611.7305 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673374220567337843b1','aut67337858276733784300' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154611.7309 1q2s2h4ma4ddktolcjm95tej8s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154611.7323 1q2s2h4ma4ddktolcjm95tej8s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154611.7354 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673374220567337843b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337858276733784300' ,0,0 ,2,23.00,110000,?,?,?)
20241112@154611.7693 1q2s2h4ma4ddktolcjm95tej8s Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67337858276733784300','2407452','wait',39,'adm09112754980.682000002')
20241112@154611.7774 1q2s2h4ma4ddktolcjm95tej8s Query : use flama_phc
20241112@154611.7778 1q2s2h4ma4ddktolcjm95tej8s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154611.7810 1q2s2h4ma4ddktolcjm95tej8s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3263';
20241112@154611.7853 1q2s2h4ma4ddktolcjm95tej8s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3263';
20241112@154611.7907 1q2s2h4ma4ddktolcjm95tej8s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3263';
20241112@154611.7963 1q2s2h4ma4ddktolcjm95tej8s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3263';
20241112@154611.8496 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154611.8507 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154611.8574 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3264';
20241112@154611.8637 3mnj4ujrk4gqfnk94b0me2m8n3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3264';
20241112@154611.8699 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3264';
20241112@154611.8743 3mnj4ujrk4gqfnk94b0me2m8n3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3264';
20241112@154611.8821 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154611.8826 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154611.8898 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154611.8902 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20241112@154611.8994 3mnj4ujrk4gqfnk94b0me2m8n3 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'
20241112@154611.9166 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407464 and bi.ref ='324.1608.00.1' and bi.lordem =1
20241112@154612.7710 3mnj4ujrk4gqfnk94b0me2m8n3 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'
20241112@154612.1054 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407464 and bi.ref ='325.1670.3015' and bi.lordem =2
20241112@154612.2564 3mnj4ujrk4gqfnk94b0me2m8n3 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'
20241112@154612.2738 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407464 and bi.ref ='325.1670.3015' and bi.lordem =2
20241112@154612.2758 3mnj4ujrk4gqfnk94b0me2m8n3 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'
20241112@154612.2919 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407464 and bi.ref ='324.1684.00.1' and bi.lordem =3
20241112@154612.3240 3mnj4ujrk4gqfnk94b0me2m8n3 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'
20241112@154612.3266 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407464 and bi.ref ='324.1684.00.1' and bi.lordem =3
20241112@154612.3285 3mnj4ujrk4gqfnk94b0me2m8n3 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'
20241112@154612.3307 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407464 and bi.ref ='324.1684.00.1' and bi.lordem =3
20241112@154612.3324 3mnj4ujrk4gqfnk94b0me2m8n3 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'
20241112@154612.3347 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407464 and bi.ref ='324.1684.00.1' and bi.lordem =3
20241112@154612.3365 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.3368 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154612.3404 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.3408 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154612.3443 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.3447 3mnj4ujrk4gqfnk94b0me2m8n3 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')
20241112@154612.3477 3mnj4ujrk4gqfnk94b0me2m8n3 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
20241112@154612.3517 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.3521 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20241112@154612.3687 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.3691 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154612.3726 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.3729 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154612.3773 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.3777 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20241112@154612.3834 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.3837 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from td where ndoc = 39
20241112@154612.3852 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154612.3868 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.3886 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154612.3910 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.3928 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154612.3966 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.3987 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154612.4003 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154612.4093 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154612.4111 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.4129 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154612.4147 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67337396886733784461' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154612.4371 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.4396 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154612.4439 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154612.4455 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154612.4470 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154612.4485 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154612.4504 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154612.4558 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154612.4768 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67337396886733784461',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154612.5400 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154612.5662 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.5935 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154612.5985 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 'normal' from dummy
20241112@154612.6005 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67337396886733784461',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1824,199510,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154612.6352 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.6356 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20241112@154612.6409 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20241112@154612.6571 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.6598 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.6630 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.6665 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.6675 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154612.6691 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2400237100a'
20241112@154612.6710 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.6735 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.6751 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673377105967337844a3','aut67337396886733784461' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154612.6756 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.6780 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.6813 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673377105967337844a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut67337396886733784461' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154612.7102 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.7107 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select st.usalote valor from st where st.ref = '325.1670.3015'
20241112@154612.7134 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1670.3015'
20241112@154612.7295 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.7314 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.7341 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.7357 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.7365 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154612.7381 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select sestamp valor from se where ref ='325.1670.3015' and lote = 'r2401159400a'
20241112@154612.7395 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.7433 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.7683 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673370270367337844b4','aut67337396886733784461' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154612.7744 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.7765 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.7800 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673370270367337844b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut67337396886733784461' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241112@154612.8074 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.8077 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select st.usalote valor from st where st.ref = '325.1670.3015'
20241112@154612.8102 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1670.3015'
20241112@154612.8118 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.8144 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.8180 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.8204 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.8214 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154612.8227 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select sestamp valor from se where ref ='325.1670.3015' and lote = 'r2401159400a'
20241112@154612.8241 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.8261 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.8275 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673370739267337844c9','aut67337396886733784461' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154612.8282 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.8300 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.8339 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673370739267337844c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut67337396886733784461' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241112@154612.8936 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.8979 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241112@154612.9104 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241112@154612.9277 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.9299 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.9326 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.9342 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.9351 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154612.9364 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241112@154612.9384 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.9400 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.9415 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673371180767337844e5','aut67337396886733784461' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154612.9420 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.9445 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.9476 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673371180767337844e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67337396886733784461' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241112@154612.9771 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154612.9775 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241112@154612.9799 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241112@154612.9816 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.9838 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154612.9869 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.9888 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.9899 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154612.9914 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241112@154612.9928 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.9946 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154612.9963 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673373145467337844f2','aut67337396886733784461' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154612.9969 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154612.9989 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.2200 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673373145467337844f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67337396886733784461' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241112@154613.3010 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154613.3050 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241112@154613.3290 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241112@154613.3440 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.3610 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.3890 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.4040 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154613.4140 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154613.4290 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241112@154613.4440 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.4610 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154613.4760 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733794665673378450a','aut67337396886733784461' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154613.4810 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.4980 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.5310 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6733794665673378450a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut67337396886733784461' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241112@154613.9260 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154613.9300 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241112@154613.9570 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241112@154613.9730 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.9900 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.1018 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.1036 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154613.1046 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154613.1062 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241112@154613.1076 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.1096 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154613.1109 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6733799306673378451a','aut67337396886733784461' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154613.1113 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.1131 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.1161 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6733799306673378451a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut67337396886733784461' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241112@154613.1470 3mnj4ujrk4gqfnk94b0me2m8n3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67337396886733784461','2407464','wait',39,'adm09112754980.682000002')
20241112@154613.1548 3mnj4ujrk4gqfnk94b0me2m8n3 Query : use flama_phc
20241112@154613.1552 3mnj4ujrk4gqfnk94b0me2m8n3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241112@154613.1584 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3264';
20241112@154613.1630 3mnj4ujrk4gqfnk94b0me2m8n3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3264';
20241112@154613.1686 3mnj4ujrk4gqfnk94b0me2m8n3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3264';
20241112@154613.1729 3mnj4ujrk4gqfnk94b0me2m8n3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3264';
20241112@154613.2801 l610mhf6cr0shnim24t6i62jt7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241112@154613.2813 l610mhf6cr0shnim24t6i62jt7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241112@154613.2894 l610mhf6cr0shnim24t6i62jt7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3265';
20241112@154613.2959 l610mhf6cr0shnim24t6i62jt7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3265';
20241112@154613.3019 l610mhf6cr0shnim24t6i62jt7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3265';
20241112@154613.3053 l610mhf6cr0shnim24t6i62jt7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3265';
20241112@154613.3119 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.3123 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241112@154613.3194 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.3199 l610mhf6cr0shnim24t6i62jt7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241112@154613.3290 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.3453 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.3784 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.3809 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.3830 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.3855 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.3879 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.3902 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.3923 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.3945 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.3965 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.3988 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.4011 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.4038 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.4059 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.4083 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.4101 l610mhf6cr0shnim24t6i62jt7 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'
20241112@154613.4125 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407465 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241112@154613.4146 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.4151 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241112@154613.4190 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.4195 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 1 valor from td where td.ndoc = 39
20241112@154613.4232 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.4236 l610mhf6cr0shnim24t6i62jt7 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')
20241112@154613.4277 l610mhf6cr0shnim24t6i62jt7 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
20241112@154613.4317 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.4321 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241112@154613.4479 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.4483 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241112@154613.4521 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.4524 l610mhf6cr0shnim24t6i62jt7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241112@154613.4571 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.4575 l610mhf6cr0shnim24t6i62jt7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241112@154613.4629 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.4633 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from td where ndoc = 39
20241112@154613.4648 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241112@154613.4664 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.4685 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154613.4708 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.4727 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154613.4761 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.4780 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154613.4795 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154613.4866 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241112@154613.4880 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.4898 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241112@154613.4914 l610mhf6cr0shnim24t6i62jt7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67337114196733784575' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241112@154613.5112 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.5133 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241112@154613.5168 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241112@154613.5182 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241112@154613.5194 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241112@154613.5207 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241112@154613.5219 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241112@154613.5232 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241112@154613.5244 l610mhf6cr0shnim24t6i62jt7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67337114196733784575',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241112@154613.5547 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 fno valor from wsftdata order by fno desc
20241112@154613.5576 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.5593 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241112@154613.5952 l610mhf6cr0shnim24t6i62jt7 Query : select 'normal' from dummy
20241112@154613.7090 l610mhf6cr0shnim24t6i62jt7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67337114196733784575',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1825,100810,0,'2024-11-12',39,'euro',0,0,2024 ,?,?)
20241112@154613.7489 l610mhf6cr0shnim24t6i62jt7 Query : use flama_phc
20241112@154613.7493 l610mhf6cr0shnim24t6i62jt7 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20241112@154613.7522 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241112@154613.7721 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.7742 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.7773 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.7792 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154613.7803 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154613.7816 l610mhf6cr0shnim24t6i62jt7 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2400283200a'
20241112@154613.7833 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.7850 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154613.7862 l610mhf6cr0shnim24t6i62jt7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673378312167337845bf','aut67337114196733784575' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154613.7868 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.7884 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.7914 l610mhf6cr0shnim24t6i62jt7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut673378312167337845bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67337114196733784575' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241112@154613.8198 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.8215 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.8243 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.8260 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154613.8268 l610mhf6cr0shnim24t6i62jt7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241112@154613.8281 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.8296 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241112@154613.8307 l610mhf6cr0shnim24t6i62jt7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut673370472767337845ca','aut67337114196733784575' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241112@154613.8311 l610mhf6cr0shnim24t6i62jt7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241112@154613.8326 l610mhf6cr0shnim24t6i62jt7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241112@154613.8356 l610mhf6cr0shnim24t6i62jt7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut673370472767337845ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67337114196733784575' ,0,0 ,2,23.00,20000,?,?,?)
