20240902@201315.5073 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.5081 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201315.5093 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201315.5105 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.5118 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.5129 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d608149466d60e4b7c','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201315.5133 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.5147 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.5175 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d608149466d60e4b7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,160000,?,?,?,?)
20240902@201315.5440 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.5456 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.5545 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.5560 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.5577 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201315.5844 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.5937 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.5949 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d604969766d60e4b8e','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201315.5954 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.6010 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.6056 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d604969766d60e4b8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,170000,?,?,?)
20240902@201315.6506 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201315.6549 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201315.6595 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201315.6654 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.6821 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.6894 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.6931 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.6940 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201315.7009 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201315.7022 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7039 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.7051 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d609398166d60e4bab','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201315.7055 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7068 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.7096 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d609398166d60e4bab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,190000,?,?,?,?)
20240902@201315.7370 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7385 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.7410 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7424 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.7432 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201315.7444 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7458 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.7471 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d603914866d60e4bb5','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201315.7475 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7489 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.7517 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d603914866d60e4bb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,200000,?,?,?)
20240902@201315.7798 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201315.7801 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201315.7820 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201315.7834 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7850 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.7874 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7889 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.7897 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201315.7909 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201315.7921 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7936 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.7947 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d600290366d60e4bc1','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201315.7951 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.7965 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.7992 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d600290366d60e4bc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,220000,?,?,?,?)
20240902@201315.8261 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.8277 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.8301 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.8316 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.8324 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201315.8336 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.8350 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.8362 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d604911566d60e4bcb','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201315.8367 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.8384 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.8414 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d604911566d60e4bcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,230000,?,?,?)
20240902@201315.8788 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201315.8791 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201315.8933 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201315.9051 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.9123 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201315.9148 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201315.9164 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201315.9172 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201315.9186 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.3180 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3350 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.3470 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d602593366d60e4c07','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.3510 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3650 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.4460 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d602593366d60e4c07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,250000,?,?,?,?)
20240902@201316.8190 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.8350 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.8600 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.8730 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.8810 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.8940 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.9080 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.9200 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d606796766d60e4c15','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.9240 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.9380 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.9640 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d606796766d60e4c15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,260000,?,?,?)
20240902@201316.1300 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201316.1303 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201316.1321 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201316.1335 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.1350 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.1375 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.1389 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.1397 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.1408 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.1420 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.1434 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.1445 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d601655866d60e4c22','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.1449 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.1464 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.1493 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d601655866d60e4c22',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,280000,?,?,?,?)
20240902@201316.1753 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.1768 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.1793 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.1807 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.1815 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.1827 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.1841 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.1852 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d609025866d60e4c2c','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.1860 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.1873 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.1901 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d609025866d60e4c2c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,290000,?,?,?)
20240902@201316.2185 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201316.2188 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201316.2207 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201316.2221 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.2238 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.2262 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.2276 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.2284 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.2296 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.2308 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.2321 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.2333 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d600612266d60e4c38','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.2337 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.2351 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.2377 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d600612266d60e4c38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,310000,?,?,?,?)
20240902@201316.2712 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.2728 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.2752 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.2766 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.2776 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.2787 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.2801 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.2813 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d601585966d60e4c44','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.2817 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.2831 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.2857 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d601585966d60e4c44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,320000,?,?,?)
20240902@201316.3175 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201316.3178 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201316.3196 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201316.3210 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3225 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.3270 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3284 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.3292 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.3304 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.3337 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3351 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.3362 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d607402666d60e4c51','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.3384 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3399 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.3428 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d607402666d60e4c51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,340000,?,?,?,?)
20240902@201316.3692 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3708 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.3732 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3746 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.3754 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.3765 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3778 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.3789 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d601251766d60e4c5b','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.3793 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.3807 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.3834 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d601251766d60e4c5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,350000,?,?,?)
20240902@201316.4089 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201316.4092 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201316.4110 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201316.4124 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.4138 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.4164 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.4178 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.4186 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.4197 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.4209 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.4223 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.4234 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d609936466d60e4c66','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.4237 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.4259 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.4288 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d609936466d60e4c66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,370000,?,?,?,?)
20240902@201316.4561 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.4576 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.4603 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.4617 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.4625 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.4637 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.4651 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.4662 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d600570466d60e4c71','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.4666 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.4679 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.4705 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d600570466d60e4c71',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,380000,?,?,?)
20240902@201316.5112 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201316.5115 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201316.5134 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201316.5147 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.5164 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.5189 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.5203 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.5211 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.5223 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.5235 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.5248 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.5259 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d602720666d60e4c7f','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.5263 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.5280 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.5306 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d602720666d60e4c7f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,400000,?,?,?,?)
20240902@201316.5569 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.5585 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.5611 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.5626 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.5636 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.5648 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.5662 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.5677 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d606790366d60e4c89','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.5681 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.5696 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.5726 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d606790366d60e4c89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,410000,?,?,?)
20240902@201316.6147 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201316.6178 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201316.6328 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201316.6345 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.6364 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.6389 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.6405 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.6413 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.6426 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.6438 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.6493 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.6516 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d602989666d60e4c9d','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.6524 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.6539 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.6590 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d602989666d60e4c9d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,430000,?,?,?,?)
20240902@201316.6893 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.6910 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.6937 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.6963 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.6973 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.6987 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7003 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.7018 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d600368466d60e4caa','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.7022 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7038 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.7072 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d600368466d60e4caa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,440000,?,?,?)
20240902@201316.7342 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201316.7345 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201316.7368 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201316.7382 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7399 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.7429 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7446 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.7455 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.7474 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.7489 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7505 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.7519 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d602533566d60e4cb6','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.7523 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7538 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.7573 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d602533566d60e4cb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,460000,?,?,?,?)
20240902@201316.7848 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7865 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.7892 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7908 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.7916 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.7928 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7943 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.7956 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d603340066d60e4cc1','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.7961 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.7977 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.8009 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d603340066d60e4cc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,470000,?,?,?)
20240902@201316.8955 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201316.9414 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201316.9438 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201316.9453 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.9471 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.9520 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.9574 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.9605 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201316.9618 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201316.9631 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.9671 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201316.9684 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d600692466d60e4ceb','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201316.9688 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201316.9704 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201316.9732 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d600692466d60e4ceb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,490000,?,?,?,?)
20240902@201317.1500 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.3100 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.5700 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7200 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.8000 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.9200 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1060 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.1180 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d601860466d60e4d02','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.1220 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1360 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.1650 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d601860466d60e4d02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,500000,?,?,?)
20240902@201317.4190 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201317.4220 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201317.4410 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201317.4550 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.4710 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.4960 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.5100 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.5180 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.5300 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201317.5420 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.5570 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.5680 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d600427166d60e4d0d','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.5720 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.5860 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.6130 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d600427166d60e4d0d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,520000,?,?,?,?)
20240902@201317.8710 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8860 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.9110 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9240 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.9330 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.9450 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9600 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.9710 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d607598666d60e4d17','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.9750 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9890 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.1016 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d607598666d60e4d17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,530000,?,?,?)
20240902@201317.1267 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201317.1270 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201317.1289 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201317.1303 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1381 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.1405 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1421 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.1429 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.1441 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201317.1454 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1468 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.1479 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d606432866d60e4d23','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.1484 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1522 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.1548 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d606432866d60e4d23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,550000,?,?,?,?)
20240902@201317.1825 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1841 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.1867 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1881 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.1889 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.1900 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1913 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.1927 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d603880866d60e4d2e','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.1931 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.1946 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.1974 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d603880866d60e4d2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,560000,?,?,?)
20240902@201317.2234 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201317.2237 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201317.2257 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201317.2272 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.2290 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.2317 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.2334 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.2342 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.2354 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201317.2368 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.2384 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.2396 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d608338066d60e4d39','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.2400 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.2416 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.2445 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d608338066d60e4d39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,580000,?,?,?,?)
20240902@201317.2721 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.2740 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.2765 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.2782 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.2790 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.2803 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.2817 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.2827 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d609370166d60e4d44','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.2831 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.2846 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.2877 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d609370166d60e4d44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,590000,?,?,?)
20240902@201317.3129 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201317.3133 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201317.3152 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201317.3166 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.3182 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.3216 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.3231 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.3242 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.3255 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201317.3267 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.3285 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.3297 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d600452766d60e4d4f','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.3301 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.3321 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.3351 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d600452766d60e4d4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,610000,?,?,?,?)
20240902@201317.4691 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.4708 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.4732 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.4807 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.4815 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.4827 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.4842 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.4855 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d607074466d60e4d75','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.4863 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.5968 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.5997 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d607074466d60e4d75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,620000,?,?,?)
20240902@201317.6274 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201317.6277 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201317.6297 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201317.6312 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.6328 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.6355 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.6369 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.6377 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.6389 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201317.6403 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.6417 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.6429 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d603679566d60e4d9c','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.6433 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.6448 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.6476 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d603679566d60e4d9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,640000,?,?,?,?)
20240902@201317.6758 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.6778 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.6805 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.6821 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.6829 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.6841 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.6857 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.6875 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d601297266d60e4da7','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.6879 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.6895 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.6923 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d601297266d60e4da7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,650000,?,?,?)
20240902@201317.7198 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201317.7202 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201317.7224 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201317.7239 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7256 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.7282 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7297 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.7306 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.7318 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201317.7340 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7357 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.7371 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d604012366d60e4db3','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.7376 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7391 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.7423 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d604012366d60e4db3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,670000,?,?,?,?)
20240902@201317.7701 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7729 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.7757 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7775 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.7784 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.7797 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7812 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.7828 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d605423866d60e4dbe','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.7832 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.7848 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.7876 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d605423866d60e4dbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,680000,?,?,?)
20240902@201317.8200 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201317.8241 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201317.8271 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201317.8285 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8301 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.8327 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8341 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.8349 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.8362 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201317.8374 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8388 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.8400 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d603468666d60e4dcc','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.8405 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8422 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.8454 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d603468666d60e4dcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,700000,?,?,?,?)
20240902@201317.8767 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8785 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.8813 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8829 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.8839 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.8853 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8867 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.8882 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d609838566d60e4dd8','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.8887 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.8904 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.8941 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d609838566d60e4dd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,710000,?,?,?)
20240902@201317.9208 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201317.9211 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201317.9236 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201317.9254 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9273 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.9304 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9322 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.9331 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.9344 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201317.9357 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9373 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.9396 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d608835466d60e4de4','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.9401 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9416 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.9445 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d608835466d60e4de4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,730000,?,?,?,?)
20240902@201317.9724 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9741 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.9768 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9783 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.9791 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201317.9804 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9819 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201317.9831 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d603465566d60e4def','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201317.9835 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201317.9849 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201317.9880 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d603465566d60e4def',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,740000,?,?,?)
20240902@201318.1420 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201318.1450 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201318.1660 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201318.1790 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.1950 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.2220 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.2390 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.2480 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.2610 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201318.2770 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.3060 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.3190 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d608091166d60e4e06','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.3240 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.3390 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.3700 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d608091166d60e4e06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,760000,?,?,?,?)
20240902@201318.6670 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.6840 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.7110 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7270 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.7370 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.7500 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7650 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.7770 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d608348466d60e4e12','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.7810 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7960 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.8240 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d608348466d60e4e12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,770000,?,?,?)
20240902@201318.1088 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201318.1091 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201318.1111 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201318.1161 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.1177 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.1208 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.1223 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.1232 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.1244 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201318.1257 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.1271 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.1283 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d606193466d60e4e1e','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.1287 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.1303 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.1335 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d606193466d60e4e1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,790000,?,?,?,?)
20240902@201318.1664 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.1681 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.1771 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.1812 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.1821 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.1833 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.1849 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.1861 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d606644666d60e4e2c','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.1865 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.3818 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.3848 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d606644666d60e4e2c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,800000,?,?,?)
20240902@201318.4124 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201318.4127 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201318.4148 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201318.4161 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.4177 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.4201 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.4215 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.4223 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.4235 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201318.5254 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.5568 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.5582 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d608208366d60e4e80','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.5588 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.5612 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.5644 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d608208366d60e4e80',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,820000,?,?,?,?)
20240902@201318.5924 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.5942 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.5972 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.5988 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.5998 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.6013 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.6027 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.6040 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d609768666d60e4e92','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.6044 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.6059 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.6089 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d609768666d60e4e92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,830000,?,?,?)
20240902@201318.6363 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201318.6366 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201318.6387 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201318.6402 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.6420 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.6448 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.6465 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.6475 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.6490 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201318.6514 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.6533 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.6545 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d603811066d60e4e9f','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.6550 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.6565 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.6595 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d603811066d60e4e9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,850000,?,?,?,?)
20240902@201318.6964 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.6981 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.7009 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7024 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.7035 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.7048 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7062 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.7074 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d608930366d60e4eac','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.7079 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7093 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.7123 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d608930366d60e4eac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,860000,?,?,?)
20240902@201318.7406 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201318.7409 08n5l6c5offfn3s0gocftqaues Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240902@201318.7430 08n5l6c5offfn3s0gocftqaues Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240902@201318.7444 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7471 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.7498 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7513 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.7522 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.7534 08n5l6c5offfn3s0gocftqaues Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400463200a'
20240902@201318.7547 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7562 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.7574 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d602350566d60e4eb8','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.7579 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7604 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.7635 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d602350566d60e4eb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,880000,?,?,?,?)
20240902@201318.7962 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.7980 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.8054 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.8071 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.8080 08n5l6c5offfn3s0gocftqaues Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240902@201318.8100 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.8115 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240902@201318.8127 08n5l6c5offfn3s0gocftqaues Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d604764166d60e4ec5','aut66d603257766d60e4a97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240902@201318.8131 08n5l6c5offfn3s0gocftqaues Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240902@201318.8145 08n5l6c5offfn3s0gocftqaues Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240902@201318.8173 08n5l6c5offfn3s0gocftqaues Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d604764166d60e4ec5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d603257766d60e4a97' ,0,0 ,2,23.00,890000,?,?,?)
20240902@201318.8451 08n5l6c5offfn3s0gocftqaues Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d603257766d60e4a97','2405701','wait',39,'adm09112754980.682000002')
20240902@201318.8545 08n5l6c5offfn3s0gocftqaues Query : use flama_phc
20240902@201318.8548 08n5l6c5offfn3s0gocftqaues Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240902@201318.8639 08n5l6c5offfn3s0gocftqaues Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1796';
20240902@201318.8672 08n5l6c5offfn3s0gocftqaues Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1796';
20240902@201318.8708 08n5l6c5offfn3s0gocftqaues Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1796';
20240902@201318.8734 08n5l6c5offfn3s0gocftqaues Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1796';

20240903@090420.5865 3vubf3lcnipe2ciluce9fc1e9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1797';
20240903@090420.5932 3vubf3lcnipe2ciluce9fc1e9u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1797';
20240903@090420.5964 3vubf3lcnipe2ciluce9fc1e9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1797';
20240903@090420.6026 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090420.6030 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@090420.6155 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090420.6159 3vubf3lcnipe2ciluce9fc1e9u Query : select no, estab,szadrsdesc from szadrs where u_coddest=5338
20240903@090420.6289 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240903@090420.6502 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405687 and bi.ref ='324.5540.00.1' and bi.lordem =1
20240903@090420.6859 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20240903@090420.7193 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405687 and bi.ref ='324.1407.00.1' and bi.lordem =3
20240903@090420.7525 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20240903@090420.7722 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405687 and bi.ref ='324.2031.00.1' and bi.lordem =4
20240903@090420.8060 3vubf3lcnipe2ciluce9fc1e9u 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'
20240903@090420.8328 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405687 and bi.ref ='304.421.00.04' and bi.lordem =5
20240903@090420.8896 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240903@090420.9558 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405687 and bi.ref ='324.1646.00.1' and bi.lordem =6
20240903@090421.1120 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.1160 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@090421.1147 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.1267 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 1 valor from td where td.ndoc = 39
20240903@090421.1566 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.1569 3vubf3lcnipe2ciluce9fc1e9u 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')
20240903@090421.1636 3vubf3lcnipe2ciluce9fc1e9u 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
20240903@090421.1790 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.1794 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 ~inactivo valor from cl where no = '102388' and estab = 0 order by inactivo desc
20240903@090421.1930 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.1935 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@090421.2037 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.2041 3vubf3lcnipe2ciluce9fc1e9u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@090421.2498 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.2581 3vubf3lcnipe2ciluce9fc1e9u Query : select szadrsstamp valor from szadrs where szadrsdesc='armazÉns pomar, lda'
20240903@090421.3108 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.3112 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from td where ndoc = 39
20240903@090421.3754 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@090421.3940 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.4233 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@090421.4292 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.4310 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@090421.4343 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.4362 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@090421.4380 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@090421.4583 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@090421.4690 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.4710 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@090421.4757 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d6c1376966d6c3056a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@090421.5676 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.5698 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@090421.5739 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@090421.5845 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@090421.5933 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@090421.6012 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@090421.6089 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@090421.6168 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@090421.6243 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d6c1376966d6c3056a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@090421.7057 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 fno valor from wsftdata order by fno desc
20240903@090421.7166 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.7186 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@090421.7215 3vubf3lcnipe2ciluce9fc1e9u Query : select 'normal' from dummy
20240903@090421.7264 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d6c1376966d6c3056a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',576,102388,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@090421.8300 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.8304 3vubf3lcnipe2ciluce9fc1e9u Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240903@090421.8439 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240903@090421.8588 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.8609 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090421.8645 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.8665 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090421.8676 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090421.8721 3vubf3lcnipe2ciluce9fc1e9u Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240903@090421.8794 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.8813 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090421.8829 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c5697066d6c305d6','aut66d6c1376966d6c3056a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090421.8934 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.8953 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090421.8996 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d6c5697066d6c305d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d6c1376966d6c3056a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@090421.9590 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090421.9594 3vubf3lcnipe2ciluce9fc1e9u Query : select st.usalote valor from st where st.ref = '324.1407.00.1'
20240903@090421.9620 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1407.00.1'
20240903@090421.9779 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.9798 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090421.9828 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.9844 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090421.9854 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090421.9869 3vubf3lcnipe2ciluce9fc1e9u Query : select sestamp valor from se where ref ='324.1407.00.1' and lote = 'r2100703100a'
20240903@090421.9891 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.9909 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090421.9924 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c1717666d6c305f1','aut66d6c1376966d6c3056a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090421.9930 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090421.9948 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090421.9981 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d6c1717666d6c305f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66d6c1376966d6c3056a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@090422.1286 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090422.1290 3vubf3lcnipe2ciluce9fc1e9u Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240903@090422.1318 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20240903@090422.1484 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.1504 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.1534 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.1552 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.1561 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090422.1576 3vubf3lcnipe2ciluce9fc1e9u Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240903@090422.1601 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.1622 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.1635 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c6104066d6c30627','aut66d6c1376966d6c3056a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090422.1640 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.1658 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.1693 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d6c6104066d6c30627',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66d6c1376966d6c3056a' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240903@090422.1984 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.2003 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.2034 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.2053 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.2063 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090422.2078 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.2096 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.2109 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c4090166d6c30632','aut66d6c1376966d6c3056a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090422.2114 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.2131 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.2163 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d6c4090166d6c30632',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d6c1376966d6c3056a' ,0,0 ,2,23.00,40000,?,?,?)
20240903@090422.2454 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090422.2458 3vubf3lcnipe2ciluce9fc1e9u Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240903@090422.2502 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240903@090422.2662 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.2680 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.2738 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.2757 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.2767 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090422.2782 3vubf3lcnipe2ciluce9fc1e9u Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240903@090422.2856 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.2875 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.2890 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c6048066d6c30645','aut66d6c1376966d6c3056a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090422.2895 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.2913 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.2946 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d6c6048066d6c30645',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d6c1376966d6c3056a' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240903@090422.3242 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.3262 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.3293 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.3311 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.3322 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090422.3336 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.3352 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.3366 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c5349166d6c30651','aut66d6c1376966d6c3056a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090422.3370 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.3388 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.3424 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d6c5349166d6c30651',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d6c1376966d6c3056a' ,0,0 ,2,23.00,70000,?,?,?)
20240903@090422.3702 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090422.3705 3vubf3lcnipe2ciluce9fc1e9u Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240903@090422.3731 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20240903@090422.3894 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.3914 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.3943 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.3960 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.3970 3vubf3lcnipe2ciluce9fc1e9u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090422.3984 3vubf3lcnipe2ciluce9fc1e9u Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20240903@090422.3999 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.4016 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090422.4032 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c8997966d6c30661','aut66d6c1376966d6c3056a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090422.4037 3vubf3lcnipe2ciluce9fc1e9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.4054 3vubf3lcnipe2ciluce9fc1e9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090422.4087 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d6c8997966d6c30661',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d6c1376966d6c3056a' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240903@090422.4373 3vubf3lcnipe2ciluce9fc1e9u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d6c1376966d6c3056a','2405687','wait',39,'adm09112754980.682000002')
20240903@090422.4481 3vubf3lcnipe2ciluce9fc1e9u Query : use flama_phc
20240903@090422.4484 3vubf3lcnipe2ciluce9fc1e9u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@090422.4535 3vubf3lcnipe2ciluce9fc1e9u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1797';
20240903@090422.4576 3vubf3lcnipe2ciluce9fc1e9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1797';
20240903@090422.4623 3vubf3lcnipe2ciluce9fc1e9u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1797';
20240903@090422.4657 3vubf3lcnipe2ciluce9fc1e9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1797';
20240903@090422.5242 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@090422.5254 s3u3q45jmle7q1sfcpb6vfrm66 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@090422.5329 s3u3q45jmle7q1sfcpb6vfrm66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1798';
20240903@090422.5411 s3u3q45jmle7q1sfcpb6vfrm66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1798';
20240903@090422.5466 s3u3q45jmle7q1sfcpb6vfrm66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1798';
20240903@090422.5497 s3u3q45jmle7q1sfcpb6vfrm66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1798';
20240903@090422.5548 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.5552 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@090422.5646 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.5650 s3u3q45jmle7q1sfcpb6vfrm66 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8498
20240903@090422.5740 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240903@090422.5907 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240903@090422.6066 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240903@090422.6220 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240903@090422.6381 s3u3q45jmle7q1sfcpb6vfrm66 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'
20240903@090422.6535 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20240903@090422.6692 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240903@090422.6714 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240903@090422.6735 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240903@090422.6893 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20240903@090422.7050 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.7053 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@090422.7089 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.7092 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 1 valor from td where td.ndoc = 39
20240903@090422.7136 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.7140 s3u3q45jmle7q1sfcpb6vfrm66 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')
20240903@090422.7174 s3u3q45jmle7q1sfcpb6vfrm66 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
20240903@090422.7225 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.7229 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 ~inactivo valor from cl where no = '101794' and estab = 0 order by inactivo desc
20240903@090422.7369 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.7372 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@090422.7425 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.7428 s3u3q45jmle7q1sfcpb6vfrm66 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@090422.7475 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.7479 s3u3q45jmle7q1sfcpb6vfrm66 Query : select szadrsstamp valor from szadrs where szadrsdesc='euronics de felgueiras – dÁrio a.almeida lda'
20240903@090422.7531 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090422.7535 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from td where ndoc = 39
20240903@090422.7549 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@090422.7566 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.7586 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@090422.7618 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.7640 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@090422.7675 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.7691 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@090422.7707 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@090422.7781 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@090422.7797 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.7814 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@090422.7831 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@090422.8040 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.8061 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@090422.8104 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@090422.8121 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@090422.8139 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@090422.8156 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@090422.8170 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@090422.8184 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@090422.8435 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d6c4586266d6c306bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@090422.9641 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 fno valor from wsftdata order by fno desc
20240903@090422.9671 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090422.9690 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@090422.9715 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 'normal' from dummy
20240903@090422.9733 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d6c4586266d6c306bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',577,101794,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@090423.6700 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.7000 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240903@090423.9500 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240903@090423.2590 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.2790 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.3090 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.3290 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.3390 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.3530 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240903@090423.3690 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.3880 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.4010 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c9066066d6c30709','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.4060 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.4240 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.4570 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c9066066d6c30709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,10000,?,?,?,?)
20240903@090423.7520 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7730 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.8030 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.8210 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.8310 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.8580 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.8770 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.8920 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c9888566d6c30714','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.8970 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.9150 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.9480 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d6c9888566d6c30714',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,20000,?,?,?)
20240903@090423.1236 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.1240 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240903@090423.1264 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240903@090423.1434 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.1454 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.1499 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.1525 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.1536 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.1551 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240903@090423.1569 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.1590 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.1606 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c8261666d6c30726','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.1611 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.1636 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.1675 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c8261666d6c30726',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,40000,?,?,?,?)
20240903@090423.2074 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.2080 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240903@090423.2129 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240903@090423.2295 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.2315 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.2347 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.2363 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.2372 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.2387 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240903@090423.2403 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.2420 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.2434 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c3605966d6c3073a','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.2439 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.2460 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.3785 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c3605966d6c3073a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,50000,?,?,?,?)
20240903@090423.4202 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.4205 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240903@090423.4231 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20240903@090423.4388 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.4429 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.4463 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.4482 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.4492 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.4506 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240903@090423.4521 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.4540 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.4553 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c4532566d6c3076e','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.4558 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.4576 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.4613 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c4532566d6c3076e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,60000,?,?,?,?)
20240903@090423.4905 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.4925 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.4957 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.4974 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.4984 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.4998 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.5015 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.5028 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c4925766d6c3077a','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.5034 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.5051 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.5083 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d6c4925766d6c3077a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,70000,?,?,?)
20240903@090423.5377 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.5380 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240903@090423.5405 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@090423.5571 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.5591 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.5620 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.5639 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.5649 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.5664 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2300643200a'
20240903@090423.5680 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.5696 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.5709 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c4521066d6c3078a','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.5714 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.5731 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.5764 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c4521066d6c3078a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,90000,?,?,?,?)
20240903@090423.6036 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.6054 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.6082 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.6101 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.6111 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.6125 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.6142 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.6157 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c5933866d6c30795','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.6163 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.6181 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.6220 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d6c5933866d6c30795',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,100000,?,?,?)
20240903@090423.6517 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.6521 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240903@090423.6545 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20240903@090423.6707 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.6726 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.6759 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.6775 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.6787 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.6802 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240903@090423.6820 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.6836 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.6849 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c0133766d6c307a6','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.6854 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.6871 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.6904 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c0133766d6c307a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,120000,?,?,?,?)
20240903@090423.7188 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.7191 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240903@090423.7214 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240903@090423.7230 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7252 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.7282 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7298 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.7308 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.7322 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240903@090423.7339 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7356 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.7370 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c7499466d6c307b3','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.7375 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7392 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.7425 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c7499466d6c307b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,130000,?,?,?,?)
20240903@090423.7724 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.7727 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240903@090423.7752 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240903@090423.7770 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7788 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.7818 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7836 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.7847 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.7864 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240903@090423.7881 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7899 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.7912 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c5430666d6c307c0','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.7919 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.7938 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.7975 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c5430666d6c307c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,140000,?,?,?,?)
20240903@090423.8255 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090423.8259 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20240903@090423.8285 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1675.00.2'
20240903@090423.8452 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.8644 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.8678 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.8697 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.8707 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090423.8722 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20240903@090423.8746 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.8764 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090423.8780 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c1971566d6c307d5','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090423.8785 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090423.8805 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090423.8838 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c1971566d6c307d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,150000,?,?,?,?)
20240903@090424.3590 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090424.3630 s3u3q45jmle7q1sfcpb6vfrm66 Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20240903@090424.3910 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1643.00.1'
20240903@090424.5680 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090424.5880 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090424.6230 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090424.6420 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090424.6530 s3u3q45jmle7q1sfcpb6vfrm66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@090424.6690 s3u3q45jmle7q1sfcpb6vfrm66 Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20240903@090424.6970 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090424.7150 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@090424.7290 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d6c0262366d6c30811','aut66d6c4586266d6c306bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@090424.7340 s3u3q45jmle7q1sfcpb6vfrm66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@090424.7520 s3u3q45jmle7q1sfcpb6vfrm66 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@090424.7860 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d6c0262366d6c30811',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d6c4586266d6c306bc' ,0,0 ,2,23.00,160000,?,?,?,?)
20240903@090424.1073 s3u3q45jmle7q1sfcpb6vfrm66 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d6c4586266d6c306bc','2405686','wait',39,'adm09112754980.682000002')
20240903@090424.1169 s3u3q45jmle7q1sfcpb6vfrm66 Query : use flama_phc
20240903@090424.1174 s3u3q45jmle7q1sfcpb6vfrm66 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@090424.1215 s3u3q45jmle7q1sfcpb6vfrm66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1798';
20240903@090424.1259 s3u3q45jmle7q1sfcpb6vfrm66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1798';
20240903@090424.1323 s3u3q45jmle7q1sfcpb6vfrm66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1798';
20240903@090424.1358 s3u3q45jmle7q1sfcpb6vfrm66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1798';

20240903@152323.7157 81300j3j48u711vlfq2oafpl31 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1799';
20240903@152323.7227 81300j3j48u711vlfq2oafpl31 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1799';
20240903@152323.7263 81300j3j48u711vlfq2oafpl31 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1799';
20240903@152323.7306 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152323.7310 81300j3j48u711vlfq2oafpl31 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@152323.7424 81300j3j48u711vlfq2oafpl31 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.679.00.01'
20240903@152323.7558 81300j3j48u711vlfq2oafpl31 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 = 2400685 and bi.ref ='324.679.00.01' and bi.lordem =20000
20240903@152323.7919 81300j3j48u711vlfq2oafpl31 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 = 'cps24060555520,784000002 ' 
20240903@152323.8346 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152323.8350 81300j3j48u711vlfq2oafpl31 Query : select top 1 1 valor from ts where ts.ndos = 61
20240903@152323.8463 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152323.8468 81300j3j48u711vlfq2oafpl31 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')
20240903@152323.8544 81300j3j48u711vlfq2oafpl31 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
20240903@152323.8713 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152323.8717 81300j3j48u711vlfq2oafpl31 Query : select top 1 ~inactivo valor from fl where no = '202549' and estab = 00 order by inactivo desc
20240903@152323.8862 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152323.8866 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from ts where ndos = 61
20240903@152323.8952 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152323.9297 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240903@152323.9366 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152323.9386 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240903@152323.9399 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152323.9420 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240903@152324.2820 81300j3j48u711vlfq2oafpl31 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
20240903@152324.7920 81300j3j48u711vlfq2oafpl31 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240903@152324.9000 81300j3j48u711vlfq2oafpl31 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240903@152324.9220 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152324.9310 81300j3j48u711vlfq2oafpl31 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202549' and estab=00
20240903@152324.1032 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.1051 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240903@152324.1089 81300j3j48u711vlfq2oafpl31 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d711915466d71bdc16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240903@152324.1146 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.1165 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240903@152324.1182 81300j3j48u711vlfq2oafpl31 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d711915466d71bdc16','--','bo',7.8761266466373931130 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240903@152324.1380 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.1399 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240903@152324.1414 81300j3j48u711vlfq2oafpl31 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 ('aut66d711915466d71bdc16','guia r. fornecedor','2024-09-03',61,2402447,?,?,?,?,?,?,?,?,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')
20240903@152324.1930 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152324.1934 81300j3j48u711vlfq2oafpl31 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240903@152324.2072 81300j3j48u711vlfq2oafpl31 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.679.00.01'
20240903@152324.2214 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.2232 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240903@152324.2250 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.2269 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240903@152324.2280 81300j3j48u711vlfq2oafpl31 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400685200a'
20240903@152324.2363 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.2381 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240903@152324.2392 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.2407 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240903@152324.2423 81300j3j48u711vlfq2oafpl31 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d714394466d71bdc3a',?,?,'20240903',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240903@152324.2970 81300j3j48u711vlfq2oafpl31 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@152324.3015 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.3037 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240903@152324.3054 81300j3j48u711vlfq2oafpl31 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66d716724266d71bdc49','aut66d711915466d71bdc16',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 = 'aut66d711915466d71bdc16'
20240903@152324.3234 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@152324.3253 81300j3j48u711vlfq2oafpl31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240903@152324.3277 81300j3j48u711vlfq2oafpl31 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 'aut66d716724266d71bdc49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 765, 765*.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 ,43.27,43.27*200.48,43.27,43.27*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,43.27*765,43.27*765*200.48 ,53.418000,53.418000*200.48 ,53.418000,53.418000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,43.27,43.27*200.48,43.27*765,43.27*765*200.48,'cps24060555520,784000002 ',340.8,340.8*765,340.8,340.8*765,?,?,?,4 from bo bo where bo.bostamp = 'aut66d711915466d71bdc16'
20240903@152332.1773 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152332.1779 81300j3j48u711vlfq2oafpl31 Query : declare @bostamp varchar(25) = 'aut66d711915466d71bdc16' ,@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 
20240903@152344.5655 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152344.5659 81300j3j48u711vlfq2oafpl31 Query : select 1 valor from bo where bo.bostamp = 'aut66d711915466d71bdc16'
20240903@152344.5793 81300j3j48u711vlfq2oafpl31 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) = 'aut66d711915466d71bdc16' 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 
20240903@152344.8048 81300j3j48u711vlfq2oafpl31 Query : use flama_phc
20240903@152344.8053 81300j3j48u711vlfq2oafpl31 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@152344.8106 81300j3j48u711vlfq2oafpl31 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1799';
20240903@152344.8144 81300j3j48u711vlfq2oafpl31 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1799';

20240903@182525.6191 89n4m8ua5rqbjm97bi56e31pqt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1800';
20240903@182525.6247 89n4m8ua5rqbjm97bi56e31pqt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1800';
20240903@182525.6280 89n4m8ua5rqbjm97bi56e31pqt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1800';
20240903@182525.6352 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182525.6357 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182525.6440 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182525.6444 89n4m8ua5rqbjm97bi56e31pqt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20240903@182525.6564 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240903@182525.6863 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1667.00.1' and bi.lordem =1
20240903@182525.7448 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240903@182525.7476 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1667.00.1' and bi.lordem =1
20240903@182525.7499 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240903@182525.7524 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1667.00.1' and bi.lordem =1
20240903@182525.7549 89n4m8ua5rqbjm97bi56e31pqt 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'
20240903@182525.7919 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='325.1670.3015' and bi.lordem =2
20240903@182525.8267 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240903@182525.8440 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1646.00.1' and bi.lordem =3
20240903@182525.8803 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240903@182525.8830 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1646.00.1' and bi.lordem =3
20240903@182525.8849 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240903@182525.8873 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1646.00.1' and bi.lordem =3
20240903@182525.8894 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240903@182525.8924 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1646.00.1' and bi.lordem =3
20240903@182525.8943 89n4m8ua5rqbjm97bi56e31pqt 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'
20240903@182525.9107 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1684.00.1' and bi.lordem =4
20240903@182526.5610 89n4m8ua5rqbjm97bi56e31pqt 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'
20240903@182526.5870 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1684.00.1' and bi.lordem =4
20240903@182526.6090 89n4m8ua5rqbjm97bi56e31pqt 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'
20240903@182526.6300 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1684.00.1' and bi.lordem =4
20240903@182526.6540 89n4m8ua5rqbjm97bi56e31pqt 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'
20240903@182526.6750 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405689 and bi.ref ='324.1684.00.1' and bi.lordem =4
20240903@182526.6940 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.6980 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182526.9600 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.9630 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182526.1065 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.1069 89n4m8ua5rqbjm97bi56e31pqt 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')
20240903@182526.1102 89n4m8ua5rqbjm97bi56e31pqt 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
20240903@182526.1244 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.1249 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20240903@182526.1377 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.1381 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182526.1473 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.1477 89n4m8ua5rqbjm97bi56e31pqt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182526.1556 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.1560 89n4m8ua5rqbjm97bi56e31pqt Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20240903@182526.1618 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.1622 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from td where ndoc = 39
20240903@182526.1703 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182526.1766 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.1793 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182526.1820 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.1838 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182526.1875 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.1894 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182526.1912 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182526.2111 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182526.2213 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.2234 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182526.2255 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182526.2596 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.2782 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182526.2929 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182526.3036 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182526.3120 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182526.3348 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182526.3491 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182526.3573 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182526.3641 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d743367366d746862e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182526.4135 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182526.4236 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.4257 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182526.4284 89n4m8ua5rqbjm97bi56e31pqt Query : select 'normal' from dummy
20240903@182526.4335 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d743367366d746862e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',578,199510,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182526.4794 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.4797 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240903@182526.4829 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20240903@182526.4979 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.4998 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.5034 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.5052 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.5063 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182526.5077 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20240903@182526.5094 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.5111 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.5125 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749192366d746867c','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182526.5187 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.5204 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.5241 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749192366d746867c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182526.5646 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.5665 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.5696 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.5715 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.5726 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182526.5740 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.5759 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.5773 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742801266d746868c','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182526.5778 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.5803 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.5838 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d742801266d746868c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182526.6109 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.6113 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240903@182526.6135 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20240903@182526.6152 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.6171 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.6203 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.6220 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.6231 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182526.6248 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20240903@182526.6263 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.6281 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.6294 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745087766d7468698','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182526.6299 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.6318 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.6351 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745087766d7468698',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182526.7612 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.7631 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.7661 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.7679 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.7688 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182526.7702 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.7719 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.7733 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744686966d74686bc','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182526.7738 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.7756 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.7786 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d744686966d74686bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,50000,?,?,?)
20240903@182526.8245 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.8287 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240903@182526.8388 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20240903@182526.8405 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.8425 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.8454 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.8471 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.8483 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182526.8497 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20240903@182526.8514 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.8531 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.8544 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742363366d74686cf','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182526.8549 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.8566 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.8598 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d742363366d74686cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240903@182526.8895 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.8916 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.8949 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.8966 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.8976 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182526.8990 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.9007 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.9022 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747825166d74686db','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182526.9028 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.9047 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.9082 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747825166d74686db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,80000,?,?,?)
20240903@182526.9350 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.9354 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '325.1670.3015'
20240903@182526.9379 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240903@182526.9536 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.9555 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.9587 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.9604 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.9615 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182526.9632 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='325.1670.3015' and lote = 'r2301133100a'
20240903@182526.9650 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.9668 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182526.9681 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746768966d74686eb','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182526.9685 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182526.9702 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182526.9732 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746768966d74686eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',102.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240903@182526.9996 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182526.9999 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240903@182527.2200 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20240903@182527.1790 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.1980 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.2300 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2480 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.2580 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182527.2720 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20240903@182527.2960 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3120 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.3250 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748804166d7468707','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182527.3290 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3460 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.3760 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748804166d7468707',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240903@182527.6540 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182527.6570 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240903@182527.6870 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20240903@182527.7030 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.7210 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.7500 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.7680 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.7790 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182527.7940 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20240903@182527.8080 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.8260 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.8380 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747965566d7468713','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182527.8430 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.8610 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.8940 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747965566d7468713',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240903@182527.1456 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182527.1488 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240903@182527.1511 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20240903@182527.1526 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.1546 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.1575 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.1594 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.1605 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182527.1619 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20240903@182527.1634 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.1651 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.1664 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749523266d7468727','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182527.1669 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.1685 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.1718 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749523266d7468727',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240903@182527.1992 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182527.1995 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240903@182527.2016 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20240903@182527.2031 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2049 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.2079 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2096 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.2106 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182527.2121 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20240903@182527.2137 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2155 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.2169 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741195866d7468734','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182527.2175 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2191 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.2225 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d741195866d7468734',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20240903@182527.2483 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182527.2487 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240903@182527.2510 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182527.2673 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2693 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.2724 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2741 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.2752 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182527.2768 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240903@182527.2783 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2800 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.2817 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745956866d7468743','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182527.2821 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.2840 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.2873 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745956866d7468743',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240903@182527.3140 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182527.3145 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240903@182527.3167 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182527.3182 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3201 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.3230 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3248 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.3257 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182527.3272 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240903@182527.3289 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3305 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.3323 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743328366d7468750','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182527.3327 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3343 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.3376 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743328366d7468750',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240903@182527.3644 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182527.3648 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240903@182527.3677 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182527.3693 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3712 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.3744 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3760 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.3770 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182527.3786 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240903@182527.3801 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3818 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.3831 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744612566d746875c','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182527.3838 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.3855 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.3885 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744612566d746875c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20240903@182527.4156 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182527.4160 89n4m8ua5rqbjm97bi56e31pqt Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240903@182527.4185 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182527.4202 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.4220 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.4250 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.4268 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.4278 89n4m8ua5rqbjm97bi56e31pqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182527.4294 89n4m8ua5rqbjm97bi56e31pqt Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240903@182527.4309 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.4326 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182527.4340 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745412166d7468769','aut66d743367366d746862e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182527.4345 89n4m8ua5rqbjm97bi56e31pqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182527.4362 89n4m8ua5rqbjm97bi56e31pqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182527.4393 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745412166d7468769',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66d743367366d746862e' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20240903@182527.5018 89n4m8ua5rqbjm97bi56e31pqt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d743367366d746862e','2405689','wait',39,'adm09112754980.682000002')
20240903@182527.6671 89n4m8ua5rqbjm97bi56e31pqt Query : use flama_phc
20240903@182527.6675 89n4m8ua5rqbjm97bi56e31pqt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182527.6750 89n4m8ua5rqbjm97bi56e31pqt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1800';
20240903@182527.6790 89n4m8ua5rqbjm97bi56e31pqt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1800';
20240903@182527.6831 89n4m8ua5rqbjm97bi56e31pqt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1800';
20240903@182527.6858 89n4m8ua5rqbjm97bi56e31pqt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1800';
20240903@182527.8315 hfcrd3apunekuqarfm1lfl995c Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182527.8329 hfcrd3apunekuqarfm1lfl995c Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182527.8394 hfcrd3apunekuqarfm1lfl995c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1801';
20240903@182527.8453 hfcrd3apunekuqarfm1lfl995c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1801';
20240903@182527.8508 hfcrd3apunekuqarfm1lfl995c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1801';
20240903@182527.8536 hfcrd3apunekuqarfm1lfl995c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1801';
20240903@182527.8588 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182527.8591 hfcrd3apunekuqarfm1lfl995c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182527.8661 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182527.8665 hfcrd3apunekuqarfm1lfl995c Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240903@182527.8750 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182527.8935 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240903@182527.9254 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182527.9278 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240903@182527.9296 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182527.9318 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240903@182527.9337 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182527.9359 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240903@182527.9377 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182527.9416 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240903@182527.9434 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182527.9457 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240903@182527.9477 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182527.9500 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240903@182527.9518 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240903@182528.7500 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.958.00.01' and bi.lordem =2
20240903@182528.1074 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240903@182528.1097 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.958.00.01' and bi.lordem =2
20240903@182528.1117 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240903@182528.1139 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.958.00.01' and bi.lordem =2
20240903@182528.1158 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240903@182528.1229 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.958.00.01' and bi.lordem =2
20240903@182528.1248 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240903@182528.1413 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.948.00.01' and bi.lordem =3
20240903@182528.1758 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240903@182528.1921 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.727.00.01' and bi.lordem =4
20240903@182528.2253 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240903@182528.2278 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.727.00.01' and bi.lordem =4
20240903@182528.2298 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240903@182528.2321 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.727.00.01' and bi.lordem =4
20240903@182528.2340 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240903@182528.2362 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.727.00.01' and bi.lordem =4
20240903@182528.2380 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2028.00.2'
20240903@182528.2551 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.2028.00.2' and bi.lordem =5
20240903@182528.2882 hfcrd3apunekuqarfm1lfl995c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240903@182528.3041 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405690 and bi.ref ='324.4970.00.1' and bi.lordem =6
20240903@182528.3398 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.3403 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182528.3442 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.3446 hfcrd3apunekuqarfm1lfl995c Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182528.3479 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.3483 hfcrd3apunekuqarfm1lfl995c 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')
20240903@182528.3515 hfcrd3apunekuqarfm1lfl995c 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
20240903@182528.3557 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.3560 hfcrd3apunekuqarfm1lfl995c Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240903@182528.3694 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.3698 hfcrd3apunekuqarfm1lfl995c Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182528.3734 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.3738 hfcrd3apunekuqarfm1lfl995c Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182528.3788 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.3791 hfcrd3apunekuqarfm1lfl995c Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240903@182528.3845 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.3849 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from td where ndoc = 39
20240903@182528.3864 hfcrd3apunekuqarfm1lfl995c Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182528.3880 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.3898 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182528.3920 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.3937 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182528.3969 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.3986 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182528.4001 hfcrd3apunekuqarfm1lfl995c Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182528.4072 hfcrd3apunekuqarfm1lfl995c Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182528.4086 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.4102 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182528.4120 hfcrd3apunekuqarfm1lfl995c Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182528.4301 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.4320 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182528.4379 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182528.4394 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182528.4408 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182528.4421 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182528.4434 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182528.4448 hfcrd3apunekuqarfm1lfl995c Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182528.4464 hfcrd3apunekuqarfm1lfl995c Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d740465466d7468861',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182528.4758 hfcrd3apunekuqarfm1lfl995c Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182528.4786 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.4808 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182528.4834 hfcrd3apunekuqarfm1lfl995c Query : select 'normal' from dummy
20240903@182528.4851 hfcrd3apunekuqarfm1lfl995c Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d740465466d7468861',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',579,101597,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182528.5162 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.5166 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240903@182528.5190 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240903@182528.5348 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.5367 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.5395 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.5411 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.5421 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182528.5437 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240903@182528.5453 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.5469 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.5484 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743368466d7468885','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182528.5496 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.5513 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.5547 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743368466d7468885',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182528.5829 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.5851 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.5885 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.5903 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.5913 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182528.5928 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.5947 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.5961 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748210666d7468890','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182528.5976 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.5995 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.6029 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d748210666d7468890',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182528.6404 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.6408 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240903@182528.6433 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240903@182528.6450 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.6470 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.6503 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.6522 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.6533 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182528.6548 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240903@182528.6564 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.6583 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.6597 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749159166d74688a0','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182528.6602 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.6621 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.6656 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749159166d74688a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182528.6996 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.7017 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.7046 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.7063 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.7074 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182528.7090 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.7110 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.7125 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740429266d74688ad','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182528.7131 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.7150 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.7187 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d740429266d74688ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,50000,?,?,?)
20240903@182528.7566 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.7570 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240903@182528.7596 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240903@182528.7613 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.7633 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.7665 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.7683 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.7694 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182528.7709 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240903@182528.7725 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.7743 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.7757 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747860566d74688bc','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182528.7762 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.7780 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.7814 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747860566d74688bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240903@182528.8148 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.8170 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.8203 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.8223 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.8233 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182528.8248 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.8267 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.8281 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743891366d74688c9','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182528.8287 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.8306 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.8344 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d743891366d74688c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,80000,?,?,?)
20240903@182528.8648 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182528.8652 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240903@182528.8676 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240903@182528.8693 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.8715 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.8747 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.8766 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.8780 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182528.8796 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240903@182528.8813 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.8832 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.8848 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749402466d74688d7','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182528.8854 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.8875 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.8910 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749402466d74688d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240903@182528.9181 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.9199 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.9228 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.9243 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.9253 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182528.9268 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.9285 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182528.9298 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749894266d74688e2','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182528.9303 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182528.9320 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182528.9352 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d749894266d74688e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,110000,?,?,?)
20240903@182529.5010 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.6910 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240903@182529.7190 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240903@182529.7330 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7500 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.7750 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7890 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.7980 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.8110 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240903@182529.8240 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8490 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.8610 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746207466d7468914','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.8650 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8810 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.9120 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746207466d7468914',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240903@182529.1186 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.1203 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.1230 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.1246 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.1256 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.1270 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.1290 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.1302 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747755166d746891f','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.1307 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.1325 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.1354 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747755166d746891f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,140000,?,?,?)
20240903@182529.1609 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.1613 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240903@182529.1636 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240903@182529.1651 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.1668 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.1696 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.1716 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.1726 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.1740 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240903@182529.1754 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.1770 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.1784 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748952466d746892a','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.1789 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.1806 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.1837 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748952466d746892a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240903@182529.2106 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.2125 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.2155 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.2172 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.2183 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.2198 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.2214 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.2228 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747683766d7468935','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.2232 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.2249 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.2281 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747683766d7468935',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,170000,?,?,?)
20240903@182529.2547 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.2550 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240903@182529.2572 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240903@182529.2588 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.2607 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.2638 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.2655 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.2665 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.2680 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240903@182529.2696 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.2711 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.2725 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743804066d7468941','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.2730 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.2760 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.2793 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743804066d7468941',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240903@182529.3067 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.3087 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.3117 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.3134 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.3144 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.3158 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.3175 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.3189 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749863666d746894d','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.3195 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.3212 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.3244 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d749863666d746894d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,200000,?,?,?)
20240903@182529.3510 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.3513 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240903@182529.3536 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240903@182529.3687 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.3705 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.3735 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.3751 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.3761 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.3774 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240903@182529.3792 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.3808 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.3822 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745662366d746895c','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.3827 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.3845 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.3876 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745662366d746895c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240903@182529.4129 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.4133 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240903@182529.4220 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240903@182529.4238 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.4257 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.4286 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.4302 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.4311 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.4324 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240903@182529.4338 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.4354 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.4368 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746387966d7468969','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.4373 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.4388 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.4420 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746387966d7468969',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20240903@182529.4964 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.4969 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240903@182529.4991 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240903@182529.5007 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.5026 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.5057 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.5073 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.5082 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.5096 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240903@182529.5110 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.5127 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.5141 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740003966d746897c','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.5145 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.5161 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.5193 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740003966d746897c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20240903@182529.5478 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.5482 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240903@182529.5505 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240903@182529.5521 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.5538 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.5567 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.5584 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.5594 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.5607 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240903@182529.5715 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.5954 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.5969 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746090166d746898b','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.5975 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.5994 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.6025 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746090166d746898b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240903@182529.6290 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.6293 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240903@182529.6319 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240903@182529.6508 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.6527 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.6556 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.6573 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.6582 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.6596 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240903@182529.6613 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.6628 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.6641 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748655466d74689a1','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.6646 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.6662 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.6691 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748655466d74689a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20240903@182529.6977 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.6981 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240903@182529.7004 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240903@182529.7159 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7178 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.7206 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7223 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.7232 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.7246 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240903@182529.7269 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7285 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.7299 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744724866d74689b1','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.7303 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7321 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.7351 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744724866d74689b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,270000,?,?,?,?,?)
20240903@182529.7655 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7676 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.7704 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7722 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.7732 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.7746 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7762 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.7777 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741679566d74689bd','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.7782 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.7798 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.7833 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d741679566d74689bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,280000,?,?,?)
20240903@182529.8109 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.8113 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240903@182529.8135 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240903@182529.8151 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8168 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.8197 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8213 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.8224 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.8239 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20240903@182529.8255 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8273 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.8288 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740081066d74689c9','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.8293 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8309 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.8344 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740081066d74689c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,300000,?,?,?,?,?)
20240903@182529.8617 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8635 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.8666 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8683 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.8693 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.8706 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8723 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.8737 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743357666d74689d4','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.8743 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.8760 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.8797 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d743357666d74689d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,310000,?,?,?)
20240903@182529.9067 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182529.9070 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240903@182529.9091 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240903@182529.9107 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.9125 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.9154 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.9170 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.9181 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.9195 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20240903@182529.9208 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.9224 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.9238 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744409266d74689e0','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.9243 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.9259 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.9310 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744409266d74689e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,330000,?,?,?,?,?)
20240903@182529.9577 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.9595 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.9624 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.9640 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.9650 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182529.9664 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.9681 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182529.9696 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741079666d74689eb','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182529.9702 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182529.9719 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182529.9751 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d741079666d74689eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,340000,?,?,?)
20240903@182530.1500 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182530.1900 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240903@182530.4300 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240903@182530.5800 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.7500 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.1040 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.1200 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.1300 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182530.1510 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20240903@182530.1790 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.1950 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.2100 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740913866d7468a04','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182530.2150 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.2330 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.2630 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740913866d7468a04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,360000,?,?,?,?,?)
20240903@182530.5360 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.5540 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.5820 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.5990 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.6080 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182530.6230 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.6400 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.6530 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744497666d7468a0f','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182530.6570 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.6730 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.7030 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d744497666d7468a0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,370000,?,?,?)
20240903@182530.2027 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182530.2031 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.2028.00.2'
20240903@182530.2057 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2028.00.2'
20240903@182530.2214 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.2232 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.2261 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.2276 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.2285 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182530.2298 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.2028.00.2' and lote = 'r2100875100a'
20240903@182530.2327 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.2423 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.2439 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746000666d7468a38','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182530.2444 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.2464 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.2541 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746000666d7468a38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',192.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,390000,?,?,?,?,?)
20240903@182530.3137 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.3182 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.3210 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.3226 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.3236 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182530.3327 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.3539 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.3554 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749484266d7468a51','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182530.3560 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.3579 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.3611 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d749484266d7468a51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,400000,?,?,?)
20240903@182530.3938 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182530.3998 hfcrd3apunekuqarfm1lfl995c Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240903@182530.4199 hfcrd3apunekuqarfm1lfl995c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240903@182530.4357 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.4374 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.4401 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.4418 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.4428 hfcrd3apunekuqarfm1lfl995c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182530.4441 hfcrd3apunekuqarfm1lfl995c Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240903@182530.4456 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.4474 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182530.4489 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742130166d7468a6c','aut66d740465466d7468861' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182530.4502 hfcrd3apunekuqarfm1lfl995c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.4519 hfcrd3apunekuqarfm1lfl995c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182530.4549 hfcrd3apunekuqarfm1lfl995c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d742130166d7468a6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut66d740465466d7468861' ,0,0 ,2,23.00,420000,?,?,?,?,?)
20240903@182530.4827 hfcrd3apunekuqarfm1lfl995c Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d740465466d7468861','2405690','wait',39,'adm09112754980.682000002')
20240903@182530.4910 hfcrd3apunekuqarfm1lfl995c Query : use flama_phc
20240903@182530.4914 hfcrd3apunekuqarfm1lfl995c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182530.4948 hfcrd3apunekuqarfm1lfl995c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1801';
20240903@182530.4988 hfcrd3apunekuqarfm1lfl995c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1801';
20240903@182530.5031 hfcrd3apunekuqarfm1lfl995c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1801';
20240903@182530.5066 hfcrd3apunekuqarfm1lfl995c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1801';
20240903@182530.5675 mln3u5aden17tie82qmsv7n1vv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182530.5687 mln3u5aden17tie82qmsv7n1vv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182530.5749 mln3u5aden17tie82qmsv7n1vv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1802';
20240903@182530.5819 mln3u5aden17tie82qmsv7n1vv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1802';
20240903@182530.5871 mln3u5aden17tie82qmsv7n1vv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1802';
20240903@182530.5899 mln3u5aden17tie82qmsv7n1vv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1802';
20240903@182530.5947 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.5951 mln3u5aden17tie82qmsv7n1vv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182530.6020 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.6023 mln3u5aden17tie82qmsv7n1vv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240903@182530.6068 mln3u5aden17tie82qmsv7n1vv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240903@182530.6237 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405691 and bi.ref ='324.2224.00.1' and bi.lordem =1
20240903@182530.6676 mln3u5aden17tie82qmsv7n1vv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240903@182530.6845 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405691 and bi.ref ='324.2221.00.1' and bi.lordem =2
20240903@182530.7170 mln3u5aden17tie82qmsv7n1vv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240903@182530.7333 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405691 and bi.ref ='324.2222.00.1' and bi.lordem =3
20240903@182530.7673 mln3u5aden17tie82qmsv7n1vv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20240903@182530.7837 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405691 and bi.ref ='324.4962.00.1' and bi.lordem =4
20240903@182530.8170 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.8173 mln3u5aden17tie82qmsv7n1vv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182530.8209 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.8213 mln3u5aden17tie82qmsv7n1vv Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182530.8246 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.8250 mln3u5aden17tie82qmsv7n1vv 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')
20240903@182530.8316 mln3u5aden17tie82qmsv7n1vv 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
20240903@182530.8360 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.8364 mln3u5aden17tie82qmsv7n1vv Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240903@182530.8537 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.8566 mln3u5aden17tie82qmsv7n1vv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182530.8740 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.8744 mln3u5aden17tie82qmsv7n1vv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182530.8811 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.8815 mln3u5aden17tie82qmsv7n1vv Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240903@182530.8866 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182530.8869 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from td where ndoc = 39
20240903@182530.8883 mln3u5aden17tie82qmsv7n1vv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182530.8899 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.8920 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182530.8981 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.9204 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182530.9334 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.9353 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182530.9368 mln3u5aden17tie82qmsv7n1vv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182530.9441 mln3u5aden17tie82qmsv7n1vv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182530.9457 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.9475 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182530.9495 mln3u5aden17tie82qmsv7n1vv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d745976166d7468ae4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182530.9796 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182530.9880 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182530.9919 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182530.9936 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182530.9950 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182530.9965 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182530.9980 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182530.9995 mln3u5aden17tie82qmsv7n1vv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182531.9000 mln3u5aden17tie82qmsv7n1vv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d745976166d7468ae4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182531.2970 mln3u5aden17tie82qmsv7n1vv Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182531.3240 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.3430 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182531.3710 mln3u5aden17tie82qmsv7n1vv Query : select 'normal' from dummy
20240903@182531.3890 mln3u5aden17tie82qmsv7n1vv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d745976166d7468ae4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',580,101597,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182531.6790 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182531.6830 mln3u5aden17tie82qmsv7n1vv Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20240903@182531.7090 mln3u5aden17tie82qmsv7n1vv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20240903@182531.8560 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.8760 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.9090 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.9260 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.9380 mln3u5aden17tie82qmsv7n1vv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182531.9530 mln3u5aden17tie82qmsv7n1vv Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20240903@182531.9690 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.9850 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.9980 mln3u5aden17tie82qmsv7n1vv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743597566d7468b17','aut66d745976166d7468ae4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182531.1003 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.1019 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.1048 mln3u5aden17tie82qmsv7n1vv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743597566d7468b17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d745976166d7468ae4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182531.1316 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182531.1324 mln3u5aden17tie82qmsv7n1vv Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240903@182531.1350 mln3u5aden17tie82qmsv7n1vv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20240903@182531.1500 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.1519 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.1548 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.1565 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.1575 mln3u5aden17tie82qmsv7n1vv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182531.1590 mln3u5aden17tie82qmsv7n1vv Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301281300a'
20240903@182531.1606 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.1622 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.1637 mln3u5aden17tie82qmsv7n1vv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749479466d7468b27','aut66d745976166d7468ae4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182531.1642 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.1657 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.1689 mln3u5aden17tie82qmsv7n1vv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749479466d7468b27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d745976166d7468ae4' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182531.1945 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182531.1949 mln3u5aden17tie82qmsv7n1vv Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20240903@182531.1974 mln3u5aden17tie82qmsv7n1vv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20240903@182531.2124 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.2141 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.2175 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.2193 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.2204 mln3u5aden17tie82qmsv7n1vv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182531.2219 mln3u5aden17tie82qmsv7n1vv Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20240903@182531.2236 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.2253 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.2267 mln3u5aden17tie82qmsv7n1vv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749477466d7468b36','aut66d745976166d7468ae4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182531.2272 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.2289 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.2367 mln3u5aden17tie82qmsv7n1vv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749477466d7468b36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d745976166d7468ae4' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240903@182531.3619 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182531.3623 mln3u5aden17tie82qmsv7n1vv Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20240903@182531.3645 mln3u5aden17tie82qmsv7n1vv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4962.00.1'
20240903@182531.3872 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.3890 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.3917 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.3934 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.3943 mln3u5aden17tie82qmsv7n1vv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182531.3957 mln3u5aden17tie82qmsv7n1vv Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20240903@182531.3979 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.3995 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.4010 mln3u5aden17tie82qmsv7n1vv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743593366d7468b61','aut66d745976166d7468ae4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182531.4014 mln3u5aden17tie82qmsv7n1vv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.4031 mln3u5aden17tie82qmsv7n1vv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.4062 mln3u5aden17tie82qmsv7n1vv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743593366d7468b61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d745976166d7468ae4' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182531.4519 mln3u5aden17tie82qmsv7n1vv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d745976166d7468ae4','2405691','wait',39,'adm09112754980.682000002')
20240903@182531.4671 mln3u5aden17tie82qmsv7n1vv Query : use flama_phc
20240903@182531.4675 mln3u5aden17tie82qmsv7n1vv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182531.4713 mln3u5aden17tie82qmsv7n1vv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1802';
20240903@182531.4753 mln3u5aden17tie82qmsv7n1vv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1802';
20240903@182531.4795 mln3u5aden17tie82qmsv7n1vv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1802';
20240903@182531.4827 mln3u5aden17tie82qmsv7n1vv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1802';
20240903@182531.5405 u2vq2ealpv1dis9ba2382l3pee Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182531.5418 u2vq2ealpv1dis9ba2382l3pee Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182531.5482 u2vq2ealpv1dis9ba2382l3pee Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1803';
20240903@182531.5552 u2vq2ealpv1dis9ba2382l3pee Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1803';
20240903@182531.5606 u2vq2ealpv1dis9ba2382l3pee Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1803';
20240903@182531.5637 u2vq2ealpv1dis9ba2382l3pee Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1803';
20240903@182531.5688 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.5692 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182531.5767 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.5770 u2vq2ealpv1dis9ba2382l3pee Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20240903@182531.5859 u2vq2ealpv1dis9ba2382l3pee 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'
20240903@182531.6021 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405692 and bi.ref ='304.422.00.07' and bi.lordem =1
20240903@182531.6350 u2vq2ealpv1dis9ba2382l3pee 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'
20240903@182531.6514 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405692 and bi.ref ='304.421.00.04' and bi.lordem =2
20240903@182531.6839 u2vq2ealpv1dis9ba2382l3pee 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'
20240903@182531.7004 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405692 and bi.ref ='324.4960.00.1' and bi.lordem =3
20240903@182531.7335 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.7340 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182531.7378 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.7382 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182531.7417 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.7421 u2vq2ealpv1dis9ba2382l3pee 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')
20240903@182531.7454 u2vq2ealpv1dis9ba2382l3pee 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
20240903@182531.7498 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.7503 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240903@182531.7634 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.7638 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182531.7674 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.7678 u2vq2ealpv1dis9ba2382l3pee Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182531.7721 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.7725 u2vq2ealpv1dis9ba2382l3pee Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20240903@182531.7782 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.7786 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from td where ndoc = 39
20240903@182531.7801 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182531.7817 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.7836 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182531.7858 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.7875 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182531.7908 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.7925 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182531.7940 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182531.8011 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182531.8026 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.8043 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182531.8062 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d744445466d7468bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182531.8248 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.8267 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182531.8305 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182531.8318 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182531.8333 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182531.8402 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182531.8487 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182531.8504 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182531.8517 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d744445466d7468bc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182531.8866 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182531.8893 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.8912 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182531.8938 u2vq2ealpv1dis9ba2382l3pee Query : select 'normal' from dummy
20240903@182531.8955 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d744445466d7468bc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',581,101900,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182531.9258 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.9261 u2vq2ealpv1dis9ba2382l3pee Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240903@182531.9285 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240903@182531.9509 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.9527 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.9556 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.9572 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.9581 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182531.9597 u2vq2ealpv1dis9ba2382l3pee Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240903@182531.9627 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.9644 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182531.9659 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747538266d7468beb','aut66d744445466d7468bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182531.9664 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182531.9681 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182531.9714 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747538266d7468beb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d744445466d7468bc1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182531.9988 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182531.9992 u2vq2ealpv1dis9ba2382l3pee Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240903@182532.1600 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240903@182532.1680 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.1870 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.2160 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.2330 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.2420 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182532.2570 u2vq2ealpv1dis9ba2382l3pee Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240903@182532.2850 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.3020 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.3170 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748410266d7468c06','aut66d744445466d7468bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182532.3230 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.3400 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.3720 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748410266d7468c06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d744445466d7468bc1' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182532.6440 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.6610 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.6930 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.7090 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.7200 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182532.7350 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.7540 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.7700 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741888866d7468c11','aut66d744445466d7468bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182532.7750 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.7920 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.8240 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d741888866d7468c11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d744445466d7468bc1' ,0,0 ,2,23.00,30000,?,?,?)
20240903@182532.1078 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182532.1081 u2vq2ealpv1dis9ba2382l3pee Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240903@182532.1104 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182532.1255 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.1272 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.2468 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.2486 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.2496 u2vq2ealpv1dis9ba2382l3pee Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182532.2511 u2vq2ealpv1dis9ba2382l3pee Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240903@182532.2530 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.2548 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.2562 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749709966d7468c3d','aut66d744445466d7468bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182532.2566 u2vq2ealpv1dis9ba2382l3pee Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.2583 u2vq2ealpv1dis9ba2382l3pee Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.2618 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749709966d7468c3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66d744445466d7468bc1' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240903@182532.2887 u2vq2ealpv1dis9ba2382l3pee Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d744445466d7468bc1','2405692','wait',39,'adm09112754980.682000002')
20240903@182532.2963 u2vq2ealpv1dis9ba2382l3pee Query : use flama_phc
20240903@182532.2966 u2vq2ealpv1dis9ba2382l3pee Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182532.2998 u2vq2ealpv1dis9ba2382l3pee Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1803';
20240903@182532.3268 u2vq2ealpv1dis9ba2382l3pee Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1803';
20240903@182532.3395 u2vq2ealpv1dis9ba2382l3pee Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1803';
20240903@182532.3436 u2vq2ealpv1dis9ba2382l3pee Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1803';
20240903@182532.4533 r1ec05qskc7aggs54dphvflj72 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182532.4545 r1ec05qskc7aggs54dphvflj72 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182532.4607 r1ec05qskc7aggs54dphvflj72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1804';
20240903@182532.4667 r1ec05qskc7aggs54dphvflj72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1804';
20240903@182532.4718 r1ec05qskc7aggs54dphvflj72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1804';
20240903@182532.4748 r1ec05qskc7aggs54dphvflj72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1804';
20240903@182532.4794 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.4797 r1ec05qskc7aggs54dphvflj72 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182532.4866 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.4869 r1ec05qskc7aggs54dphvflj72 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240903@182532.4962 r1ec05qskc7aggs54dphvflj72 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20240903@182532.5126 r1ec05qskc7aggs54dphvflj72 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405703 and bi.ref ='328.9326.00.1' and bi.lordem =1
20240903@182532.5452 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.5455 r1ec05qskc7aggs54dphvflj72 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182532.5493 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.5496 r1ec05qskc7aggs54dphvflj72 Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182532.5530 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.5533 r1ec05qskc7aggs54dphvflj72 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')
20240903@182532.5566 r1ec05qskc7aggs54dphvflj72 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
20240903@182532.5603 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.5606 r1ec05qskc7aggs54dphvflj72 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240903@182532.5735 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.5741 r1ec05qskc7aggs54dphvflj72 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182532.5773 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.5776 r1ec05qskc7aggs54dphvflj72 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182532.5819 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.5822 r1ec05qskc7aggs54dphvflj72 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240903@182532.5877 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.5880 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from td where ndoc = 39
20240903@182532.5894 r1ec05qskc7aggs54dphvflj72 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182532.5909 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.5927 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182532.5948 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.5965 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182532.5995 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.6013 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182532.6029 r1ec05qskc7aggs54dphvflj72 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182532.6098 r1ec05qskc7aggs54dphvflj72 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182532.6115 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.6133 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182532.6153 r1ec05qskc7aggs54dphvflj72 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d741087766d7468c93' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182532.6412 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.6433 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182532.6476 r1ec05qskc7aggs54dphvflj72 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182532.6491 r1ec05qskc7aggs54dphvflj72 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182532.6505 r1ec05qskc7aggs54dphvflj72 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182532.6518 r1ec05qskc7aggs54dphvflj72 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182532.6531 r1ec05qskc7aggs54dphvflj72 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182532.6544 r1ec05qskc7aggs54dphvflj72 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182532.6558 r1ec05qskc7aggs54dphvflj72 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d741087766d7468c93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182532.6836 r1ec05qskc7aggs54dphvflj72 Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182532.6862 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.6879 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182532.6905 r1ec05qskc7aggs54dphvflj72 Query : select 'normal' from dummy
20240903@182532.6922 r1ec05qskc7aggs54dphvflj72 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d741087766d7468c93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',582,100810,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182532.7311 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.7315 r1ec05qskc7aggs54dphvflj72 Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20240903@182532.7345 r1ec05qskc7aggs54dphvflj72 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20240903@182532.7541 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.7563 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.7595 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.7614 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.7625 r1ec05qskc7aggs54dphvflj72 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182532.7641 r1ec05qskc7aggs54dphvflj72 Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20240903@182532.7665 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.7684 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.7698 r1ec05qskc7aggs54dphvflj72 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745224966d7468cbb','aut66d741087766d7468c93' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182532.7703 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.7722 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.7757 r1ec05qskc7aggs54dphvflj72 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745224966d7468cbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d741087766d7468c93' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182532.8101 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.8123 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.8156 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.8177 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.8188 r1ec05qskc7aggs54dphvflj72 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182532.8204 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.8223 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182532.8237 r1ec05qskc7aggs54dphvflj72 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741903866d7468cc8','aut66d741087766d7468c93' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182532.8242 r1ec05qskc7aggs54dphvflj72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182532.8258 r1ec05qskc7aggs54dphvflj72 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182532.8294 r1ec05qskc7aggs54dphvflj72 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d741903866d7468cc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d741087766d7468c93' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182532.9462 r1ec05qskc7aggs54dphvflj72 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d741087766d7468c93','2405703','wait',39,'adm09112754980.682000002')
20240903@182532.9711 r1ec05qskc7aggs54dphvflj72 Query : use flama_phc
20240903@182532.9715 r1ec05qskc7aggs54dphvflj72 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182532.9750 r1ec05qskc7aggs54dphvflj72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1804';
20240903@182532.9789 r1ec05qskc7aggs54dphvflj72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1804';
20240903@182532.9835 r1ec05qskc7aggs54dphvflj72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1804';
20240903@182532.9901 r1ec05qskc7aggs54dphvflj72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1804';
20240903@182533.5830 j2tnk9ljgfknklo8s3q2ds5s7q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182533.5960 j2tnk9ljgfknklo8s3q2ds5s7q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182533.6690 j2tnk9ljgfknklo8s3q2ds5s7q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1805';
20240903@182533.7460 j2tnk9ljgfknklo8s3q2ds5s7q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1805';
20240903@182533.8080 j2tnk9ljgfknklo8s3q2ds5s7q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1805';
20240903@182533.8410 j2tnk9ljgfknklo8s3q2ds5s7q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1805';
20240903@182533.8940 j2tnk9ljgfknklo8s3q2ds5s7q Query : use flama_phc
20240903@182533.8980 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182533.9740 j2tnk9ljgfknklo8s3q2ds5s7q Query : use flama_phc
20240903@182533.9770 j2tnk9ljgfknklo8s3q2ds5s7q Query : select no, estab,szadrsdesc from szadrs where u_coddest=1246
20240903@182533.1072 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.318.09.00'
20240903@182533.1257 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405705 and bi.ref ='323.318.09.00' and bi.lordem =1
20240903@182533.1621 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20240903@182533.1792 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405705 and bi.ref ='324.1705.00.1' and bi.lordem =2
20240903@182533.2121 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20240903@182533.2275 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405705 and bi.ref ='324.1536.00.1' and bi.lordem =3
20240903@182533.2606 j2tnk9ljgfknklo8s3q2ds5s7q Query : use flama_phc
20240903@182533.2609 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182533.2643 j2tnk9ljgfknklo8s3q2ds5s7q Query : use flama_phc
20240903@182533.2646 j2tnk9ljgfknklo8s3q2ds5s7q Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182533.2676 j2tnk9ljgfknklo8s3q2ds5s7q Query : use flama_phc
20240903@182533.2679 j2tnk9ljgfknklo8s3q2ds5s7q 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')
