20241031@162850.2402 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.2423 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.2467 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b499286723b04239',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241031@162850.2821 g9bg1okq4eksinoomq94t3pdag Query : use flama_phc
20241031@162850.2826 g9bg1okq4eksinoomq94t3pdag Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241031@162850.2852 g9bg1okq4eksinoomq94t3pdag Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241031@162850.2871 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.2892 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.2940 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.2961 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.2973 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.2987 g9bg1okq4eksinoomq94t3pdag Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241002'
20241031@162850.3001 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.3020 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.3033 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b991306723b04249','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.3038 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.3056 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.3089 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b991306723b04249',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241031@162850.3462 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.3486 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.3561 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.3582 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.3596 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.3609 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.3628 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.3642 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b450136723b04258','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.3647 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.3671 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.3703 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b450136723b04258',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,180000,?,?,?)
20241031@162850.4027 g9bg1okq4eksinoomq94t3pdag Query : use flama_phc
20241031@162850.4030 g9bg1okq4eksinoomq94t3pdag Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20241031@162850.4063 g9bg1okq4eksinoomq94t3pdag Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20241031@162850.4372 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.4390 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.4419 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.4435 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.4444 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.4466 g9bg1okq4eksinoomq94t3pdag Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20241031@162850.4493 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.4510 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.4524 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b784866723b0426d','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.4528 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.4543 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.4576 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b784866723b0426d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241031@162850.4890 g9bg1okq4eksinoomq94t3pdag Query : use flama_phc
20241031@162850.4894 g9bg1okq4eksinoomq94t3pdag Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241031@162850.4918 g9bg1okq4eksinoomq94t3pdag Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241031@162850.5088 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.5109 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.5137 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.5152 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.5162 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.5175 g9bg1okq4eksinoomq94t3pdag Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241031@162850.5205 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.5221 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.5233 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b772886723b0427f','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.5238 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.5259 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.5299 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b772886723b0427f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241031@162850.5620 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.5638 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.5667 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.5684 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.5706 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.5723 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.5745 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.5758 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b214356723b0428b','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.5763 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.5781 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.5810 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b214356723b0428b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,220000,?,?,?)
20241031@162850.6120 g9bg1okq4eksinoomq94t3pdag Query : use flama_phc
20241031@162850.6124 g9bg1okq4eksinoomq94t3pdag Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20241031@162850.6147 g9bg1okq4eksinoomq94t3pdag Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241031@162850.6340 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.6357 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.6383 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.6398 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.6408 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.6424 g9bg1okq4eksinoomq94t3pdag Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400685200a'
20241031@162850.6450 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.6470 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.6486 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b218566723b0429d','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.6492 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.6511 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.6541 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b218566723b0429d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241031@162850.6894 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.6914 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.6948 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.6966 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.6977 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.6994 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.7012 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.7035 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b898846723b042aa','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.7041 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.7063 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.7123 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b898846723b042aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,250000,?,?,?)
20241031@162850.7489 g9bg1okq4eksinoomq94t3pdag Query : use flama_phc
20241031@162850.7493 g9bg1okq4eksinoomq94t3pdag Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241031@162850.7529 g9bg1okq4eksinoomq94t3pdag Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241031@162850.7702 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.7735 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.7769 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.7787 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.7795 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.7810 g9bg1okq4eksinoomq94t3pdag Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20241031@162850.7833 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.7853 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.7869 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b858776723b042bf','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.7876 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.7893 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.7928 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b858776723b042bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,270000,?,?,?,?,?)
20241031@162850.8426 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.8474 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.8518 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.8540 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.8550 g9bg1okq4eksinoomq94t3pdag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162850.8567 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.8586 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162850.8602 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b475126723b042d1','aut6723b854296723b04114' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162850.8607 g9bg1okq4eksinoomq94t3pdag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162850.8635 g9bg1okq4eksinoomq94t3pdag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162850.8674 g9bg1okq4eksinoomq94t3pdag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b475126723b042d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b854296723b04114' ,0,0 ,2,23.00,280000,?,?,?)
20241031@162850.9136 g9bg1okq4eksinoomq94t3pdag Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6723b854296723b04114','2407149','wait',39,'adm09112754980.682000002')
20241031@162850.9252 g9bg1okq4eksinoomq94t3pdag Query : use flama_phc
20241031@162850.9257 g9bg1okq4eksinoomq94t3pdag Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241031@162850.9291 g9bg1okq4eksinoomq94t3pdag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3017';
20241031@162850.9339 g9bg1okq4eksinoomq94t3pdag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3017';
20241031@162850.9391 g9bg1okq4eksinoomq94t3pdag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3017';
20241031@162850.9431 g9bg1okq4eksinoomq94t3pdag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3017';
20241031@162851.1280 322an1r5vp1k34uto85inabi8d Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241031@162851.1400 322an1r5vp1k34uto85inabi8d Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241031@162851.2090 322an1r5vp1k34uto85inabi8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3018';
20241031@162851.2780 322an1r5vp1k34uto85inabi8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3018';
20241031@162851.3590 322an1r5vp1k34uto85inabi8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3018';
20241031@162851.3970 322an1r5vp1k34uto85inabi8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3018';
20241031@162851.4630 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.4670 322an1r5vp1k34uto85inabi8d Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241031@162851.5550 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5590 322an1r5vp1k34uto85inabi8d Query : select no, estab,szadrsdesc from szadrs where u_coddest=928
20241031@162851.6820 322an1r5vp1k34uto85inabi8d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2186.00.1'
20241031@162851.8530 322an1r5vp1k34uto85inabi8d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407150 and bi.ref ='304.2186.00.1' and bi.lordem =1
20241031@162851.1269 322an1r5vp1k34uto85inabi8d 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'
20241031@162851.2786 322an1r5vp1k34uto85inabi8d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407150 and bi.ref ='324.4970.00.1' and bi.lordem =2
20241031@162851.3164 322an1r5vp1k34uto85inabi8d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241031@162851.3192 322an1r5vp1k34uto85inabi8d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407150 and bi.ref ='324.692.00.01' and bi.lordem =3
20241031@162851.3571 322an1r5vp1k34uto85inabi8d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241031@162851.3592 322an1r5vp1k34uto85inabi8d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407150 and bi.ref ='324.1824.00.1' and bi.lordem =4
20241031@162851.4010 322an1r5vp1k34uto85inabi8d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20241031@162851.4179 322an1r5vp1k34uto85inabi8d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407150 and bi.ref ='324.728.00.01' and bi.lordem =5
20241031@162851.4785 322an1r5vp1k34uto85inabi8d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20241031@162851.4961 322an1r5vp1k34uto85inabi8d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407150 and bi.ref ='324.2326.00.1' and bi.lordem =6
20241031@162851.5409 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5413 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241031@162851.5457 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5461 322an1r5vp1k34uto85inabi8d Query : select top 1 1 valor from td where td.ndoc = 39
20241031@162851.5491 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5495 322an1r5vp1k34uto85inabi8d 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')
20241031@162851.5524 322an1r5vp1k34uto85inabi8d 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
20241031@162851.5564 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5567 322an1r5vp1k34uto85inabi8d Query : select top 1 ~inactivo valor from cl where no = '100709' and estab = 0 order by inactivo desc
20241031@162851.5728 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5732 322an1r5vp1k34uto85inabi8d Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241031@162851.5763 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5767 322an1r5vp1k34uto85inabi8d Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241031@162851.5816 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5820 322an1r5vp1k34uto85inabi8d Query : select szadrsstamp valor from szadrs where szadrsdesc='aderito de jesus gonÇalves'
20241031@162851.5876 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.5879 322an1r5vp1k34uto85inabi8d Query : select 1 valor from td where ndoc = 39
20241031@162851.5893 322an1r5vp1k34uto85inabi8d Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241031@162851.5908 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.5925 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241031@162851.5945 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.5960 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241031@162851.6011 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.6027 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241031@162851.6042 322an1r5vp1k34uto85inabi8d Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241031@162851.6123 322an1r5vp1k34uto85inabi8d Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241031@162851.6139 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.6156 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241031@162851.6173 322an1r5vp1k34uto85inabi8d Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241031@162851.6370 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.6400 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241031@162851.6447 322an1r5vp1k34uto85inabi8d Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241031@162851.6462 322an1r5vp1k34uto85inabi8d Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241031@162851.6476 322an1r5vp1k34uto85inabi8d Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241031@162851.6490 322an1r5vp1k34uto85inabi8d Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241031@162851.6505 322an1r5vp1k34uto85inabi8d Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241031@162851.6522 322an1r5vp1k34uto85inabi8d Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241031@162851.6542 322an1r5vp1k34uto85inabi8d Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6723b132136723b04393',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241031@162851.6852 322an1r5vp1k34uto85inabi8d Query : select top 1 fno valor from wsftdata order by fno desc
20241031@162851.6889 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.6911 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241031@162851.6952 322an1r5vp1k34uto85inabi8d Query : select 'normal' from dummy
20241031@162851.6970 322an1r5vp1k34uto85inabi8d Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6723b132136723b04393',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1593,100709,0,'2024-10-31',39,'euro',0,0,2024 ,?,?)
20241031@162851.7358 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.7362 322an1r5vp1k34uto85inabi8d Query : select st.usalote valor from st where st.ref = '304.2186.00.1'
20241031@162851.7394 322an1r5vp1k34uto85inabi8d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2186.00.1'
20241031@162851.7621 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.7654 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162851.7686 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.7705 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162851.7733 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162851.7748 322an1r5vp1k34uto85inabi8d Query : select sestamp valor from se where ref ='304.2186.00.1' and lote = '241301'
20241031@162851.7775 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.7793 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162851.7805 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b334446723b043bd','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162851.7810 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.7835 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162851.7869 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b334446723b043bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241031@162851.8217 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.8246 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162851.8278 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.8296 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162851.8307 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162851.8333 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.8349 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162851.8362 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b304576723b043cb','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162851.8366 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.8383 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162851.8427 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b304576723b043cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,20000,?,?,?)
20241031@162851.8736 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.8741 322an1r5vp1k34uto85inabi8d Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241031@162851.8768 322an1r5vp1k34uto85inabi8d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241031@162851.8941 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.8959 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162851.9014 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.9035 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162851.9046 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162851.9064 322an1r5vp1k34uto85inabi8d Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241031@162851.9099 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.9120 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162851.9136 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b034716723b043de','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162851.9142 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.9160 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162851.9192 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b034716723b043de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241031@162851.9512 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162851.9515 322an1r5vp1k34uto85inabi8d Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241031@162851.9534 322an1r5vp1k34uto85inabi8d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241031@162851.9563 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.9579 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162851.9605 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.9622 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162851.9631 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162851.9645 322an1r5vp1k34uto85inabi8d Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400210100a'
20241031@162851.9660 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.9685 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162851.9700 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b505016723b043eb','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162851.9705 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162851.9727 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162851.9776 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b505016723b043eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241031@162852.1910 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.2100 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.2530 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.2700 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.2790 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162852.2920 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3080 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.3230 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b984396723b04407','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162852.3280 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3540 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.3850 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b984396723b04407',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,60000,?,?,?)
20241031@162852.6970 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162852.7010 322an1r5vp1k34uto85inabi8d Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241031@162852.7210 322an1r5vp1k34uto85inabi8d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241031@162852.7360 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.7530 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.7940 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.8120 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.8210 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162852.8330 322an1r5vp1k34uto85inabi8d Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400215200a'
20241031@162852.8590 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.8760 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.8890 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b861926723b04414','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162852.8940 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.9090 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.9420 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b861926723b04414',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241031@162852.1267 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.1289 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.1341 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.1357 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.1366 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162852.1423 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.1441 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.1562 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b578376723b04422','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162852.1570 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.1588 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.1680 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b578376723b04422',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,90000,?,?,?)
20241031@162852.1990 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162852.1997 322an1r5vp1k34uto85inabi8d Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20241031@162852.2023 322an1r5vp1k34uto85inabi8d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.728.00.01'
20241031@162852.2204 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.2225 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.2276 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.2301 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.2400 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162852.2417 322an1r5vp1k34uto85inabi8d Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20241031@162852.2454 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.2476 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.2502 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b835496723b0443b','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162852.2507 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.2528 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.2571 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b835496723b0443b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241031@162852.2957 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.2977 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.3004 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3021 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.3030 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162852.3056 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3076 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.3088 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b729766723b0444a','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162852.3093 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3109 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.3152 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b729766723b0444a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,120000,?,?,?)
20241031@162852.3467 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162852.3471 322an1r5vp1k34uto85inabi8d Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241031@162852.3494 322an1r5vp1k34uto85inabi8d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2326.00.1'
20241031@162852.3674 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3693 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.3724 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3742 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.3763 322an1r5vp1k34uto85inabi8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162852.3777 322an1r5vp1k34uto85inabi8d Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2100576400a'
20241031@162852.3801 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3818 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162852.3863 322an1r5vp1k34uto85inabi8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b651076723b0445c','aut6723b132136723b04393' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162852.3881 322an1r5vp1k34uto85inabi8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162852.3899 322an1r5vp1k34uto85inabi8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162852.3930 322an1r5vp1k34uto85inabi8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b651076723b0445c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6723b132136723b04393' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241031@162852.4235 322an1r5vp1k34uto85inabi8d Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6723b132136723b04393','2407150','wait',39,'adm09112754980.682000002')
20241031@162852.4325 322an1r5vp1k34uto85inabi8d Query : use flama_phc
20241031@162852.4330 322an1r5vp1k34uto85inabi8d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241031@162852.4362 322an1r5vp1k34uto85inabi8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3018';
20241031@162852.4405 322an1r5vp1k34uto85inabi8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3018';
20241031@162852.4456 322an1r5vp1k34uto85inabi8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3018';
20241031@162852.4491 322an1r5vp1k34uto85inabi8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3018';
20241031@162852.5109 of3cp1phv0md0agbilbunp8ftc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241031@162852.5120 of3cp1phv0md0agbilbunp8ftc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241031@162852.5183 of3cp1phv0md0agbilbunp8ftc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3019';
20241031@162852.5243 of3cp1phv0md0agbilbunp8ftc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3019';
20241031@162852.5304 of3cp1phv0md0agbilbunp8ftc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3019';
20241031@162852.5335 of3cp1phv0md0agbilbunp8ftc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3019';
20241031@162852.5406 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.5409 of3cp1phv0md0agbilbunp8ftc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241031@162852.5472 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.5475 of3cp1phv0md0agbilbunp8ftc Query : select no, estab,szadrsdesc from szadrs where u_coddest=1549
20241031@162852.5578 of3cp1phv0md0agbilbunp8ftc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241031@162852.5601 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407151 and bi.ref ='324.1329.00.1' and bi.lordem =1
20241031@162852.6001 of3cp1phv0md0agbilbunp8ftc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241031@162852.6025 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407151 and bi.ref ='324.1332.00.1' and bi.lordem =2
20241031@162852.6386 of3cp1phv0md0agbilbunp8ftc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8171.00.1'
20241031@162852.6553 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407151 and bi.ref ='327.8171.00.1' and bi.lordem =3
20241031@162852.6938 of3cp1phv0md0agbilbunp8ftc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20241031@162852.7135 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407151 and bi.ref ='327.8152.00.1' and bi.lordem =4
20241031@162852.7573 of3cp1phv0md0agbilbunp8ftc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241031@162852.7766 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407151 and bi.ref ='324.1416.00.1' and bi.lordem =5
20241031@162852.8171 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.8175 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241031@162852.8210 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.8214 of3cp1phv0md0agbilbunp8ftc Query : select top 1 1 valor from td where td.ndoc = 39
20241031@162852.8246 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.8250 of3cp1phv0md0agbilbunp8ftc 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')
20241031@162852.8289 of3cp1phv0md0agbilbunp8ftc 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
20241031@162852.8326 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.8329 of3cp1phv0md0agbilbunp8ftc Query : select top 1 ~inactivo valor from cl where no = '101557' and estab = 0 order by inactivo desc
20241031@162852.8485 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.8489 of3cp1phv0md0agbilbunp8ftc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241031@162852.8525 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.8529 of3cp1phv0md0agbilbunp8ftc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241031@162852.8576 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.8580 of3cp1phv0md0agbilbunp8ftc Query : select szadrsstamp valor from szadrs where szadrsdesc='jomafal'
20241031@162852.8637 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162852.8640 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from td where ndoc = 39
20241031@162852.8731 of3cp1phv0md0agbilbunp8ftc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241031@162852.8751 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.4820 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241031@162853.5050 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.5220 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241031@162853.5560 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.5710 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241031@162853.5860 of3cp1phv0md0agbilbunp8ftc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241031@162853.6910 of3cp1phv0md0agbilbunp8ftc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241031@162853.7060 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.7250 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241031@162853.7420 of3cp1phv0md0agbilbunp8ftc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241031@162853.9540 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.9850 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241031@162853.1026 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241031@162853.1041 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241031@162853.1054 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241031@162853.1068 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241031@162853.1081 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241031@162853.1095 of3cp1phv0md0agbilbunp8ftc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241031@162853.1106 of3cp1phv0md0agbilbunp8ftc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6723b649006723b0450e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241031@162853.1460 of3cp1phv0md0agbilbunp8ftc Query : select top 1 fno valor from wsftdata order by fno desc
20241031@162853.1487 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.1505 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241031@162853.1529 of3cp1phv0md0agbilbunp8ftc Query : select 'normal' from dummy
20241031@162853.1555 of3cp1phv0md0agbilbunp8ftc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6723b649006723b0450e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1594,101557,0,'2024-10-31',39,'euro',0,0,2024 ,?,?)
20241031@162853.1949 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162853.1953 of3cp1phv0md0agbilbunp8ftc Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241031@162853.1979 of3cp1phv0md0agbilbunp8ftc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241031@162853.1994 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.2013 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.2051 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.2070 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.2079 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162853.2093 of3cp1phv0md0agbilbunp8ftc Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20241031@162853.2122 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.2138 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.2152 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b316796723b04533','aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162853.2157 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.2176 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.2207 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b316796723b04533',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6723b649006723b0450e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241031@162853.2562 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162853.2566 of3cp1phv0md0agbilbunp8ftc Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241031@162853.2607 of3cp1phv0md0agbilbunp8ftc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241031@162853.2625 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.2644 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.2675 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.2695 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.2704 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162853.2729 of3cp1phv0md0agbilbunp8ftc Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241031@162853.2747 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.2772 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.2800 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b894846723b04543','aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162853.2805 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.2827 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.2865 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b894846723b04543',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b649006723b0450e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241031@162853.3180 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162853.3183 of3cp1phv0md0agbilbunp8ftc Query : select st.usalote valor from st where st.ref = '327.8171.00.1'
20241031@162853.3205 of3cp1phv0md0agbilbunp8ftc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8171.00.1'
20241031@162853.3381 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.3397 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.3423 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.3439 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.3448 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162853.3463 of3cp1phv0md0agbilbunp8ftc Query : select sestamp valor from se where ref ='327.8171.00.1' and lote = 'r2301073200a'
20241031@162853.3501 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.3521 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.3534 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b479626723b04555','aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162853.3540 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.3557 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.3591 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b479626723b04555',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b649006723b0450e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241031@162853.3889 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.3907 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.3949 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.3965 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.3973 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162853.3986 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.4003 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.4017 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b259996723b04561','aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162853.4022 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.4049 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.4085 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b259996723b04561',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b649006723b0450e' ,0,0 ,2,23.00,40000,?,?,?)
20241031@162853.4469 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162853.4473 of3cp1phv0md0agbilbunp8ftc Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20241031@162853.4496 of3cp1phv0md0agbilbunp8ftc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8152.00.1'
20241031@162853.4693 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.4714 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.4795 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.4817 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.4866 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162853.4904 of3cp1phv0md0agbilbunp8ftc Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2400077200a'
20241031@162853.4945 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.5098 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.5114 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b863286723b04578','aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162853.5128 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.5149 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.5178 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b863286723b04578',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b649006723b0450e' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241031@162853.5516 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.5535 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.5577 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.5593 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.5603 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162853.5619 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.5639 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.5654 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b549096723b04589','aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162853.5659 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.5678 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.5709 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b549096723b04589',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b649006723b0450e' ,0,0 ,2,23.00,70000,?,?,?)
20241031@162853.6074 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162853.6077 of3cp1phv0md0agbilbunp8ftc Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241031@162853.6100 of3cp1phv0md0agbilbunp8ftc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1416.00.1'
20241031@162853.6270 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.6290 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.6317 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.6333 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.6344 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162853.6356 of3cp1phv0md0agbilbunp8ftc Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241031@162853.6376 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.6393 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.6407 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b486866723b0459b','aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162853.6411 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.6425 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.6455 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b486866723b0459b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6723b649006723b0450e' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241031@162853.6787 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.6807 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.6844 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.6889 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.6899 of3cp1phv0md0agbilbunp8ftc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162853.6911 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.6931 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162853.6946 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b019136723b045a8','aut6723b649006723b0450e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162853.6953 of3cp1phv0md0agbilbunp8ftc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162853.6970 of3cp1phv0md0agbilbunp8ftc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162853.7003 of3cp1phv0md0agbilbunp8ftc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b019136723b045a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b649006723b0450e' ,0,0 ,2,23.00,100000,?,?,?)
20241031@162853.7339 of3cp1phv0md0agbilbunp8ftc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6723b649006723b0450e','2407151','wait',39,'adm09112754980.682000002')
20241031@162853.7422 of3cp1phv0md0agbilbunp8ftc Query : use flama_phc
20241031@162853.7426 of3cp1phv0md0agbilbunp8ftc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241031@162853.7457 of3cp1phv0md0agbilbunp8ftc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3019';
20241031@162853.7501 of3cp1phv0md0agbilbunp8ftc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3019';
20241031@162853.7548 of3cp1phv0md0agbilbunp8ftc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3019';
20241031@162853.7583 of3cp1phv0md0agbilbunp8ftc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3019';
20241031@162853.8662 o0rf7cot4itgd27rv53neg2hlc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241031@162853.8674 o0rf7cot4itgd27rv53neg2hlc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241031@162853.9972 o0rf7cot4itgd27rv53neg2hlc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3020';
20241031@162854.5600 o0rf7cot4itgd27rv53neg2hlc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3020';
20241031@162854.1210 o0rf7cot4itgd27rv53neg2hlc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3020';
20241031@162854.1570 o0rf7cot4itgd27rv53neg2hlc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3020';
20241031@162854.2290 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.2330 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241031@162854.3130 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.3170 o0rf7cot4itgd27rv53neg2hlc Query : select no, estab,szadrsdesc from szadrs where u_coddest=1761
20241031@162854.4080 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241031@162854.4380 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407152 and bi.ref ='324.1816.00.1' and bi.lordem =1
20241031@162854.9800 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241031@162854.1002 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407152 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241031@162854.1388 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.648.00.01'
20241031@162854.1577 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407152 and bi.ref ='324.648.00.01' and bi.lordem =3
20241031@162854.1945 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.644.00.01'
20241031@162854.2126 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407152 and bi.ref ='324.644.00.01' and bi.lordem =4
20241031@162854.2544 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241031@162854.2566 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407152 and bi.ref ='324.1329.00.1' and bi.lordem =5
20241031@162854.2995 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241031@162854.3019 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407152 and bi.ref ='324.1329.00.1' and bi.lordem =5
20241031@162854.3038 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241031@162854.3060 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407152 and bi.ref ='324.1329.00.1' and bi.lordem =6
20241031@162854.3458 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.3463 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241031@162854.3539 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.3554 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 1 valor from td where td.ndoc = 39
20241031@162854.3606 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.3609 o0rf7cot4itgd27rv53neg2hlc 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')
20241031@162854.3644 o0rf7cot4itgd27rv53neg2hlc 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
20241031@162854.3709 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.3713 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 ~inactivo valor from cl where no = '101828' and estab = 0 order by inactivo desc
20241031@162854.3861 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.3864 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241031@162854.3922 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.3926 o0rf7cot4itgd27rv53neg2hlc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241031@162854.4005 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.4010 o0rf7cot4itgd27rv53neg2hlc Query : select szadrsstamp valor from szadrs where szadrsdesc='electrocortes, lda'
20241031@162854.4094 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.4097 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from td where ndoc = 39
20241031@162854.4112 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241031@162854.4128 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.4147 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241031@162854.4170 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.4187 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241031@162854.4221 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.4240 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241031@162854.4254 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241031@162854.4339 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241031@162854.4354 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.4372 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241031@162854.4392 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241031@162854.4594 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.4624 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241031@162854.4708 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241031@162854.4732 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241031@162854.4748 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241031@162854.4764 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241031@162854.4780 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241031@162854.4804 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241031@162854.4823 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6723b790046723b04667',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241031@162854.5214 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 fno valor from wsftdata order by fno desc
20241031@162854.5340 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.5358 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241031@162854.5384 o0rf7cot4itgd27rv53neg2hlc Query : select 'normal' from dummy
20241031@162854.5402 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6723b790046723b04667',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1595,101828,0,'2024-10-31',39,'euro',0,0,2024 ,?,?)
20241031@162854.5833 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.5837 o0rf7cot4itgd27rv53neg2hlc Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241031@162854.5864 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241031@162854.5879 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.5897 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.5927 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.5946 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.5956 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162854.5971 o0rf7cot4itgd27rv53neg2hlc Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20241031@162854.5986 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.6004 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.6019 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b666266723b04692','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162854.6039 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.6058 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.6092 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b666266723b04692',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241031@162854.6411 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.6430 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.6471 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.6488 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.6498 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162854.6514 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.6532 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.6545 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b544566723b0469f','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162854.6550 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.6575 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.6606 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b544566723b0469f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,20000,?,?,?)
20241031@162854.6910 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.6914 o0rf7cot4itgd27rv53neg2hlc Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241031@162854.6938 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241031@162854.6962 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.6983 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.7017 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.7053 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.7064 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162854.7079 o0rf7cot4itgd27rv53neg2hlc Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20241031@162854.7094 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.7109 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.7122 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b528156723b046ad','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162854.7127 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.7153 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.7267 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b528156723b046ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241031@162854.7565 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.7584 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.7613 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.7630 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.7640 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162854.7653 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.7671 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.7693 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b104476723b046ba','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162854.7698 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.7716 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.7746 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b104476723b046ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,50000,?,?,?)
20241031@162854.8082 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162854.8086 o0rf7cot4itgd27rv53neg2hlc Query : select st.usalote valor from st where st.ref = '324.648.00.01'
20241031@162854.8108 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.648.00.01'
20241031@162854.8319 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.8338 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.8367 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.8386 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.8405 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162854.8420 o0rf7cot4itgd27rv53neg2hlc Query : select sestamp valor from se where ref ='324.648.00.01' and lote = 'r2400750200a'
20241031@162854.8439 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.8455 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.8471 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b258256723b046ce','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162854.8490 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.8510 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.8543 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b258256723b046ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241031@162854.8845 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.8862 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162854.8889 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162854.9844 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162854.9854 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162854.9868 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.4600 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.6100 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b888526723b046f0','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162855.6600 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.8600 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.1230 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b888526723b046f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,80000,?,?,?)
20241031@162855.4410 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162855.4450 o0rf7cot4itgd27rv53neg2hlc Query : select st.usalote valor from st where st.ref = '324.644.00.01'
20241031@162855.4690 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.644.00.01'
20241031@162855.6660 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.6830 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.7240 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.7390 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.7480 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162855.7600 o0rf7cot4itgd27rv53neg2hlc Query : select sestamp valor from se where ref ='324.644.00.01' and lote = 'r2400749200a'
20241031@162855.7740 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.7900 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.8090 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b868306723b04712','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162855.8140 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.8330 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.8760 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b868306723b04712',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241031@162855.1208 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162855.1212 o0rf7cot4itgd27rv53neg2hlc Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241031@162855.1233 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241031@162855.1248 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.1269 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.1297 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.1325 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.1335 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162855.1354 o0rf7cot4itgd27rv53neg2hlc Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20241031@162855.1368 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.1397 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.1411 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b081576723b04721','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162855.1419 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.1435 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.1467 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b081576723b04721',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241031@162855.1803 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162855.1806 o0rf7cot4itgd27rv53neg2hlc Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241031@162855.1831 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241031@162855.1848 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.1868 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.1916 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.1932 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.1942 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162855.1955 o0rf7cot4itgd27rv53neg2hlc Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20241031@162855.1970 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.1995 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.2007 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b718436723b04730','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162855.2012 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.2027 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.2072 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b718436723b04730',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20241031@162855.2445 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162855.2454 o0rf7cot4itgd27rv53neg2hlc Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241031@162855.2476 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241031@162855.2491 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.2519 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.2549 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.2566 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.2575 o0rf7cot4itgd27rv53neg2hlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162855.2588 o0rf7cot4itgd27rv53neg2hlc Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20241031@162855.2605 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.2622 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162855.2652 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b964796723b0473f','aut6723b790046723b04667' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162855.2658 o0rf7cot4itgd27rv53neg2hlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162855.2676 o0rf7cot4itgd27rv53neg2hlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162855.2708 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b964796723b0473f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b790046723b04667' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241031@162855.3042 o0rf7cot4itgd27rv53neg2hlc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6723b790046723b04667','2407152','wait',39,'adm09112754980.682000002')
20241031@162855.3134 o0rf7cot4itgd27rv53neg2hlc Query : use flama_phc
20241031@162855.3138 o0rf7cot4itgd27rv53neg2hlc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241031@162855.3170 o0rf7cot4itgd27rv53neg2hlc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3020';
20241031@162855.3212 o0rf7cot4itgd27rv53neg2hlc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3020';
20241031@162855.3273 o0rf7cot4itgd27rv53neg2hlc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3020';
20241031@162855.3313 o0rf7cot4itgd27rv53neg2hlc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3020';
20241031@162855.3970 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241031@162855.3982 a8ngh0ov5kre9k5jvdof1ijaah Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241031@162855.4056 a8ngh0ov5kre9k5jvdof1ijaah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3021';
20241031@162855.4154 a8ngh0ov5kre9k5jvdof1ijaah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3021';
20241031@162855.4236 a8ngh0ov5kre9k5jvdof1ijaah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3021';
20241031@162855.4277 a8ngh0ov5kre9k5jvdof1ijaah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3021';
20241031@162855.4349 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162855.4353 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241031@162855.4419 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162855.4423 a8ngh0ov5kre9k5jvdof1ijaah Query : select no, estab,szadrsdesc from szadrs where u_coddest=1404
20241031@162855.4516 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241031@162855.4811 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407153 and bi.ref ='324.678.00.01' and bi.lordem =1
20241031@162855.5194 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20241031@162855.5522 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407153 and bi.ref ='324.691.00.01' and bi.lordem =2
20241031@162855.5943 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1871.00.1'
20241031@162855.6126 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407153 and bi.ref ='324.1871.00.1' and bi.lordem =3
20241031@162855.7116 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241031@162855.7333 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407153 and bi.ref ='324.1803.00.1' and bi.lordem =4
20241031@162855.8824 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241031@162855.8998 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407153 and bi.ref ='324.1803.00.1' and bi.lordem =4
20241031@162855.9018 a8ngh0ov5kre9k5jvdof1ijaah 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'
20241031@162855.9229 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407153 and bi.ref ='323.318.09.00' and bi.lordem =5
20241031@162855.9609 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20241031@162855.9782 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407153 and bi.ref ='304.4320.00.1' and bi.lordem =6
20241031@162856.1720 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.1760 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241031@162856.2130 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.2170 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 1 valor from td where td.ndoc = 39
20241031@162856.2500 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.2530 a8ngh0ov5kre9k5jvdof1ijaah 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')
20241031@162856.2860 a8ngh0ov5kre9k5jvdof1ijaah 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
20241031@162856.3260 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.3290 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 ~inactivo valor from cl where no = '102206' and estab = 0 order by inactivo desc
20241031@162856.4620 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.4650 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241031@162856.5120 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.5150 a8ngh0ov5kre9k5jvdof1ijaah Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241031@162856.5520 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.5550 a8ngh0ov5kre9k5jvdof1ijaah Query : select szadrsstamp valor from szadrs where szadrsdesc='manuel domingos cavaco & filhos, lda.'
20241031@162856.6090 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.6130 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from td where ndoc = 39
20241031@162856.6260 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241031@162856.6400 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.6590 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241031@162856.6840 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.7030 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241031@162856.7370 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.7550 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241031@162856.7680 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241031@162856.8320 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241031@162856.8460 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.8630 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241031@162856.8780 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241031@162856.1074 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.1105 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241031@162856.1146 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241031@162856.1161 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241031@162856.1176 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241031@162856.1200 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241031@162856.1214 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241031@162856.1231 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241031@162856.1246 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6723b924256723b04812',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241031@162856.1543 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 fno valor from wsftdata order by fno desc
20241031@162856.1584 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.1603 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241031@162856.1631 a8ngh0ov5kre9k5jvdof1ijaah Query : select 'normal' from dummy
20241031@162856.1649 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6723b924256723b04812',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1596,102206,0,'2024-10-31',39,'euro',0,0,2024 ,?,?)
20241031@162856.2011 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.2015 a8ngh0ov5kre9k5jvdof1ijaah Query : select st.usalote valor from st where st.ref = '324.678.00.01'
20241031@162856.2038 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.678.00.01'
20241031@162856.2231 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.2252 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.2281 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.2297 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.2306 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162856.2322 a8ngh0ov5kre9k5jvdof1ijaah Query : select sestamp valor from se where ref ='324.678.00.01' and lote = 'r2400745200a'
20241031@162856.2347 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.2366 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.2381 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b513756723b04839','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162856.2409 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.2429 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.2463 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b513756723b04839',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241031@162856.2856 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.2877 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.2909 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.2938 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.2950 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162856.2970 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.2990 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.3019 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b804956723b04848','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162856.3024 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.3042 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.3077 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b804956723b04848',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,20000,?,?,?)
20241031@162856.3413 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.3417 a8ngh0ov5kre9k5jvdof1ijaah Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20241031@162856.3442 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20241031@162856.3607 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.3631 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.3663 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.3705 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.3716 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162856.3728 a8ngh0ov5kre9k5jvdof1ijaah Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20241031@162856.3745 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.3763 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.3777 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b117336723b0485b','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162856.3782 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.3800 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.3844 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b117336723b0485b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241031@162856.4181 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.4200 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.4272 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.4340 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.4351 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162856.4366 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.4396 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.4409 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b352586723b0486a','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162856.4415 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.5099 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.5244 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6723b352586723b0486a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,50000,?,?,?)
20241031@162856.5580 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.5622 a8ngh0ov5kre9k5jvdof1ijaah Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20241031@162856.5701 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1871.00.1'
20241031@162856.5915 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.5934 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.5968 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.5986 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.5996 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162856.6036 a8ngh0ov5kre9k5jvdof1ijaah Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20241031@162856.6051 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.6071 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.6084 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b349246723b04893','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162856.6089 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.6122 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.6150 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b349246723b04893',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241031@162856.6457 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.6461 a8ngh0ov5kre9k5jvdof1ijaah Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241031@162856.6486 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20241031@162856.6654 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.6675 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.6706 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.6740 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.6749 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162856.6764 a8ngh0ov5kre9k5jvdof1ijaah Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301274200a'
20241031@162856.6789 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.6805 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.6817 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b718416723b048a5','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162856.6822 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.6847 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.6879 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b718416723b048a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241031@162856.7162 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.7180 a8ngh0ov5kre9k5jvdof1ijaah Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241031@162856.7199 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20241031@162856.7214 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.7231 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.7257 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.7281 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.7289 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162856.7301 a8ngh0ov5kre9k5jvdof1ijaah Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301274200a'
20241031@162856.7314 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.7328 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.7339 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b276576723b048b2','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162856.7344 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.7358 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.7385 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b276576723b048b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241031@162856.7675 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.7678 a8ngh0ov5kre9k5jvdof1ijaah Query : select st.usalote valor from st where st.ref = '323.318.09.00'
20241031@162856.7703 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.318.09.00'
20241031@162856.7884 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.7912 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.7977 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.8004 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.8013 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162856.8024 a8ngh0ov5kre9k5jvdof1ijaah Query : select sestamp valor from se where ref ='323.318.09.00' and lote = 'r2400053200a'
20241031@162856.8041 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.8057 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162856.8078 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b898946723b048c4','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162856.8083 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162856.8098 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162856.8129 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b898946723b048c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241031@162856.8516 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162856.8519 a8ngh0ov5kre9k5jvdof1ijaah Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241031@162856.8551 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241031@162856.8913 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162857.5920 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162857.6250 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162857.6430 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162857.6540 a8ngh0ov5kre9k5jvdof1ijaah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241031@162857.6690 a8ngh0ov5kre9k5jvdof1ijaah Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241183'
20241031@162857.7220 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162857.7400 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241031@162857.7540 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6723b854666723b04911','aut6723b924256723b04812' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241031@162857.7590 a8ngh0ov5kre9k5jvdof1ijaah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241031@162857.7760 a8ngh0ov5kre9k5jvdof1ijaah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241031@162857.8180 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6723b854666723b04911',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6723b924256723b04812' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241031@162857.1192 a8ngh0ov5kre9k5jvdof1ijaah Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6723b924256723b04812','2407153','wait',39,'adm09112754980.682000002')
20241031@162857.1278 a8ngh0ov5kre9k5jvdof1ijaah Query : use flama_phc
20241031@162857.1282 a8ngh0ov5kre9k5jvdof1ijaah Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241031@162857.1313 a8ngh0ov5kre9k5jvdof1ijaah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3021';
20241031@162857.1350 a8ngh0ov5kre9k5jvdof1ijaah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3021';
20241031@162857.1401 a8ngh0ov5kre9k5jvdof1ijaah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3021';
20241031@162857.1436 a8ngh0ov5kre9k5jvdof1ijaah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3021';

20241104@083510.9545 rap2re09vns2p0d7bn9o4tpeg3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3022';
20241104@083510.9614 rap2re09vns2p0d7bn9o4tpeg3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3022';
20241104@083510.9644 rap2re09vns2p0d7bn9o4tpeg3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3022';
20241104@083511.6180 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@083511.6300 go1ac0jiq5rv01nmp5d9r53qe5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@083511.6880 go1ac0jiq5rv01nmp5d9r53qe5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3023';
20241104@083511.7440 go1ac0jiq5rv01nmp5d9r53qe5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3023';
20241104@083511.8190 go1ac0jiq5rv01nmp5d9r53qe5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3023';
20241104@083511.8540 go1ac0jiq5rv01nmp5d9r53qe5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3023';
20241104@083511.9000 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083511.9030 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@083511.1003 go1ac0jiq5rv01nmp5d9r53qe5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20241104@083511.1264 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.678.00.01'
20241104@083511.1377 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.678.00.01' and bi.lordem =10000
20241104@083511.1805 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161309,992000001 ' 
20241104@083511.2149 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.678.00.01'
20241104@083511.2168 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.678.00.01' and bi.lordem =10000
20241104@083511.2188 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161309,992000001 ' 
20241104@083511.2208 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.679.00.01'
20241104@083511.2319 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.679.00.01' and bi.lordem =20000
20241104@083511.2755 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161340,818000002 ' 
20241104@083511.3078 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.679.00.01'
20241104@083511.3111 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.679.00.01' and bi.lordem =20000
20241104@083511.3147 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161340,818000002 ' 
20241104@083511.3168 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1317.00.1'
20241104@083511.3368 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.1317.00.1' and bi.lordem =30000
20241104@083511.3747 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161351,442000003 ' 
20241104@083511.4098 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4906.00.1'
20241104@083511.4215 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.4906.00.1' and bi.lordem =40000
20241104@083511.4607 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161362,164000004 ' 
20241104@083511.4940 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1667.00.1'
20241104@083511.5087 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.1667.00.1' and bi.lordem =50000
20241104@083511.5600 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161481,074000005 ' 
20241104@083511.5981 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1685.00.1'
20241104@083511.6104 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.1685.00.1' and bi.lordem =60000
20241104@083511.6436 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161501,848000006 ' 
20241104@083511.6759 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1670.00.1'
20241104@083511.6879 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.1670.00.1' and bi.lordem =70000
20241104@083511.7269 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161518,649000007 ' 
20241104@083511.7617 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5501.00.1'
20241104@083511.7750 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002493 and bi.ref ='324.5501.00.1' and bi.lordem =80000
20241104@083511.8201 go1ac0jiq5rv01nmp5d9r53qe5 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 = 'az24103161530,156000008 ' 
20241104@083511.8595 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083511.8600 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 1 valor from ts where ts.ndos = 5
20241104@083511.8791 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083511.8813 go1ac0jiq5rv01nmp5d9r53qe5 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')
20241104@083511.8919 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20241104@083511.9102 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083511.9105 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20241104@083511.9448 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083511.9453 go1ac0jiq5rv01nmp5d9r53qe5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@083511.9568 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083511.9572 go1ac0jiq5rv01nmp5d9r53qe5 Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20241104@083511.9624 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083511.9628 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from ts where ndos = 5
20241104@083511.9708 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.5400 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20241104@083512.4550 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.4740 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20241104@083512.4840 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.4990 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20241104@083512.5100 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20241104@083512.6370 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20241104@083512.7800 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20241104@083512.8800 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.8860 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20241104@083512.9760 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.9930 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20241104@083512.1027 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67288375206728874015',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241104@083512.1111 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.1127 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20241104@083512.1142 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut67288375206728874015','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20241104','09:05',?,?)
20241104@083512.1717 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.1736 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20241104@083512.1763 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbodata (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut67288375206728874015','trf entre armazéns a','2024-11-04',5,541,?,?,?,?,?,?,?,?,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',?)
20241104@083512.2593 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.2596 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.678.00.01'
20241104@083512.2699 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.2703 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.678.00.01'
20241104@083512.2805 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.2808 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.678.00.01' and sa.armazem = 133 
20241104@083512.2879 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.2882 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.678.00.01'
20241104@083512.2906 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.678.00.01'
20241104@083512.3046 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.3062 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.3076 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.3091 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.3102 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.678.00.01' and lote = 'r2400745200a'
20241104@083512.3168 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083512.3211 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.3225 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.3237 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6728876448672887404e','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.3771 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.3791 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.3811 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6728876448672887404e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2.000, 2.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,128,128*200.48,128,128*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,128*2.000,128*2.000*200.48 ,54.481000,54.481000*200.48 ,54.481000,54.481000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,128,128*200.48,128*2.000,128*2.000*200.48,'az24103161309,992000001 ',128,128*2.000,128,128*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.4410 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.4414 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.678.00.01'
20241104@083512.4427 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.4430 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.678.00.01'
20241104@083512.4445 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.4448 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.678.00.01' and sa.armazem = 133 
20241104@083512.4469 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.4472 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.678.00.01'
20241104@083512.4490 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.678.00.01'
20241104@083512.4503 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.4518 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.4532 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.4549 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.4559 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.678.00.01' and lote = 'r2400745200a'
20241104@083512.4573 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083512.4588 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.4604 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.4615 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67288765026728874070','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.4769 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.4787 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.4806 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67288765026728874070',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,128,128*200.48,128,128*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,128*10.000,128*10.000*200.48 ,54.481000,54.481000*200.48 ,54.481000,54.481000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,128,128*200.48,128*10.000,128*10.000*200.48,'az24103161309,992000001 ',128,128*10.000,128,128*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.5100 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.5105 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20241104@083512.5121 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.5125 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.679.00.01'
20241104@083512.5144 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.5147 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.679.00.01' and sa.armazem = 133 
20241104@083512.5238 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.5241 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.679.00.01'
20241104@083512.5261 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@083512.5738 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.5755 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.5767 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.5782 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.5792 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400685200a'
20241104@083512.5808 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083512.5822 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.5839 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.5854 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6728816275672887408e','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.6008 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.6024 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.6040 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6728816275672887408e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,128,128*200.48,128,128*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,128*10.000,128*10.000*200.48 ,57.294000,57.294000*200.48 ,57.294000,57.294000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,128,128*200.48,128*10.000,128*10.000*200.48,'az24103161340,818000002 ',128,128*10.000,128,128*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.6347 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.6351 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20241104@083512.6364 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.6367 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.679.00.01'
20241104@083512.6381 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.6384 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.679.00.01' and sa.armazem = 133 
20241104@083512.6426 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.6430 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.679.00.01'
20241104@083512.6452 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@083512.6467 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.6485 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.6500 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.6519 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.6529 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400685200a'
20241104@083512.6544 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083512.6558 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.6575 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.6590 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut672881198667288740a0','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.6748 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.6770 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.6791 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut672881198667288740a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2.000, 2.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,128,128*200.48,128,128*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,128*2.000,128*2.000*200.48 ,57.294000,57.294000*200.48 ,57.294000,57.294000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,128,128*200.48,128*2.000,128*2.000*200.48,'az24103161340,818000002 ',128,128*2.000,128,128*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.7077 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.7082 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241104@083512.7098 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.7102 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.1317.00.1'
20241104@083512.7120 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.7123 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1317.00.1' and sa.armazem = 133 
20241104@083512.7196 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083512.7199 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.1317.00.1'
20241104@083512.7221 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1317.00.1'
20241104@083512.7354 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.7394 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.7407 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.7421 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.7429 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400459200a'
20241104@083512.7452 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083512.7465 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.7479 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083512.9408 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut672883298467288740b6','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083512.9744 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083512.9763 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083512.9780 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut672883298467288740b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 15.000, 15.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,115.2,115.2*200.48,115.2,115.2*200.48 ,0,0,'un ','' ,bo.marcada,1 ,115.2*15.000,115.2*15.000*200.48 ,50.590000,50.590000*200.48 ,50.590000,50.590000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,115.2,115.2*200.48,115.2*15.000,115.2*15.000*200.48,'az24103161351,442000003 ',115.2,115.2*15.000,115.2,115.2*15.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.6700 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.7100 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20241104@083513.8600 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.8900 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.4906.00.1'
20241104@083513.1050 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.1080 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4906.00.1' and sa.armazem = 133 
20241104@083513.1980 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.2010 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.4906.00.1'
20241104@083513.2210 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@083513.3630 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.3790 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.3900 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.4040 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.4130 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20241104@083513.4320 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083513.4450 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.4600 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.4710 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6728801968672887410a','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.6270 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.6470 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.6660 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6728801968672887410a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,41.6,41.6*200.48,41.6,41.6*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,41.6*8.000,41.6*8.000*200.48 ,19.270000,19.270000*200.48 ,19.270000,19.270000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,41.6,41.6*200.48,41.6*8.000,41.6*8.000*200.48,'az24103161362,164000004 ',41.6,41.6*8.000,41.6,41.6*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.9670 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.9710 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20241104@083513.9860 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.9890 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.1667.00.1'
20241104@083513.1006 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.1008 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1667.00.1' and sa.armazem = 133 
20241104@083513.1079 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.1082 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.1667.00.1'
20241104@083513.1151 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@083513.1368 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.1443 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.1458 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.1473 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.1481 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20241104@083513.1501 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083513.1514 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.1529 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.1540 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67288989836728874124','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.1695 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.1712 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.1728 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67288989836728874124',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 18.000, 18.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,70000 ,89.6,89.6*200.48,89.6,89.6*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,89.6*18.000,89.6*18.000*200.48 ,36.603000,36.603000*200.48 ,36.603000,36.603000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,89.6,89.6*200.48,89.6*18.000,89.6*18.000*200.48,'az24103161481,074000005 ',89.6,89.6*18.000,89.6,89.6*18.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.2016 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.2020 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20241104@083513.2062 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.2065 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.1685.00.1'
20241104@083513.2081 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.2084 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1685.00.1' and sa.armazem = 133 
20241104@083513.2157 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.2160 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.1685.00.1'
20241104@083513.2179 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1685.00.1'
20241104@083513.2318 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.2334 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.2347 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.2362 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.2370 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20241104@083513.2542 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083513.2753 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.2770 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.2782 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67288417656728874143','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.2942 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.2959 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.2976 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67288417656728874143',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,80000 ,62.1,62.1*200.48,62.1,62.1*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,62.1*10.000,62.1*10.000*200.48 ,25.406000,25.406000*200.48 ,25.406000,25.406000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,62.1,62.1*200.48,62.1*10.000,62.1*10.000*200.48,'az24103161501,848000006 ',62.1,62.1*10.000,62.1,62.1*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.3263 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.3267 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241104@083513.3282 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.3285 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.1670.00.1'
20241104@083513.3301 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.3304 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1670.00.1' and sa.armazem = 133 
20241104@083513.3368 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.3371 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.1670.00.1'
20241104@083513.3389 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20241104@083513.3528 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.3544 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.3557 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.3571 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.3579 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241104@083513.3599 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083513.3612 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.3627 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.3639 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67288603026728874158','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.3800 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.3844 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.3860 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67288603026728874158',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,90000 ,54.4,54.4*200.48,54.4,54.4*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,54.4*10.000,54.4*10.000*200.48 ,22.811000,22.811000*200.48 ,22.811000,22.811000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,54.4,54.4*200.48,54.4*10.000,54.4*10.000*200.48,'az24103161518,649000007 ',54.4,54.4*10.000,54.4,54.4*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.4174 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.4178 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20241104@083513.4193 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.4196 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.5501.00.1'
20241104@083513.4213 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.4216 go1ac0jiq5rv01nmp5d9r53qe5 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.5501.00.1' and sa.armazem = 133 
20241104@083513.4296 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.4299 go1ac0jiq5rv01nmp5d9r53qe5 Query : select st.stns valor from st where st.ref = '324.5501.00.1'
20241104@083513.4566 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5501.00.1'
20241104@083513.5657 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.5676 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.5690 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.5705 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.5714 go1ac0jiq5rv01nmp5d9r53qe5 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20241104@083513.5728 go1ac0jiq5rv01nmp5d9r53qe5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@083513.5821 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.5898 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241104@083513.5910 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6728845445672887418e','aut67288375206728874015',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.6234 go1ac0jiq5rv01nmp5d9r53qe5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@083513.6284 go1ac0jiq5rv01nmp5d9r53qe5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241104@083513.6299 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6728845445672887418e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,100000 ,64,64*200.48,64,64*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,64*10.000,64*10.000*200.48 ,18.137000,18.137000*200.48 ,18.137000,18.137000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,64,64*200.48,64*10.000,64*10.000*200.48,'az24103161530,156000008 ',64,64*10.000,64,64*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67288375206728874015'
20241104@083513.6601 go1ac0jiq5rv01nmp5d9r53qe5 Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp,transactionid) values ('aut67288375206728874015','','wait',5,'adm12071144683,938000003','')
20241104@083513.6696 go1ac0jiq5rv01nmp5d9r53qe5 Query : use flama_phc
20241104@083513.6700 go1ac0jiq5rv01nmp5d9r53qe5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@083513.6749 go1ac0jiq5rv01nmp5d9r53qe5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3023';
20241104@083513.6784 go1ac0jiq5rv01nmp5d9r53qe5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3023';

20241104@174338.6174 o1lv2de8utkjt15n7itq937l0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3024';
20241104@174338.6535 o1lv2de8utkjt15n7itq937l0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3024';
20241104@174338.6961 o1lv2de8utkjt15n7itq937l0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3024';
20241104@174338.7307 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174338.7352 o1lv2de8utkjt15n7itq937l0p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174338.8023 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174338.8061 o1lv2de8utkjt15n7itq937l0p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174338.8461 o1lv2de8utkjt15n7itq937l0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20241104@174338.8965 o1lv2de8utkjt15n7itq937l0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407156 and bi.ref ='326.595.00.01' and bi.lordem =1
20241104@174338.9763 o1lv2de8utkjt15n7itq937l0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20241104@174339.1330 o1lv2de8utkjt15n7itq937l0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407156 and bi.ref ='326.595.00.01' and bi.lordem =1
20241104@174339.6370 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174339.6770 o1lv2de8utkjt15n7itq937l0p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174339.1478 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174339.1520 o1lv2de8utkjt15n7itq937l0p Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174339.2000 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174339.2040 o1lv2de8utkjt15n7itq937l0p 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')
20241104@174339.2615 o1lv2de8utkjt15n7itq937l0p 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
20241104@174339.4483 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174339.4525 o1lv2de8utkjt15n7itq937l0p Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174339.5209 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174339.5251 o1lv2de8utkjt15n7itq937l0p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174339.5847 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174339.5894 o1lv2de8utkjt15n7itq937l0p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174339.6531 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174339.6574 o1lv2de8utkjt15n7itq937l0p Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174339.7111 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174339.7153 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from td where ndoc = 39
20241104@174339.7514 o1lv2de8utkjt15n7itq937l0p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174339.7913 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174339.8935 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174339.9603 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174339.9855 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174340.5200 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174340.7770 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174340.1030 o1lv2de8utkjt15n7itq937l0p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174340.1935 o1lv2de8utkjt15n7itq937l0p Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174340.2438 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174340.2692 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174340.3017 o1lv2de8utkjt15n7itq937l0p Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729033637672907cc19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174340.3964 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174340.4221 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174340.4940 o1lv2de8utkjt15n7itq937l0p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174340.5315 o1lv2de8utkjt15n7itq937l0p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174340.5693 o1lv2de8utkjt15n7itq937l0p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174340.6063 o1lv2de8utkjt15n7itq937l0p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174340.6441 o1lv2de8utkjt15n7itq937l0p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174340.6948 o1lv2de8utkjt15n7itq937l0p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174340.8395 o1lv2de8utkjt15n7itq937l0p Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729033637672907cc19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174341.7620 o1lv2de8utkjt15n7itq937l0p Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174341.1378 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174341.1629 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174341.2215 o1lv2de8utkjt15n7itq937l0p Query : select 'normal' from dummy
20241104@174341.2609 o1lv2de8utkjt15n7itq937l0p Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729033637672907cc19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1597,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174341.4162 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174341.4203 o1lv2de8utkjt15n7itq937l0p Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20241104@174341.4718 o1lv2de8utkjt15n7itq937l0p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '326.595.00.01'
20241104@174341.5222 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174341.5474 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174341.6186 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174341.6439 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174341.6606 o1lv2de8utkjt15n7itq937l0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174341.6893 o1lv2de8utkjt15n7itq937l0p Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r2400411200a'
20241104@174341.7274 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174341.7527 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174341.8569 o1lv2de8utkjt15n7itq937l0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729088479672907cdb1','aut6729033637672907cc19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174341.9105 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174341.9358 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174341.9976 o1lv2de8utkjt15n7itq937l0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729088479672907cdb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6729033637672907cc19' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174342.1140 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174342.1224 o1lv2de8utkjt15n7itq937l0p Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20241104@174342.1565 o1lv2de8utkjt15n7itq937l0p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '326.595.00.01'
20241104@174342.1815 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174342.2066 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174342.3021 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174342.3274 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174342.3439 o1lv2de8utkjt15n7itq937l0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174342.3687 o1lv2de8utkjt15n7itq937l0p Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r2400411200a'
20241104@174342.4057 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174342.4331 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174342.4541 o1lv2de8utkjt15n7itq937l0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729067969672907ce63','aut6729033637672907cc19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174342.4584 o1lv2de8utkjt15n7itq937l0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174342.4835 o1lv2de8utkjt15n7itq937l0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174342.5453 o1lv2de8utkjt15n7itq937l0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729067969672907ce63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6729033637672907cc19' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241104@174342.6054 o1lv2de8utkjt15n7itq937l0p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729033637672907cc19','2407156','wait',39,'adm09112754980.682000002')
20241104@174342.6846 o1lv2de8utkjt15n7itq937l0p Query : use flama_phc
20241104@174342.6906 o1lv2de8utkjt15n7itq937l0p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174342.7152 o1lv2de8utkjt15n7itq937l0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3024';
20241104@174342.7454 o1lv2de8utkjt15n7itq937l0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3024';
20241104@174342.7716 o1lv2de8utkjt15n7itq937l0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3024';
20241104@174342.8015 o1lv2de8utkjt15n7itq937l0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3024';
20241104@174342.9128 2j2mf41krq2hdi0r1idtook0nd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174342.9150 2j2mf41krq2hdi0r1idtook0nd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174342.9221 2j2mf41krq2hdi0r1idtook0nd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3025';
20241104@174342.9291 2j2mf41krq2hdi0r1idtook0nd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3025';
20241104@174342.9388 2j2mf41krq2hdi0r1idtook0nd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3025';
20241104@174342.9441 2j2mf41krq2hdi0r1idtook0nd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3025';
20241104@174342.9515 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174342.9518 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174342.9606 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174342.9659 2j2mf41krq2hdi0r1idtook0nd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174342.9877 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.16901.001'
20241104@174343.6400 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407157 and bi.ref ='325.16901.001' and bi.lordem =1
20241104@174343.4140 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.4180 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174343.4640 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.4680 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174343.5080 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.5160 2j2mf41krq2hdi0r1idtook0nd 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')
20241104@174343.5470 2j2mf41krq2hdi0r1idtook0nd 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
20241104@174343.5960 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.6000 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174343.6720 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.6760 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174343.7170 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.7430 2j2mf41krq2hdi0r1idtook0nd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174343.8130 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.8370 2j2mf41krq2hdi0r1idtook0nd Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174343.9830 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.9880 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from td where ndoc = 39
20241104@174343.1003 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174343.1044 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.1064 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174343.1103 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.1138 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174343.1178 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.1195 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174343.1296 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174343.1376 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174343.1408 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.1448 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174343.1467 2j2mf41krq2hdi0r1idtook0nd Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729041772672907cf1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174343.1714 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.1734 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174343.1775 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174343.1790 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174343.1805 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174343.1820 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174343.1833 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174343.1846 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174343.1865 2j2mf41krq2hdi0r1idtook0nd Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729041772672907cf1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174343.2126 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174343.2177 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.2193 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174343.2227 2j2mf41krq2hdi0r1idtook0nd Query : select 'normal' from dummy
20241104@174343.2242 2j2mf41krq2hdi0r1idtook0nd Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729041772672907cf1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1598,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174343.2569 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.2573 2j2mf41krq2hdi0r1idtook0nd Query : select st.usalote valor from st where st.ref = '325.16901.001'
20241104@174343.2600 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.16901.001'
20241104@174343.2752 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.2771 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174343.2810 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.2857 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174343.2880 2j2mf41krq2hdi0r1idtook0nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174343.2898 2j2mf41krq2hdi0r1idtook0nd Query : select sestamp valor from se where ref ='325.16901.001' and lote = '25/11'
20241104@174343.2920 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.2943 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174343.2956 2j2mf41krq2hdi0r1idtook0nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729028784672907cf47','aut6729041772672907cf1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174343.2960 2j2mf41krq2hdi0r1idtook0nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.2995 2j2mf41krq2hdi0r1idtook0nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174343.3035 2j2mf41krq2hdi0r1idtook0nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729028784672907cf47',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6729041772672907cf1f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174343.3333 2j2mf41krq2hdi0r1idtook0nd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729041772672907cf1f','2407157','wait',39,'adm09112754980.682000002')
20241104@174343.3428 2j2mf41krq2hdi0r1idtook0nd Query : use flama_phc
20241104@174343.3449 2j2mf41krq2hdi0r1idtook0nd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174343.3501 2j2mf41krq2hdi0r1idtook0nd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3025';
20241104@174343.3550 2j2mf41krq2hdi0r1idtook0nd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3025';
20241104@174343.3610 2j2mf41krq2hdi0r1idtook0nd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3025';
20241104@174343.3659 2j2mf41krq2hdi0r1idtook0nd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3025';
20241104@174343.4221 b10e55pep569vk12se3j7beqfp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174343.4264 b10e55pep569vk12se3j7beqfp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174343.4339 b10e55pep569vk12se3j7beqfp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3026';
20241104@174343.4407 b10e55pep569vk12se3j7beqfp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3026';
20241104@174343.4467 b10e55pep569vk12se3j7beqfp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3026';
20241104@174343.4499 b10e55pep569vk12se3j7beqfp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3026';
20241104@174343.4554 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.4558 b10e55pep569vk12se3j7beqfp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174343.4625 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.4637 b10e55pep569vk12se3j7beqfp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174343.4685 b10e55pep569vk12se3j7beqfp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241104@174343.4911 b10e55pep569vk12se3j7beqfp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407158 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241104@174343.5236 b10e55pep569vk12se3j7beqfp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241104@174343.5260 b10e55pep569vk12se3j7beqfp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407158 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241104@174343.5290 b10e55pep569vk12se3j7beqfp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241104@174343.5314 b10e55pep569vk12se3j7beqfp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407158 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241104@174343.5344 b10e55pep569vk12se3j7beqfp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241104@174343.5380 b10e55pep569vk12se3j7beqfp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407158 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241104@174343.5410 b10e55pep569vk12se3j7beqfp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241104@174343.5576 b10e55pep569vk12se3j7beqfp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407158 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241104@174343.5595 b10e55pep569vk12se3j7beqfp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241104@174343.5635 b10e55pep569vk12se3j7beqfp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407158 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241104@174343.5788 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.5793 b10e55pep569vk12se3j7beqfp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174343.5963 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.6005 b10e55pep569vk12se3j7beqfp Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174343.6246 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.6250 b10e55pep569vk12se3j7beqfp 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')
20241104@174343.6394 b10e55pep569vk12se3j7beqfp 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
20241104@174343.6557 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.6562 b10e55pep569vk12se3j7beqfp Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174343.6754 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.6796 b10e55pep569vk12se3j7beqfp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174343.6849 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.6853 b10e55pep569vk12se3j7beqfp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174343.6953 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.6971 b10e55pep569vk12se3j7beqfp Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174343.7197 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174343.7201 b10e55pep569vk12se3j7beqfp Query : select 1 valor from td where ndoc = 39
20241104@174343.7325 b10e55pep569vk12se3j7beqfp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174343.7343 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.7364 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174343.7399 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.7450 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174343.7489 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.7512 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174343.7548 b10e55pep569vk12se3j7beqfp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174343.7614 b10e55pep569vk12se3j7beqfp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174343.7660 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.7704 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174343.7734 b10e55pep569vk12se3j7beqfp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729087095672907cfb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174343.7950 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.8613 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174343.9289 b10e55pep569vk12se3j7beqfp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174343.9313 b10e55pep569vk12se3j7beqfp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174343.9328 b10e55pep569vk12se3j7beqfp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174343.9371 b10e55pep569vk12se3j7beqfp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174343.9421 b10e55pep569vk12se3j7beqfp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174343.9461 b10e55pep569vk12se3j7beqfp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174343.9514 b10e55pep569vk12se3j7beqfp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729087095672907cfb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174343.9830 b10e55pep569vk12se3j7beqfp Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174343.9862 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174343.9927 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174343.9958 b10e55pep569vk12se3j7beqfp Query : select 'normal' from dummy
20241104@174343.9979 b10e55pep569vk12se3j7beqfp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729087095672907cfb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1599,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174344.3450 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174344.3490 b10e55pep569vk12se3j7beqfp Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241104@174344.3770 b10e55pep569vk12se3j7beqfp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241104@174344.5360 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.5550 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.5890 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.6110 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.6210 b10e55pep569vk12se3j7beqfp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174344.6410 b10e55pep569vk12se3j7beqfp Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241104@174344.6620 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.6910 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.7090 b10e55pep569vk12se3j7beqfp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729011964672907d010','aut6729087095672907cfb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174344.7200 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.7570 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.8010 b10e55pep569vk12se3j7beqfp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729011964672907d010',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6729087095672907cfb8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174344.1104 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174344.1108 b10e55pep569vk12se3j7beqfp Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241104@174344.1143 b10e55pep569vk12se3j7beqfp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241104@174344.1161 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.1182 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.1216 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.1248 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.1278 b10e55pep569vk12se3j7beqfp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174344.1297 b10e55pep569vk12se3j7beqfp Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241104@174344.1323 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.1340 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.1361 b10e55pep569vk12se3j7beqfp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729082310672907d020','aut6729087095672907cfb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174344.1385 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.1408 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.1472 b10e55pep569vk12se3j7beqfp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729082310672907d020',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6729087095672907cfb8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241104@174344.1753 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174344.1763 b10e55pep569vk12se3j7beqfp Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241104@174344.1831 b10e55pep569vk12se3j7beqfp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241104@174344.1847 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.1888 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.1918 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.1968 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.1978 b10e55pep569vk12se3j7beqfp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174344.1991 b10e55pep569vk12se3j7beqfp Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241104@174344.2010 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.2051 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.2065 b10e55pep569vk12se3j7beqfp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729025067672907d031','aut6729087095672907cfb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174344.2072 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.2091 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.2139 b10e55pep569vk12se3j7beqfp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729025067672907d031',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6729087095672907cfb8' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241104@174344.2402 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174344.2405 b10e55pep569vk12se3j7beqfp Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241104@174344.2466 b10e55pep569vk12se3j7beqfp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241104@174344.2587 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.2614 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.2696 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.2740 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.2752 b10e55pep569vk12se3j7beqfp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174344.2785 b10e55pep569vk12se3j7beqfp Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241104@174344.2800 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.2834 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.2848 b10e55pep569vk12se3j7beqfp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729018850672907d044','aut6729087095672907cfb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174344.2853 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.2869 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.2902 b10e55pep569vk12se3j7beqfp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729018850672907d044',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6729087095672907cfb8' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241104@174344.3229 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174344.3233 b10e55pep569vk12se3j7beqfp Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241104@174344.3265 b10e55pep569vk12se3j7beqfp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241104@174344.3291 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.3322 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.3359 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.3381 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.3399 b10e55pep569vk12se3j7beqfp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174344.3413 b10e55pep569vk12se3j7beqfp Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241104@174344.3431 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.3450 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.3486 b10e55pep569vk12se3j7beqfp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729083067672907d053','aut6729087095672907cfb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174344.3491 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.3536 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.3574 b10e55pep569vk12se3j7beqfp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729083067672907d053',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6729087095672907cfb8' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241104@174344.3873 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174344.3882 b10e55pep569vk12se3j7beqfp Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241104@174344.3905 b10e55pep569vk12se3j7beqfp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241104@174344.3923 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.3941 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.3979 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.3997 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.4033 b10e55pep569vk12se3j7beqfp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174344.4088 b10e55pep569vk12se3j7beqfp Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241104@174344.4143 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.4180 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.4196 b10e55pep569vk12se3j7beqfp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729066001672907d065','aut6729087095672907cfb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174344.4201 b10e55pep569vk12se3j7beqfp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.4256 b10e55pep569vk12se3j7beqfp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.4315 b10e55pep569vk12se3j7beqfp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729066001672907d065',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6729087095672907cfb8' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241104@174344.4604 b10e55pep569vk12se3j7beqfp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729087095672907cfb8','2407158','wait',39,'adm09112754980.682000002')
20241104@174344.4694 b10e55pep569vk12se3j7beqfp Query : use flama_phc
20241104@174344.4698 b10e55pep569vk12se3j7beqfp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174344.4739 b10e55pep569vk12se3j7beqfp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3026';
20241104@174344.4804 b10e55pep569vk12se3j7beqfp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3026';
20241104@174344.4864 b10e55pep569vk12se3j7beqfp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3026';
20241104@174344.4937 b10e55pep569vk12se3j7beqfp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3026';
20241104@174344.5559 6ajne7btenm9vjln16hu1qrj5a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174344.5572 6ajne7btenm9vjln16hu1qrj5a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174344.5666 6ajne7btenm9vjln16hu1qrj5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3027';
20241104@174344.5729 6ajne7btenm9vjln16hu1qrj5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3027';
20241104@174344.5788 6ajne7btenm9vjln16hu1qrj5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3027';
20241104@174344.5819 6ajne7btenm9vjln16hu1qrj5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3027';
20241104@174344.5875 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.5879 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174344.5948 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.5952 6ajne7btenm9vjln16hu1qrj5a Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174344.6016 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241104@174344.6198 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407159 and bi.ref ='324.1832.00.2' and bi.lordem =1
20241104@174344.6520 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241104@174344.6544 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407159 and bi.ref ='324.1832.00.2' and bi.lordem =1
20241104@174344.6584 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241104@174344.6604 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407159 and bi.ref ='324.1832.00.2' and bi.lordem =1
20241104@174344.6626 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241104@174344.6647 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407159 and bi.ref ='324.1832.00.2' and bi.lordem =1
20241104@174344.6666 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.6669 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174344.6725 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.6728 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174344.6771 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.6783 6ajne7btenm9vjln16hu1qrj5a 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')
20241104@174344.6845 6ajne7btenm9vjln16hu1qrj5a 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
20241104@174344.6896 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.6903 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174344.6940 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.6953 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174344.7009 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.7013 6ajne7btenm9vjln16hu1qrj5a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174344.7069 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.7079 6ajne7btenm9vjln16hu1qrj5a Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174344.7137 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.7140 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from td where ndoc = 39
20241104@174344.7174 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174344.7207 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.7226 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174344.7258 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.7292 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174344.7331 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.7362 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174344.7391 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174344.7480 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174344.7497 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.7518 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174344.7538 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174344.7717 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.7771 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174344.7881 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174344.7901 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174344.7938 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174344.7975 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174344.8011 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174344.8035 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174344.8048 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729085311672907d0b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174344.8320 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174344.8345 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.8366 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174344.8408 6ajne7btenm9vjln16hu1qrj5a Query : select 'normal' from dummy
20241104@174344.8426 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729085311672907d0b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1600,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174344.8718 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174344.8722 6ajne7btenm9vjln16hu1qrj5a Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241104@174344.8768 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241104@174344.8948 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.8965 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.8997 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.9046 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.9057 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174344.9071 6ajne7btenm9vjln16hu1qrj5a Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241104@174344.9085 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.9101 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174344.9114 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729093355672907d0dd','aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174344.9129 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174344.9144 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174344.9188 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729093355672907d0dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729085311672907d0b4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174344.9793 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.9900 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.1620 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.1790 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.1880 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174345.2010 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.2250 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.2380 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729087916672907d104','aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174345.2450 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.1141 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.1178 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729087916672907d104',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729085311672907d0b4' ,0,0 ,2,23.00,20000,?,?,?)
20241104@174345.1913 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174345.1918 6ajne7btenm9vjln16hu1qrj5a Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241104@174345.1941 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241104@174345.1961 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.1989 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.2111 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.2158 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.2167 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174345.2268 6ajne7btenm9vjln16hu1qrj5a Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241104@174345.2282 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.2298 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.2312 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729080976672907d137','aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174345.2318 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.2334 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.2407 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729080976672907d137',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729085311672907d0b4' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241104@174345.2689 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.2707 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.2746 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.2763 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.2772 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174345.2787 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.2812 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.2826 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729077665672907d144','aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174345.2865 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.2889 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.2957 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729077665672907d144',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729085311672907d0b4' ,0,0 ,2,23.00,50000,?,?,?)
20241104@174345.3243 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174345.3247 6ajne7btenm9vjln16hu1qrj5a Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241104@174345.3270 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241104@174345.3296 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.3318 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.3374 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.3414 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.3453 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174345.3468 6ajne7btenm9vjln16hu1qrj5a Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241104@174345.3484 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.3513 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.3544 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729054065672907d155','aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174345.3550 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.3567 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.3629 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729054065672907d155',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729085311672907d0b4' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241104@174345.3942 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.3962 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.4018 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.4037 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.4047 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174345.4092 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.4145 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.4160 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729089143672907d163','aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174345.4185 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.4207 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.4238 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729089143672907d163',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729085311672907d0b4' ,0,0 ,2,23.00,80000,?,?,?)
20241104@174345.4511 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174345.4515 6ajne7btenm9vjln16hu1qrj5a Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241104@174345.4540 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241104@174345.4592 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.4657 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.4707 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.4740 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.4750 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174345.4775 6ajne7btenm9vjln16hu1qrj5a Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241104@174345.4790 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.4849 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.4865 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729044905672907d174','aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174345.4871 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.4899 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.4991 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729044905672907d174',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729085311672907d0b4' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241104@174345.5307 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.5326 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.5354 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.5383 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.5393 6ajne7btenm9vjln16hu1qrj5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174345.5406 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.5422 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174345.5436 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729006533672907d183','aut6729085311672907d0b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174345.5441 6ajne7btenm9vjln16hu1qrj5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174345.5484 6ajne7btenm9vjln16hu1qrj5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174345.5547 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729006533672907d183',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729085311672907d0b4' ,0,0 ,2,23.00,110000,?,?,?)
20241104@174345.5832 6ajne7btenm9vjln16hu1qrj5a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729085311672907d0b4','2407159','wait',39,'adm09112754980.682000002')
20241104@174345.5909 6ajne7btenm9vjln16hu1qrj5a Query : use flama_phc
20241104@174345.5944 6ajne7btenm9vjln16hu1qrj5a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174345.5981 6ajne7btenm9vjln16hu1qrj5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3027';
20241104@174345.6022 6ajne7btenm9vjln16hu1qrj5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3027';
20241104@174345.6070 6ajne7btenm9vjln16hu1qrj5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3027';
20241104@174345.6104 6ajne7btenm9vjln16hu1qrj5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3027';
20241104@174345.7321 ol0chmm632l4cpase0lrhe047j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174345.7403 ol0chmm632l4cpase0lrhe047j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174345.7873 ol0chmm632l4cpase0lrhe047j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3028';
20241104@174345.8246 ol0chmm632l4cpase0lrhe047j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3028';
20241104@174345.8591 ol0chmm632l4cpase0lrhe047j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3028';
20241104@174345.8893 ol0chmm632l4cpase0lrhe047j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3028';
20241104@174345.9238 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174345.9280 ol0chmm632l4cpase0lrhe047j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174345.9938 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174345.9980 ol0chmm632l4cpase0lrhe047j Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174346.2910 ol0chmm632l4cpase0lrhe047j 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'
20241104@174346.8080 ol0chmm632l4cpase0lrhe047j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407160 and bi.ref ='324.1834.00.1' and bi.lordem =1
20241104@174346.1628 ol0chmm632l4cpase0lrhe047j 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'
20241104@174346.1916 ol0chmm632l4cpase0lrhe047j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407160 and bi.ref ='324.1834.00.1' and bi.lordem =1
20241104@174346.2125 ol0chmm632l4cpase0lrhe047j 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'
20241104@174346.3035 ol0chmm632l4cpase0lrhe047j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407160 and bi.ref ='324.1834.00.1' and bi.lordem =1
20241104@174346.3243 ol0chmm632l4cpase0lrhe047j 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'
20241104@174346.3531 ol0chmm632l4cpase0lrhe047j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407160 and bi.ref ='324.1834.00.1' and bi.lordem =1
20241104@174346.4892 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174346.4937 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174346.5312 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174346.5354 ol0chmm632l4cpase0lrhe047j Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174346.5724 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174346.5766 ol0chmm632l4cpase0lrhe047j 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')
20241104@174346.6221 ol0chmm632l4cpase0lrhe047j 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
20241104@174346.6673 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174346.6715 ol0chmm632l4cpase0lrhe047j Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174346.7084 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174346.7126 ol0chmm632l4cpase0lrhe047j Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174346.7495 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174346.7537 ol0chmm632l4cpase0lrhe047j Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174346.7988 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174346.8030 ol0chmm632l4cpase0lrhe047j Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174346.8563 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174346.8605 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from td where ndoc = 39
20241104@174346.8853 ol0chmm632l4cpase0lrhe047j Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174346.9140 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174346.9391 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174346.9815 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174347.5300 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174347.7110 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174347.1467 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174347.1808 ol0chmm632l4cpase0lrhe047j Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174347.2143 ol0chmm632l4cpase0lrhe047j Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174347.2636 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174347.3677 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174347.3969 ol0chmm632l4cpase0lrhe047j Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174347.4365 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174347.4742 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174347.5441 ol0chmm632l4cpase0lrhe047j Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174347.5651 ol0chmm632l4cpase0lrhe047j Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174347.5856 ol0chmm632l4cpase0lrhe047j Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174347.6064 ol0chmm632l4cpase0lrhe047j Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174347.6270 ol0chmm632l4cpase0lrhe047j Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174347.6476 ol0chmm632l4cpase0lrhe047j Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174347.6683 ol0chmm632l4cpase0lrhe047j Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729098101672907d32c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174347.7227 ol0chmm632l4cpase0lrhe047j Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174347.7486 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174347.7738 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174347.8191 ol0chmm632l4cpase0lrhe047j Query : select 'normal' from dummy
20241104@174347.8479 ol0chmm632l4cpase0lrhe047j Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729098101672907d32c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1601,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174347.9625 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174347.9667 ol0chmm632l4cpase0lrhe047j Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241104@174347.9998 ol0chmm632l4cpase0lrhe047j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174348.5140 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174348.7660 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174348.1356 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174348.1609 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174348.1773 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174348.2020 ol0chmm632l4cpase0lrhe047j Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241104@174348.2310 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174348.2560 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174348.3683 ol0chmm632l4cpase0lrhe047j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729082024672907d438','aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174348.3971 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174348.4226 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174348.4982 ol0chmm632l4cpase0lrhe047j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729082024672907d438',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729098101672907d32c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174348.6178 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174348.6593 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174348.7168 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174348.7421 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174348.7593 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174348.7840 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174348.8091 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174348.8297 ol0chmm632l4cpase0lrhe047j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729041648672907d4bf','aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174348.8339 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174348.8589 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174349.4240 ol0chmm632l4cpase0lrhe047j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729041648672907d4bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729098101672907d32c' ,0,0 ,2,23.00,20000,?,?,?)
20241104@174349.1107 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174349.1149 ol0chmm632l4cpase0lrhe047j Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241104@174349.1480 ol0chmm632l4cpase0lrhe047j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174349.1729 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174349.1981 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174349.2557 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174349.3483 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174349.3653 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174349.3907 ol0chmm632l4cpase0lrhe047j Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241104@174349.4161 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174349.4426 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174349.4635 ol0chmm632l4cpase0lrhe047j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729080636672907d565','aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174349.4678 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174349.5041 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174349.5777 ol0chmm632l4cpase0lrhe047j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729080636672907d565',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729098101672907d32c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241104@174349.6467 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174349.7416 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174349.8807 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174349.9059 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174349.9224 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174349.9471 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174349.9724 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174350.4960 ol0chmm632l4cpase0lrhe047j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729043363672907d5e7','aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174350.5850 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174350.1127 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174350.1747 ol0chmm632l4cpase0lrhe047j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729043363672907d5e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729098101672907d32c' ,0,0 ,2,23.00,50000,?,?,?)
20241104@174350.2465 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174350.2506 ol0chmm632l4cpase0lrhe047j Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241104@174350.2838 ol0chmm632l4cpase0lrhe047j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174350.3086 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174350.3338 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174350.3914 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174350.4167 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174350.4331 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174350.4578 ol0chmm632l4cpase0lrhe047j Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241104@174350.4826 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174350.5916 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174350.6122 ol0chmm632l4cpase0lrhe047j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729042390672907d675','aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174350.6166 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174350.6418 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174350.7956 ol0chmm632l4cpase0lrhe047j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729042390672907d675',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729098101672907d32c' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241104@174350.8657 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174350.8910 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174350.9495 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174350.9749 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174350.9915 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174351.1620 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174351.4150 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174351.6220 ol0chmm632l4cpase0lrhe047j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729059868672907d703','aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174351.8660 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174351.1117 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174351.2258 ol0chmm632l4cpase0lrhe047j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729059868672907d703',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729098101672907d32c' ,0,0 ,2,23.00,80000,?,?,?)
20241104@174351.2860 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174351.2903 ol0chmm632l4cpase0lrhe047j Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241104@174351.3235 ol0chmm632l4cpase0lrhe047j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174351.3484 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174351.3749 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174351.4335 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174351.4587 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174351.4752 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174351.4999 ol0chmm632l4cpase0lrhe047j Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241104@174351.5247 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174351.5498 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174351.5705 ol0chmm632l4cpase0lrhe047j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729037189672907d780','aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174351.5749 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174351.7529 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174351.8740 ol0chmm632l4cpase0lrhe047j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729037189672907d780',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729098101672907d32c' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241104@174351.9738 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174351.9989 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174352.5660 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.9050 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174352.1070 ol0chmm632l4cpase0lrhe047j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174352.1318 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.1569 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174352.1776 ol0chmm632l4cpase0lrhe047j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729078163672907d820','aut6729098101672907d32c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174352.1820 ol0chmm632l4cpase0lrhe047j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.2073 ol0chmm632l4cpase0lrhe047j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174352.2732 ol0chmm632l4cpase0lrhe047j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729078163672907d820',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729098101672907d32c' ,0,0 ,2,23.00,110000,?,?,?)
20241104@174352.3376 ol0chmm632l4cpase0lrhe047j Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729098101672907d32c','2407160','wait',39,'adm09112754980.682000002')
20241104@174352.4005 ol0chmm632l4cpase0lrhe047j Query : use flama_phc
20241104@174352.4086 ol0chmm632l4cpase0lrhe047j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174352.4332 ol0chmm632l4cpase0lrhe047j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3028';
20241104@174352.4637 ol0chmm632l4cpase0lrhe047j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3028';
20241104@174352.4903 ol0chmm632l4cpase0lrhe047j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3028';
20241104@174352.5208 ol0chmm632l4cpase0lrhe047j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3028';
20241104@174352.6608 aaqf004oo3ogkcgdg96381229m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174352.6620 aaqf004oo3ogkcgdg96381229m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174352.6700 aaqf004oo3ogkcgdg96381229m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3029';
20241104@174352.6785 aaqf004oo3ogkcgdg96381229m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3029';
20241104@174352.6879 aaqf004oo3ogkcgdg96381229m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3029';
20241104@174352.6915 aaqf004oo3ogkcgdg96381229m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3029';
20241104@174352.6974 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.7003 aaqf004oo3ogkcgdg96381229m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174352.7066 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.7072 aaqf004oo3ogkcgdg96381229m Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174352.7129 aaqf004oo3ogkcgdg96381229m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20241104@174352.7313 aaqf004oo3ogkcgdg96381229m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407161 and bi.ref ='324.1847.00.1' and bi.lordem =1
20241104@174352.7708 aaqf004oo3ogkcgdg96381229m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20241104@174352.7750 aaqf004oo3ogkcgdg96381229m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407161 and bi.ref ='324.1847.00.1' and bi.lordem =1
20241104@174352.7773 aaqf004oo3ogkcgdg96381229m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20241104@174352.7792 aaqf004oo3ogkcgdg96381229m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407161 and bi.ref ='324.1847.00.1' and bi.lordem =1
20241104@174352.7838 aaqf004oo3ogkcgdg96381229m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20241104@174352.7871 aaqf004oo3ogkcgdg96381229m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407161 and bi.ref ='324.1847.00.1' and bi.lordem =1
20241104@174352.7888 aaqf004oo3ogkcgdg96381229m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20241104@174352.7908 aaqf004oo3ogkcgdg96381229m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407161 and bi.ref ='324.1847.00.1' and bi.lordem =1
20241104@174352.7925 aaqf004oo3ogkcgdg96381229m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20241104@174352.7944 aaqf004oo3ogkcgdg96381229m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407161 and bi.ref ='324.1847.00.1' and bi.lordem =1
20241104@174352.7961 aaqf004oo3ogkcgdg96381229m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20241104@174352.7981 aaqf004oo3ogkcgdg96381229m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407161 and bi.ref ='324.1847.00.1' and bi.lordem =1
20241104@174352.8014 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.8017 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174352.8049 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.8053 aaqf004oo3ogkcgdg96381229m Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174352.8083 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.8086 aaqf004oo3ogkcgdg96381229m 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')
20241104@174352.8114 aaqf004oo3ogkcgdg96381229m 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
20241104@174352.8149 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.8152 aaqf004oo3ogkcgdg96381229m Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174352.8185 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.8188 aaqf004oo3ogkcgdg96381229m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174352.8230 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.8232 aaqf004oo3ogkcgdg96381229m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174352.8282 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.8285 aaqf004oo3ogkcgdg96381229m Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174352.8355 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174352.8358 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from td where ndoc = 39
20241104@174352.8372 aaqf004oo3ogkcgdg96381229m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174352.8432 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.8483 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174352.8538 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.8559 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174352.8670 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.8705 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174352.8718 aaqf004oo3ogkcgdg96381229m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174352.8812 aaqf004oo3ogkcgdg96381229m Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174352.8872 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.8888 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174352.8927 aaqf004oo3ogkcgdg96381229m Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174352.9117 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.9146 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174352.9200 aaqf004oo3ogkcgdg96381229m Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174352.9258 aaqf004oo3ogkcgdg96381229m Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174352.9291 aaqf004oo3ogkcgdg96381229m Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174352.9303 aaqf004oo3ogkcgdg96381229m Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174352.9333 aaqf004oo3ogkcgdg96381229m Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174352.9347 aaqf004oo3ogkcgdg96381229m Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174352.9360 aaqf004oo3ogkcgdg96381229m Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729067581672907d8d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174352.9662 aaqf004oo3ogkcgdg96381229m Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174352.9716 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174352.9734 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174352.9760 aaqf004oo3ogkcgdg96381229m Query : select 'normal' from dummy
20241104@174352.9777 aaqf004oo3ogkcgdg96381229m Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729067581672907d8d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1602,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174353.1070 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174353.1100 aaqf004oo3ogkcgdg96381229m Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20241104@174353.1640 aaqf004oo3ogkcgdg96381229m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174353.3170 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3350 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.3640 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4500 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.4600 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.5010 aaqf004oo3ogkcgdg96381229m Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400288100a'
20241104@174353.5160 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.5330 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.5450 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729071994672907d90c','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.5500 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.5650 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.5960 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729071994672907d90c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174353.9730 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.9910 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.1019 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.1056 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.1066 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.1079 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.1096 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.1108 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729072089672907d91a','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.1113 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.1129 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.1159 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729072089672907d91a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,20000,?,?,?)
20241104@174353.1424 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174353.1427 aaqf004oo3ogkcgdg96381229m Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20241104@174353.1448 aaqf004oo3ogkcgdg96381229m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174353.1465 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.1481 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.1508 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.1522 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.1531 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.1542 aaqf004oo3ogkcgdg96381229m Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400482200a'
20241104@174353.1556 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.1574 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.1585 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729067106672907d926','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.1589 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.1604 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.1632 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729067106672907d926',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241104@174353.1944 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.1964 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.2003 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2018 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.2027 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.2040 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2055 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.2067 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729091464672907d931','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.2072 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2087 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.2115 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729091464672907d931',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,50000,?,?,?)
20241104@174353.2419 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174353.2422 aaqf004oo3ogkcgdg96381229m Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20241104@174353.2441 aaqf004oo3ogkcgdg96381229m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174353.2455 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2471 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.2498 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2514 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.2523 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.2545 aaqf004oo3ogkcgdg96381229m Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400482200a'
20241104@174353.2558 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2573 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.2585 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729053391672907d93e','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.2590 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2604 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.2633 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729053391672907d93e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241104@174353.2928 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2944 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.2969 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.2983 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.2991 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.3003 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3018 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.3030 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729092396672907d949','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.3034 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3048 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.3076 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729092396672907d949',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,80000,?,?,?)
20241104@174353.3334 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174353.3337 aaqf004oo3ogkcgdg96381229m Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20241104@174353.3357 aaqf004oo3ogkcgdg96381229m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174353.3372 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3389 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.3415 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3429 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.3437 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.3449 aaqf004oo3ogkcgdg96381229m Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400482200a'
20241104@174353.3461 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3476 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.3487 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729032899672907d954','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.3491 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3506 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.3535 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729032899672907d954',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241104@174353.3794 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3810 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.3836 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3851 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.3860 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.3873 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3911 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.3923 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729025743672907d95e','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.3928 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.3943 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.3973 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729025743672907d95e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,110000,?,?,?)
20241104@174353.4238 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174353.4241 aaqf004oo3ogkcgdg96381229m Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20241104@174353.4260 aaqf004oo3ogkcgdg96381229m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174353.4274 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4289 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.4346 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4360 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.4370 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.4383 aaqf004oo3ogkcgdg96381229m Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400482200a'
20241104@174353.4396 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4411 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.4423 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729002245672907d96b','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.4427 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4441 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.4471 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729002245672907d96b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241104@174353.4739 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4754 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.4781 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4796 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.4805 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.4817 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4831 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.4843 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729058375672907d975','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.4847 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.4861 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.4890 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729058375672907d975',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,140000,?,?,?)
20241104@174353.5145 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174353.5148 aaqf004oo3ogkcgdg96381229m Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20241104@174353.5167 aaqf004oo3ogkcgdg96381229m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174353.5181 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.5196 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.5223 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.5237 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.5245 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.5256 aaqf004oo3ogkcgdg96381229m Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400482200a'
20241104@174353.5269 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.5283 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.5295 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729026379672907d980','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.5299 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.5313 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.5341 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729026379672907d980',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241104@174353.6891 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.6909 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.6935 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.6949 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.6959 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.6972 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.6985 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.6998 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729038376672907d9aa','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.7003 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7019 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.7050 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729038376672907d9aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,170000,?,?,?)
20241104@174353.7323 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174353.7326 aaqf004oo3ogkcgdg96381229m Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20241104@174353.7344 aaqf004oo3ogkcgdg96381229m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174353.7358 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7375 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.7399 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7413 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.7422 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.7433 aaqf004oo3ogkcgdg96381229m Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400482200a'
20241104@174353.7444 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7459 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.7470 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729082024672907d9b5','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.7474 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7487 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.7516 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729082024672907d9b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241104@174353.7791 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7807 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.7831 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7845 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.7853 aaqf004oo3ogkcgdg96381229m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174353.7864 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7879 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174353.7890 aaqf004oo3ogkcgdg96381229m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729074628672907d9c0','aut6729067581672907d8d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174353.7894 aaqf004oo3ogkcgdg96381229m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174353.7908 aaqf004oo3ogkcgdg96381229m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174353.7936 aaqf004oo3ogkcgdg96381229m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729074628672907d9c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729067581672907d8d4' ,0,0 ,2,23.00,200000,?,?,?)
20241104@174353.8192 aaqf004oo3ogkcgdg96381229m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729067581672907d8d4','2407161','wait',39,'adm09112754980.682000002')
20241104@174353.8263 aaqf004oo3ogkcgdg96381229m Query : use flama_phc
20241104@174353.8266 aaqf004oo3ogkcgdg96381229m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174353.8294 aaqf004oo3ogkcgdg96381229m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3029';
20241104@174353.8330 aaqf004oo3ogkcgdg96381229m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3029';
20241104@174353.8375 aaqf004oo3ogkcgdg96381229m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3029';
20241104@174353.8402 aaqf004oo3ogkcgdg96381229m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3029';
20241104@174353.9693 d19si4i8189mnhj26rrnds7ocm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174353.9704 d19si4i8189mnhj26rrnds7ocm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174353.9765 d19si4i8189mnhj26rrnds7ocm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3030';
20241104@174353.9827 d19si4i8189mnhj26rrnds7ocm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3030';
20241104@174353.9886 d19si4i8189mnhj26rrnds7ocm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3030';
20241104@174353.9914 d19si4i8189mnhj26rrnds7ocm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3030';
20241104@174353.9963 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174353.9966 d19si4i8189mnhj26rrnds7ocm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174354.2600 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.2900 d19si4i8189mnhj26rrnds7ocm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174354.7200 d19si4i8189mnhj26rrnds7ocm 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'
20241104@174354.2480 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407162 and bi.ref ='324.2221.00.1' and bi.lordem =1
20241104@174354.5800 d19si4i8189mnhj26rrnds7ocm 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'
20241104@174354.6000 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407162 and bi.ref ='324.2221.00.1' and bi.lordem =1
20241104@174354.6360 d19si4i8189mnhj26rrnds7ocm 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'
20241104@174354.8840 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407162 and bi.ref ='324.2221.00.1' and bi.lordem =1
20241104@174354.9020 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.9060 d19si4i8189mnhj26rrnds7ocm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174354.9380 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.9410 d19si4i8189mnhj26rrnds7ocm Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174354.9700 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.9730 d19si4i8189mnhj26rrnds7ocm 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')
20241104@174354.1000 d19si4i8189mnhj26rrnds7ocm 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
20241104@174354.1034 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.1037 d19si4i8189mnhj26rrnds7ocm Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174354.1064 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.1068 d19si4i8189mnhj26rrnds7ocm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174354.1098 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.1102 d19si4i8189mnhj26rrnds7ocm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174354.1141 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.1144 d19si4i8189mnhj26rrnds7ocm Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174354.1187 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.1190 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from td where ndoc = 39
20241104@174354.1202 d19si4i8189mnhj26rrnds7ocm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174354.1216 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.1233 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174354.1252 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.1268 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174354.1295 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.1308 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174354.1321 d19si4i8189mnhj26rrnds7ocm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174354.1383 d19si4i8189mnhj26rrnds7ocm Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174354.1396 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.1413 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174354.1428 d19si4i8189mnhj26rrnds7ocm Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729070731672907da20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174354.1621 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.1637 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174354.1668 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174354.1681 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174354.1693 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174354.1705 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174354.1717 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174354.1729 d19si4i8189mnhj26rrnds7ocm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174354.1740 d19si4i8189mnhj26rrnds7ocm Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729070731672907da20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174354.1991 d19si4i8189mnhj26rrnds7ocm Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174354.2018 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.2035 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174354.2068 d19si4i8189mnhj26rrnds7ocm Query : select 'normal' from dummy
20241104@174354.2083 d19si4i8189mnhj26rrnds7ocm Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729070731672907da20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1603,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174354.2402 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.2405 d19si4i8189mnhj26rrnds7ocm Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241104@174354.2427 d19si4i8189mnhj26rrnds7ocm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174354.2576 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.2593 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.2621 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.2636 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.2644 d19si4i8189mnhj26rrnds7ocm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174354.2655 d19si4i8189mnhj26rrnds7ocm Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241104@174354.2669 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.2683 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.2695 d19si4i8189mnhj26rrnds7ocm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729063346672907da41','aut6729070731672907da20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174354.2699 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.2713 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.2741 d19si4i8189mnhj26rrnds7ocm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729063346672907da41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6729070731672907da20' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174354.3020 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.3023 d19si4i8189mnhj26rrnds7ocm Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241104@174354.3043 d19si4i8189mnhj26rrnds7ocm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174354.3056 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.3072 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.3097 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.3112 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.3120 d19si4i8189mnhj26rrnds7ocm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174354.3132 d19si4i8189mnhj26rrnds7ocm Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241104@174354.3144 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.3158 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.3170 d19si4i8189mnhj26rrnds7ocm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729079003672907da4c','aut6729070731672907da20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174354.3175 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.3189 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.3219 d19si4i8189mnhj26rrnds7ocm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729079003672907da4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6729070731672907da20' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241104@174354.3495 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.3498 d19si4i8189mnhj26rrnds7ocm Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241104@174354.3517 d19si4i8189mnhj26rrnds7ocm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174354.3531 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.3546 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.3571 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.3585 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.3593 d19si4i8189mnhj26rrnds7ocm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174354.3607 d19si4i8189mnhj26rrnds7ocm Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241104@174354.3620 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.3634 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.3646 d19si4i8189mnhj26rrnds7ocm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729001800672907da58','aut6729070731672907da20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174354.3650 d19si4i8189mnhj26rrnds7ocm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.3665 d19si4i8189mnhj26rrnds7ocm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.3692 d19si4i8189mnhj26rrnds7ocm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729001800672907da58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6729070731672907da20' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241104@174354.3948 d19si4i8189mnhj26rrnds7ocm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729070731672907da20','2407162','wait',39,'adm09112754980.682000002')
20241104@174354.4015 d19si4i8189mnhj26rrnds7ocm Query : use flama_phc
20241104@174354.4018 d19si4i8189mnhj26rrnds7ocm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174354.4048 d19si4i8189mnhj26rrnds7ocm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3030';
20241104@174354.4084 d19si4i8189mnhj26rrnds7ocm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3030';
20241104@174354.4128 d19si4i8189mnhj26rrnds7ocm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3030';
20241104@174354.4154 d19si4i8189mnhj26rrnds7ocm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3030';
20241104@174354.4614 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174354.4625 1qn9ogjqbfsjvlo8lku7tq26mb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174354.4684 1qn9ogjqbfsjvlo8lku7tq26mb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3031';
20241104@174354.4742 1qn9ogjqbfsjvlo8lku7tq26mb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3031';
20241104@174354.4798 1qn9ogjqbfsjvlo8lku7tq26mb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3031';
20241104@174354.4827 1qn9ogjqbfsjvlo8lku7tq26mb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3031';
20241104@174354.4882 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.4886 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174354.4945 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.4948 1qn9ogjqbfsjvlo8lku7tq26mb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174354.4991 1qn9ogjqbfsjvlo8lku7tq26mb 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'
20241104@174354.5163 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407163 and bi.ref ='324.2222.00.1' and bi.lordem =1
20241104@174354.5495 1qn9ogjqbfsjvlo8lku7tq26mb 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'
20241104@174354.5514 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407163 and bi.ref ='324.2222.00.1' and bi.lordem =1
20241104@174354.5531 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.5534 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174354.5564 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.5567 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174354.5595 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.5598 1qn9ogjqbfsjvlo8lku7tq26mb 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')
20241104@174354.5625 1qn9ogjqbfsjvlo8lku7tq26mb 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
20241104@174354.5660 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.5662 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174354.5691 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.5694 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174354.5723 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.5726 1qn9ogjqbfsjvlo8lku7tq26mb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174354.5764 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.5766 1qn9ogjqbfsjvlo8lku7tq26mb Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174354.5808 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.5811 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from td where ndoc = 39
20241104@174354.5823 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174354.5836 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.5852 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174354.5871 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.5885 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174354.5914 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.5930 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174354.5943 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174354.6010 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174354.6023 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.6038 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174354.6053 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729017127672907da91' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174354.6247 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.6264 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174354.6297 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174354.6309 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174354.6321 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174354.6333 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174354.6345 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174354.6356 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174354.6367 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729017127672907da91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174354.6659 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174354.6685 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.6701 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174354.6724 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 'normal' from dummy
20241104@174354.6740 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729017127672907da91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1604,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174354.7060 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.7064 1qn9ogjqbfsjvlo8lku7tq26mb Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241104@174354.7087 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174354.7249 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.7265 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.7290 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.7304 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.7313 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174354.7326 1qn9ogjqbfsjvlo8lku7tq26mb Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20241104@174354.7346 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.7361 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.7373 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729086171672907dab3','aut6729017127672907da91' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174354.7377 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.7391 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.7418 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729086171672907dab3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut6729017127672907da91' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174354.7704 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.7708 1qn9ogjqbfsjvlo8lku7tq26mb Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241104@174354.7729 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174354.7743 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.7759 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.7788 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.7803 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.7811 1qn9ogjqbfsjvlo8lku7tq26mb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174354.7825 1qn9ogjqbfsjvlo8lku7tq26mb Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20241104@174354.7838 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.7852 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174354.7865 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729002150672907dabf','aut6729017127672907da91' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174354.7870 1qn9ogjqbfsjvlo8lku7tq26mb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174354.7885 1qn9ogjqbfsjvlo8lku7tq26mb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174354.7912 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729002150672907dabf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6729017127672907da91' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241104@174354.8191 1qn9ogjqbfsjvlo8lku7tq26mb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729017127672907da91','2407163','wait',39,'adm09112754980.682000002')
20241104@174354.8261 1qn9ogjqbfsjvlo8lku7tq26mb Query : use flama_phc
20241104@174354.8264 1qn9ogjqbfsjvlo8lku7tq26mb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174354.8294 1qn9ogjqbfsjvlo8lku7tq26mb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3031';
20241104@174354.8330 1qn9ogjqbfsjvlo8lku7tq26mb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3031';
20241104@174354.8375 1qn9ogjqbfsjvlo8lku7tq26mb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3031';
20241104@174354.8402 1qn9ogjqbfsjvlo8lku7tq26mb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3031';
20241104@174354.8892 avkv179nkjeinseuugifo0dat9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174354.8903 avkv179nkjeinseuugifo0dat9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174354.8965 avkv179nkjeinseuugifo0dat9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3032';
20241104@174354.9029 avkv179nkjeinseuugifo0dat9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3032';
20241104@174354.9087 avkv179nkjeinseuugifo0dat9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3032';
20241104@174354.9116 avkv179nkjeinseuugifo0dat9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3032';
20241104@174354.9167 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174354.9170 avkv179nkjeinseuugifo0dat9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174354.9236 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174354.9240 avkv179nkjeinseuugifo0dat9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174354.9286 avkv179nkjeinseuugifo0dat9 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'
20241104@174354.9460 avkv179nkjeinseuugifo0dat9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407164 and bi.ref ='324.2224.00.1' and bi.lordem =1
20241104@174354.9813 avkv179nkjeinseuugifo0dat9 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'
20241104@174354.9834 avkv179nkjeinseuugifo0dat9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407164 and bi.ref ='324.2224.00.1' and bi.lordem =1
20241104@174354.9850 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174354.9854 avkv179nkjeinseuugifo0dat9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174354.9886 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174354.9889 avkv179nkjeinseuugifo0dat9 Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174354.9920 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174354.9923 avkv179nkjeinseuugifo0dat9 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')
20241104@174354.9951 avkv179nkjeinseuugifo0dat9 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
20241104@174354.9985 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174354.9988 avkv179nkjeinseuugifo0dat9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174355.2000 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174355.2300 avkv179nkjeinseuugifo0dat9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174355.5200 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174355.5500 avkv179nkjeinseuugifo0dat9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174355.9500 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174355.9800 avkv179nkjeinseuugifo0dat9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174355.1450 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174355.1480 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from td where ndoc = 39
20241104@174355.1600 avkv179nkjeinseuugifo0dat9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174355.2030 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.2210 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174355.2410 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.2560 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174355.2860 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.3000 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174355.3130 avkv179nkjeinseuugifo0dat9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174355.3780 avkv179nkjeinseuugifo0dat9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174355.3920 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.4080 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174355.4240 avkv179nkjeinseuugifo0dat9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729093489672907db07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174355.8970 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.1150 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174355.1868 avkv179nkjeinseuugifo0dat9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174355.2081 avkv179nkjeinseuugifo0dat9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174355.2288 avkv179nkjeinseuugifo0dat9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174355.2494 avkv179nkjeinseuugifo0dat9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174355.2705 avkv179nkjeinseuugifo0dat9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174355.3690 avkv179nkjeinseuugifo0dat9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174355.3982 avkv179nkjeinseuugifo0dat9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729093489672907db07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174355.4444 avkv179nkjeinseuugifo0dat9 Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174355.4475 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.4491 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174355.4513 avkv179nkjeinseuugifo0dat9 Query : select 'normal' from dummy
20241104@174355.4528 avkv179nkjeinseuugifo0dat9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729093489672907db07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1605,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174355.4858 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174355.4861 avkv179nkjeinseuugifo0dat9 Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241104@174355.4883 avkv179nkjeinseuugifo0dat9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174355.5044 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.5061 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174355.5086 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.5101 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174355.5109 avkv179nkjeinseuugifo0dat9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174355.5120 avkv179nkjeinseuugifo0dat9 Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241104@174355.5133 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.5147 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174355.5158 avkv179nkjeinseuugifo0dat9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729079142672907db7d','aut6729093489672907db07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174355.5162 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.5178 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174355.5207 avkv179nkjeinseuugifo0dat9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729079142672907db7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6729093489672907db07' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174355.5487 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174355.5490 avkv179nkjeinseuugifo0dat9 Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241104@174355.5509 avkv179nkjeinseuugifo0dat9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174355.5523 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.5539 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174355.5564 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.5579 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174355.5587 avkv179nkjeinseuugifo0dat9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174355.5599 avkv179nkjeinseuugifo0dat9 Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241104@174355.5612 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.5627 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174355.5639 avkv179nkjeinseuugifo0dat9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729088252672907db89','aut6729093489672907db07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174355.5643 avkv179nkjeinseuugifo0dat9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174355.5657 avkv179nkjeinseuugifo0dat9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174355.5685 avkv179nkjeinseuugifo0dat9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729088252672907db89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6729093489672907db07' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241104@174355.5967 avkv179nkjeinseuugifo0dat9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729093489672907db07','2407164','wait',39,'adm09112754980.682000002')
20241104@174355.6036 avkv179nkjeinseuugifo0dat9 Query : use flama_phc
20241104@174355.6039 avkv179nkjeinseuugifo0dat9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174355.6068 avkv179nkjeinseuugifo0dat9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3032';
20241104@174355.6104 avkv179nkjeinseuugifo0dat9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3032';
20241104@174355.6150 avkv179nkjeinseuugifo0dat9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3032';
20241104@174355.6180 avkv179nkjeinseuugifo0dat9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3032';
20241104@174355.7331 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174355.7414 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174355.8035 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3033';
20241104@174355.8411 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3033';
20241104@174355.8765 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3033';
20241104@174355.9070 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3033';
20241104@174355.9419 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174355.9461 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174356.2060 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.2470 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174356.5610 nvkp7ubh4f7pp7ko7rfhjk72s2 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'
20241104@174356.2293 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407165 and bi.ref ='324.1831.00.2' and bi.lordem =1
20241104@174356.3009 nvkp7ubh4f7pp7ko7rfhjk72s2 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'
20241104@174356.3297 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407165 and bi.ref ='324.1831.00.2' and bi.lordem =1
20241104@174356.3505 nvkp7ubh4f7pp7ko7rfhjk72s2 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'
20241104@174356.3568 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407165 and bi.ref ='324.1831.00.2' and bi.lordem =1
20241104@174356.3586 nvkp7ubh4f7pp7ko7rfhjk72s2 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'
20241104@174356.4211 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407165 and bi.ref ='324.1831.00.2' and bi.lordem =1
20241104@174356.4418 nvkp7ubh4f7pp7ko7rfhjk72s2 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'
20241104@174356.4707 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407165 and bi.ref ='324.1831.00.2' and bi.lordem =1
20241104@174356.4915 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.4957 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174356.5329 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.5371 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174356.5740 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.5781 nvkp7ubh4f7pp7ko7rfhjk72s2 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')
20241104@174356.6235 nvkp7ubh4f7pp7ko7rfhjk72s2 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
20241104@174356.6688 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.6729 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174356.8388 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.8430 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174356.8807 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.8849 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174356.9301 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.9342 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174356.9877 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174356.9919 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from td where ndoc = 39
20241104@174357.1660 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174357.4530 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174357.9050 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174357.1317 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174357.1569 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174357.2228 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174357.2479 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174357.2731 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174357.3077 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174357.3325 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174357.3584 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174357.3872 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174357.4273 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174357.4525 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174357.6162 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174357.6674 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174357.6881 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174357.7088 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174357.7295 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174357.7502 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174357.7709 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729039110672907dd42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174357.8325 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174357.8744 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174357.8996 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174357.9448 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 'normal' from dummy
20241104@174358.9960 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729039110672907dd42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1606,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174358.1800 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174358.1842 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241104@174358.2174 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174358.2692 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174358.2943 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174358.3520 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174358.3773 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174358.3938 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174358.4187 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241104@174358.4436 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174358.4688 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174358.5059 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729071370672907de6c','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174358.5186 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174358.6272 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174358.6890 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729071370672907de6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174358.7580 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174358.7831 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174358.8407 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174358.8659 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174358.8975 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174358.9222 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174358.9473 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174358.9547 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729072117672907dee1','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174358.9552 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174358.9569 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174358.9643 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729072117672907dee1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,20000,?,?,?)
20241104@174359.2360 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174359.2780 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241104@174359.6120 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174359.1028 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174359.1279 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174359.1855 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174359.2107 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174359.2271 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174359.2519 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241104@174359.2767 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174359.3019 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174359.3225 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729057362672907df43','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174359.3269 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174359.3521 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174359.4140 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729057362672907df43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241104@174359.4821 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174359.6333 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174359.6910 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174359.7162 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174359.7329 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174359.7577 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174359.7829 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174359.8035 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729029474672907dfb8','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174359.8078 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174359.8330 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174359.8948 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729029474672907dfb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,50000,?,?,?)
20241104@174359.9777 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174359.9819 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241104@174400.1520 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174400.4010 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.6570 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.1359 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.1612 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.1778 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174400.2030 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241104@174400.2280 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.2306 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.2324 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729027061672907e037','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174400.2329 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.2349 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.2387 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729027061672907e037',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241104@174400.3890 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.3907 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.3932 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.3946 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.3953 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174400.3968 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.3986 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.3996 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729058455672907e060','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174400.4000 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.4015 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.4040 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729058455672907e060',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,80000,?,?,?)
20241104@174400.4557 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174400.4561 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241104@174400.4581 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174400.4594 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.4610 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.4635 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.4648 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.4656 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174400.4668 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241104@174400.4680 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.4694 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.4705 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729037038672907e072','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174400.4709 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.4723 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.4749 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729037038672907e072',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241104@174400.5038 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5053 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.5077 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5091 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.5099 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174400.5111 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5126 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.5138 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729064202672907e07c','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174400.5142 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5156 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.5184 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729064202672907e07c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,110000,?,?,?)
20241104@174400.5449 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174400.5452 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241104@174400.5471 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241104@174400.5484 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5499 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.5524 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5538 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.5546 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174400.5558 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241104@174400.5570 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5584 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.5595 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729045651672907e087','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174400.5600 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5614 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.5642 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729045651672907e087',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241104@174400.5914 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5930 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.5954 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.5970 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.5978 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174400.5990 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.6004 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174400.6016 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729005651672907e092','aut6729039110672907dd42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174400.6021 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174400.6035 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174400.6063 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729005651672907e092',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729039110672907dd42' ,0,0 ,2,23.00,140000,?,?,?)
20241104@174400.6527 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729039110672907dd42','2407165','wait',39,'adm09112754980.682000002')
20241104@174400.6608 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : use flama_phc
20241104@174400.6612 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174400.6642 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3033';
20241104@174400.6678 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3033';
20241104@174400.6722 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3033';
20241104@174400.6748 nvkp7ubh4f7pp7ko7rfhjk72s2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3033';
20241104@174400.7904 3dl7367a877iesrptjll0pibpu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174400.7987 3dl7367a877iesrptjll0pibpu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174400.8461 3dl7367a877iesrptjll0pibpu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3034';
20241104@174400.8846 3dl7367a877iesrptjll0pibpu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3034';
20241104@174400.9196 3dl7367a877iesrptjll0pibpu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3034';
20241104@174400.9507 3dl7367a877iesrptjll0pibpu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3034';
20241104@174400.9969 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.1100 3dl7367a877iesrptjll0pibpu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174401.6320 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.6720 3dl7367a877iesrptjll0pibpu Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174401.1072 3dl7367a877iesrptjll0pibpu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241104@174401.1594 3dl7367a877iesrptjll0pibpu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407166 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241104@174401.2429 3dl7367a877iesrptjll0pibpu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241104@174401.2718 3dl7367a877iesrptjll0pibpu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407166 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241104@174401.2925 3dl7367a877iesrptjll0pibpu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241104@174401.3213 3dl7367a877iesrptjll0pibpu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407166 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241104@174401.3420 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.3461 3dl7367a877iesrptjll0pibpu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174401.3834 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.3876 3dl7367a877iesrptjll0pibpu Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174401.4248 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.4289 3dl7367a877iesrptjll0pibpu 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')
20241104@174401.4743 3dl7367a877iesrptjll0pibpu 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
20241104@174401.5195 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.5237 3dl7367a877iesrptjll0pibpu Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174401.5611 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.5653 3dl7367a877iesrptjll0pibpu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174401.6033 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.6075 3dl7367a877iesrptjll0pibpu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174401.6534 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.6576 3dl7367a877iesrptjll0pibpu Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174401.7113 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174401.7156 3dl7367a877iesrptjll0pibpu Query : select 1 valor from td where ndoc = 39
20241104@174401.7405 3dl7367a877iesrptjll0pibpu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174401.7696 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174401.9204 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174401.9790 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174402.1940 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174402.8560 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174402.1110 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174402.1358 3dl7367a877iesrptjll0pibpu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174402.1697 3dl7367a877iesrptjll0pibpu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174402.1945 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174402.2197 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174402.2486 3dl7367a877iesrptjll0pibpu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729046861672907e221' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174402.2929 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174402.3184 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174402.3886 3dl7367a877iesrptjll0pibpu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174402.4093 3dl7367a877iesrptjll0pibpu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174402.4302 3dl7367a877iesrptjll0pibpu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174402.4508 3dl7367a877iesrptjll0pibpu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174402.4715 3dl7367a877iesrptjll0pibpu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174402.4921 3dl7367a877iesrptjll0pibpu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174402.5129 3dl7367a877iesrptjll0pibpu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729046861672907e221',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174402.5883 3dl7367a877iesrptjll0pibpu Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174402.6279 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174402.6545 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174402.7091 3dl7367a877iesrptjll0pibpu Query : select 'normal' from dummy
20241104@174402.7383 3dl7367a877iesrptjll0pibpu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729046861672907e221',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1607,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174402.8155 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174402.8196 3dl7367a877iesrptjll0pibpu Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241104@174402.8527 3dl7367a877iesrptjll0pibpu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241104@174403.1470 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.5550 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174403.1327 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.1580 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174403.1746 3dl7367a877iesrptjll0pibpu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174403.1994 3dl7367a877iesrptjll0pibpu Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241104@174403.2243 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.2496 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174403.2703 3dl7367a877iesrptjll0pibpu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729070763672907e336','aut6729046861672907e221' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174403.2788 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.3083 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174403.3702 3dl7367a877iesrptjll0pibpu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729070763672907e336',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729046861672907e221' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241104@174403.4426 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.4679 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174403.5255 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.5508 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174403.5718 3dl7367a877iesrptjll0pibpu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174403.6205 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.6696 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174403.6905 3dl7367a877iesrptjll0pibpu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729039290672907e397','aut6729046861672907e221' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174403.6948 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.7201 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174403.7818 3dl7367a877iesrptjll0pibpu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729039290672907e397',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729046861672907e221' ,0,0 ,2,23.00,20000,?,?,?)
20241104@174403.8483 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174403.8524 3dl7367a877iesrptjll0pibpu Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241104@174403.8855 3dl7367a877iesrptjll0pibpu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241104@174403.9105 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174403.9356 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174403.9933 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174404.1095 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174404.1499 3dl7367a877iesrptjll0pibpu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174404.1747 3dl7367a877iesrptjll0pibpu Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241104@174404.1995 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174404.2248 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174404.2455 3dl7367a877iesrptjll0pibpu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729076878672907e430','aut6729046861672907e221' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174404.2499 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174404.3514 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174404.4364 3dl7367a877iesrptjll0pibpu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729076878672907e430',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729046861672907e221' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241104@174404.5382 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174404.5807 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174404.6383 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174404.6635 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174404.6799 3dl7367a877iesrptjll0pibpu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174404.7047 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174404.7299 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174404.7506 3dl7367a877iesrptjll0pibpu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729089967672907e4ac','aut6729046861672907e221' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174404.7549 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174404.7807 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174404.8434 3dl7367a877iesrptjll0pibpu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729089967672907e4ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729046861672907e221' ,0,0 ,2,23.00,50000,?,?,?)
20241104@174404.9041 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174404.9082 3dl7367a877iesrptjll0pibpu Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241104@174404.9636 3dl7367a877iesrptjll0pibpu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241104@174404.9885 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174405.1370 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174405.7150 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174405.1073 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174405.1238 3dl7367a877iesrptjll0pibpu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174405.1567 3dl7367a877iesrptjll0pibpu Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241104@174405.1887 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174405.2140 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174405.2353 3dl7367a877iesrptjll0pibpu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729088029672907e52e','aut6729046861672907e221' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174405.2400 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174405.2649 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174405.3267 3dl7367a877iesrptjll0pibpu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6729088029672907e52e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6729046861672907e221' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241104@174405.4019 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174405.4045 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174405.4089 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174405.4263 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174405.4429 3dl7367a877iesrptjll0pibpu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241104@174405.4616 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174405.4635 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241104@174405.4996 3dl7367a877iesrptjll0pibpu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6729033923672907e570','aut6729046861672907e221' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241104@174405.5039 3dl7367a877iesrptjll0pibpu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174405.6521 3dl7367a877iesrptjll0pibpu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174405.7138 3dl7367a877iesrptjll0pibpu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6729033923672907e570',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6729046861672907e221' ,0,0 ,2,23.00,80000,?,?,?)
20241104@174405.7962 3dl7367a877iesrptjll0pibpu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6729046861672907e221','2407166','wait',39,'adm09112754980.682000002')
20241104@174406.2500 3dl7367a877iesrptjll0pibpu Query : use flama_phc
20241104@174406.3170 3dl7367a877iesrptjll0pibpu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241104@174406.5980 3dl7367a877iesrptjll0pibpu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3034';
20241104@174406.1106 3dl7367a877iesrptjll0pibpu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3034';
20241104@174406.1372 3dl7367a877iesrptjll0pibpu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3034';
20241104@174406.1675 3dl7367a877iesrptjll0pibpu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3034';
20241104@174406.3058 er366k60sg2lgfiiul9os0ee7b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241104@174406.3068 er366k60sg2lgfiiul9os0ee7b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241104@174406.3129 er366k60sg2lgfiiul9os0ee7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3035';
20241104@174406.3189 er366k60sg2lgfiiul9os0ee7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3035';
20241104@174406.3243 er366k60sg2lgfiiul9os0ee7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3035';
20241104@174406.3270 er366k60sg2lgfiiul9os0ee7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3035';
20241104@174406.3334 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.3338 er366k60sg2lgfiiul9os0ee7b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241104@174406.3407 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.3410 er366k60sg2lgfiiul9os0ee7b Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241104@174406.3453 er366k60sg2lgfiiul9os0ee7b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241104@174406.3621 er366k60sg2lgfiiul9os0ee7b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407167 and bi.ref ='324.2907.00.1' and bi.lordem =1
20241104@174406.4248 er366k60sg2lgfiiul9os0ee7b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241104@174406.4269 er366k60sg2lgfiiul9os0ee7b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2071 and bo.obrano = 2407167 and bi.ref ='324.2907.00.1' and bi.lordem =1
20241104@174406.4287 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.4290 er366k60sg2lgfiiul9os0ee7b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241104@174406.4321 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.4324 er366k60sg2lgfiiul9os0ee7b Query : select top 1 1 valor from td where td.ndoc = 39
20241104@174406.4354 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.4358 er366k60sg2lgfiiul9os0ee7b 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')
20241104@174406.4384 er366k60sg2lgfiiul9os0ee7b 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
20241104@174406.4417 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.4420 er366k60sg2lgfiiul9os0ee7b Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241104@174406.4447 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.4450 er366k60sg2lgfiiul9os0ee7b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241104@174406.4483 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.4486 er366k60sg2lgfiiul9os0ee7b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241104@174406.4526 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.4528 er366k60sg2lgfiiul9os0ee7b Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241104@174406.4570 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.4573 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from td where ndoc = 39
20241104@174406.4586 er366k60sg2lgfiiul9os0ee7b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241104@174406.4599 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174406.4617 er366k60sg2lgfiiul9os0ee7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174406.4644 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174406.4666 er366k60sg2lgfiiul9os0ee7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174406.4694 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174406.4708 er366k60sg2lgfiiul9os0ee7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174406.4720 er366k60sg2lgfiiul9os0ee7b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174406.4780 er366k60sg2lgfiiul9os0ee7b Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241104@174406.4794 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174406.4808 er366k60sg2lgfiiul9os0ee7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241104@174406.4825 er366k60sg2lgfiiul9os0ee7b Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6729096614672907e673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241104@174406.5015 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174406.5033 er366k60sg2lgfiiul9os0ee7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241104@174406.5066 er366k60sg2lgfiiul9os0ee7b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241104@174406.5079 er366k60sg2lgfiiul9os0ee7b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241104@174406.5091 er366k60sg2lgfiiul9os0ee7b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241104@174406.5103 er366k60sg2lgfiiul9os0ee7b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241104@174406.5116 er366k60sg2lgfiiul9os0ee7b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241104@174406.5128 er366k60sg2lgfiiul9os0ee7b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241104@174406.5141 er366k60sg2lgfiiul9os0ee7b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6729096614672907e673',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241104@174406.5428 er366k60sg2lgfiiul9os0ee7b Query : select top 1 fno valor from wsftdata order by fno desc
20241104@174406.5454 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174406.5471 er366k60sg2lgfiiul9os0ee7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241104@174406.5562 er366k60sg2lgfiiul9os0ee7b Query : select 'normal' from dummy
20241104@174406.5578 er366k60sg2lgfiiul9os0ee7b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6729096614672907e673',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1608,100810,0,'2024-11-04',39,'euro',0,0,2024 ,?,?)
20241104@174406.5892 er366k60sg2lgfiiul9os0ee7b Query : use flama_phc
20241104@174406.5895 er366k60sg2lgfiiul9os0ee7b Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20241104@174406.5922 er366k60sg2lgfiiul9os0ee7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20241104@174406.6074 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241104@174406.6090 er366k60sg2lgfiiul9os0ee7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241104@174406.6115 er366k60sg2lgfiiul9os0ee7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
