20241021@174827.2816 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174827.2853 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174827.2867 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174827.2881 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174827.2894 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174827.2907 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174827.2919 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174827.2934 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716887840671685db3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174827.3239 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174827.4182 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.4200 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174827.4225 54dmpbkhq8ed158blrnrshpb7b Query : select 'normal' from dummy
20241021@174827.4242 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716887840671685db3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1395,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174827.4505 54dmpbkhq8ed158blrnrshpb7b Query : use flama_phc
20241021@174827.4508 54dmpbkhq8ed158blrnrshpb7b Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241021@174827.4530 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174827.4652 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.4669 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.4699 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.4715 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.4725 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.4738 54dmpbkhq8ed158blrnrshpb7b Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241021@174827.4753 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.4768 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.4781 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716835780671685db74','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.4785 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.4800 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.4832 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716835780671685db74',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174827.5072 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.5090 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.5116 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.5137 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.5145 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.5158 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.5249 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.5261 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716847530671685db7d','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.5266 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.5284 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.5318 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716847530671685db7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,20000,?,?,?)
20241021@174827.5602 54dmpbkhq8ed158blrnrshpb7b Query : use flama_phc
20241021@174827.5608 54dmpbkhq8ed158blrnrshpb7b Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241021@174827.5628 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174827.5643 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.5658 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.5685 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.5701 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.5710 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.5724 54dmpbkhq8ed158blrnrshpb7b Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241021@174827.5740 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.5759 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.5772 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716845661671685db8c','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.5778 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.5799 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.5831 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716845661671685db8c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241021@174827.6080 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6096 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.6121 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6135 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.6144 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.6156 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6171 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.6182 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716883611671685db96','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.6186 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6200 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.6234 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716883611671685db96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,50000,?,?,?)
20241021@174827.6451 54dmpbkhq8ed158blrnrshpb7b Query : use flama_phc
20241021@174827.6453 54dmpbkhq8ed158blrnrshpb7b Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241021@174827.6472 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174827.6485 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6499 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.6524 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6538 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.6546 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.6559 54dmpbkhq8ed158blrnrshpb7b Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241021@174827.6572 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6586 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.6598 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716833545671685dba0','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.6602 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6616 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.6646 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716833545671685dba0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241021@174827.6872 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6888 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.6915 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6930 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.6939 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.6952 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6966 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.6978 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716807780671685dba9','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.6982 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.6997 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.7025 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716807780671685dba9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,80000,?,?,?)
20241021@174827.7321 54dmpbkhq8ed158blrnrshpb7b Query : use flama_phc
20241021@174827.7324 54dmpbkhq8ed158blrnrshpb7b Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241021@174827.7344 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174827.7358 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.7374 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.7399 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.7413 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.7421 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.7433 54dmpbkhq8ed158blrnrshpb7b Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241021@174827.7445 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.7458 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.7469 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716834579671685dbb5','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.7474 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.7489 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.7520 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716834579671685dbb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241021@174827.7780 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.7796 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.7825 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.7845 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.7854 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.7870 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.7886 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.7899 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716878208671685dbc0','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.7903 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.7918 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.7954 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716878208671685dbc0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,110000,?,?,?)
20241021@174827.8188 54dmpbkhq8ed158blrnrshpb7b Query : use flama_phc
20241021@174827.8193 54dmpbkhq8ed158blrnrshpb7b Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241021@174827.8216 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174827.8231 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.8249 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.8278 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.8294 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.8304 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.8316 54dmpbkhq8ed158blrnrshpb7b Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241021@174827.8329 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.8344 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.8356 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716808457671685dbcb','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.8362 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.8379 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.8412 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716808457671685dbcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241021@174827.8649 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.8664 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.8692 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.8707 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.8716 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.8730 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.8745 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.8758 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716870096671685dbd5','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.8763 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.8777 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.8805 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716870096671685dbd5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,140000,?,?,?)
20241021@174827.9019 54dmpbkhq8ed158blrnrshpb7b Query : use flama_phc
20241021@174827.9024 54dmpbkhq8ed158blrnrshpb7b Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241021@174827.9043 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174827.9057 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.9072 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.9103 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.9118 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.9128 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.9140 54dmpbkhq8ed158blrnrshpb7b Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241021@174827.9152 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.9166 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.9178 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716867029671685dbdf','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.9183 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.9199 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.9228 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716867029671685dbdf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241021@174827.9463 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.9479 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.9504 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.9519 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.9528 54dmpbkhq8ed158blrnrshpb7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174827.9541 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.9556 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174827.9568 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716803679671685dbe8','aut6716887840671685db3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174827.9572 54dmpbkhq8ed158blrnrshpb7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174827.9589 54dmpbkhq8ed158blrnrshpb7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174827.9621 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716803679671685dbe8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716887840671685db3d' ,0,0 ,2,23.00,170000,?,?,?)
20241021@174827.9847 54dmpbkhq8ed158blrnrshpb7b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716887840671685db3d','2406827','wait',39,'adm09112754980.682000002')
20241021@174827.9919 54dmpbkhq8ed158blrnrshpb7b Query : use flama_phc
20241021@174827.9922 54dmpbkhq8ed158blrnrshpb7b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174827.9988 54dmpbkhq8ed158blrnrshpb7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2803';
20241021@174828.1130 54dmpbkhq8ed158blrnrshpb7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2803';
20241021@174828.2160 54dmpbkhq8ed158blrnrshpb7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2803';
20241021@174828.2490 54dmpbkhq8ed158blrnrshpb7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2803';
20241021@174828.8530 sihje3bacvsad6ue8flqv076vi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174828.8670 sihje3bacvsad6ue8flqv076vi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174828.9380 sihje3bacvsad6ue8flqv076vi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2804';
20241021@174828.1005 sihje3bacvsad6ue8flqv076vi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2804';
20241021@174828.1067 sihje3bacvsad6ue8flqv076vi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2804';
20241021@174828.1125 sihje3bacvsad6ue8flqv076vi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2804';
20241021@174828.1179 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.1182 sihje3bacvsad6ue8flqv076vi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174828.1243 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.1246 sihje3bacvsad6ue8flqv076vi Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174828.1288 sihje3bacvsad6ue8flqv076vi 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'
20241021@174828.1457 sihje3bacvsad6ue8flqv076vi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406828 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241021@174828.1757 sihje3bacvsad6ue8flqv076vi 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'
20241021@174828.1778 sihje3bacvsad6ue8flqv076vi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406828 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241021@174828.1794 sihje3bacvsad6ue8flqv076vi 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'
20241021@174828.1814 sihje3bacvsad6ue8flqv076vi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406828 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241021@174828.1830 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.1833 sihje3bacvsad6ue8flqv076vi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174828.1864 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.1867 sihje3bacvsad6ue8flqv076vi Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174828.1896 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.1899 sihje3bacvsad6ue8flqv076vi 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')
20241021@174828.1927 sihje3bacvsad6ue8flqv076vi 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
20241021@174828.1961 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.1964 sihje3bacvsad6ue8flqv076vi Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174828.1994 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.1997 sihje3bacvsad6ue8flqv076vi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174828.2026 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.2029 sihje3bacvsad6ue8flqv076vi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174828.2067 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.2070 sihje3bacvsad6ue8flqv076vi Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174828.2112 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.2115 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from td where ndoc = 39
20241021@174828.2128 sihje3bacvsad6ue8flqv076vi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174828.2142 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.2159 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174828.2179 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.2193 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174828.2233 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.2248 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174828.2260 sihje3bacvsad6ue8flqv076vi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174828.2324 sihje3bacvsad6ue8flqv076vi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174828.2338 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.2358 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174828.2375 sihje3bacvsad6ue8flqv076vi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716812872671685dc37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174828.2546 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.2563 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174828.2598 sihje3bacvsad6ue8flqv076vi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174828.2610 sihje3bacvsad6ue8flqv076vi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174828.2622 sihje3bacvsad6ue8flqv076vi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174828.2636 sihje3bacvsad6ue8flqv076vi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174828.2648 sihje3bacvsad6ue8flqv076vi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174828.2660 sihje3bacvsad6ue8flqv076vi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174828.2671 sihje3bacvsad6ue8flqv076vi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716812872671685dc37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174828.2903 sihje3bacvsad6ue8flqv076vi Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174828.2925 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.2944 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174828.2973 sihje3bacvsad6ue8flqv076vi Query : select 'normal' from dummy
20241021@174828.2989 sihje3bacvsad6ue8flqv076vi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716812872671685dc37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1396,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174828.3251 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.3294 sihje3bacvsad6ue8flqv076vi Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241021@174828.4041 sihje3bacvsad6ue8flqv076vi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174828.4465 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.4481 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.4506 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.4521 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.4530 sihje3bacvsad6ue8flqv076vi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174828.4542 sihje3bacvsad6ue8flqv076vi Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241021@174828.4556 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.4570 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.4582 sihje3bacvsad6ue8flqv076vi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716815573671685dc6f','aut6716812872671685dc37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174828.4586 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.4611 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.4639 sihje3bacvsad6ue8flqv076vi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716815573671685dc6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716812872671685dc37' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174828.4872 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.4893 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.4920 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.4935 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.4944 sihje3bacvsad6ue8flqv076vi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174828.4964 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.4979 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.4991 sihje3bacvsad6ue8flqv076vi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716813081671685dc79','aut6716812872671685dc37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174828.4996 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.5011 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.5041 sihje3bacvsad6ue8flqv076vi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716813081671685dc79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716812872671685dc37' ,0,0 ,2,23.00,20000,?,?,?)
20241021@174828.5272 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.5278 sihje3bacvsad6ue8flqv076vi Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241021@174828.5298 sihje3bacvsad6ue8flqv076vi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174828.5312 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.5328 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.5353 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.5367 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.5375 sihje3bacvsad6ue8flqv076vi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174828.5389 sihje3bacvsad6ue8flqv076vi Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241021@174828.5402 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.5416 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.5427 sihje3bacvsad6ue8flqv076vi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716813566671685dc83','aut6716812872671685dc37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174828.5432 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.5446 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.5473 sihje3bacvsad6ue8flqv076vi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716813566671685dc83',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716812872671685dc37' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241021@174828.5696 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.5999 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.6024 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6040 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.6048 sihje3bacvsad6ue8flqv076vi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174828.6060 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6074 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.6127 sihje3bacvsad6ue8flqv076vi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716879776671685dc93','aut6716812872671685dc37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174828.6131 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6145 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.6176 sihje3bacvsad6ue8flqv076vi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716879776671685dc93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716812872671685dc37' ,0,0 ,2,23.00,50000,?,?,?)
20241021@174828.6406 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.6409 sihje3bacvsad6ue8flqv076vi Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241021@174828.6429 sihje3bacvsad6ue8flqv076vi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174828.6443 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6458 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.6484 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6500 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.6510 sihje3bacvsad6ue8flqv076vi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174828.6524 sihje3bacvsad6ue8flqv076vi Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20241021@174828.6540 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6556 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.6571 sihje3bacvsad6ue8flqv076vi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716811684671685dc9f','aut6716812872671685dc37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174828.6576 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6593 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.6622 sihje3bacvsad6ue8flqv076vi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716811684671685dc9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716812872671685dc37' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241021@174828.6868 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6887 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.6914 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6929 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.6937 sihje3bacvsad6ue8flqv076vi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174828.6949 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6963 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174828.6975 sihje3bacvsad6ue8flqv076vi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716868367671685dca9','aut6716812872671685dc37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174828.6979 sihje3bacvsad6ue8flqv076vi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.6993 sihje3bacvsad6ue8flqv076vi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174828.7020 sihje3bacvsad6ue8flqv076vi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716868367671685dca9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716812872671685dc37' ,0,0 ,2,23.00,80000,?,?,?)
20241021@174828.7261 sihje3bacvsad6ue8flqv076vi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716812872671685dc37','2406828','wait',39,'adm09112754980.682000002')
20241021@174828.7338 sihje3bacvsad6ue8flqv076vi Query : use flama_phc
20241021@174828.7341 sihje3bacvsad6ue8flqv076vi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174828.7370 sihje3bacvsad6ue8flqv076vi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2804';
20241021@174828.7402 sihje3bacvsad6ue8flqv076vi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2804';
20241021@174828.7445 sihje3bacvsad6ue8flqv076vi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2804';
20241021@174828.7471 sihje3bacvsad6ue8flqv076vi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2804';
20241021@174828.8009 n8fdret2l97rii1a7jpvpp0sjc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174828.8020 n8fdret2l97rii1a7jpvpp0sjc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174828.8078 n8fdret2l97rii1a7jpvpp0sjc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2805';
20241021@174828.8139 n8fdret2l97rii1a7jpvpp0sjc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2805';
20241021@174828.8193 n8fdret2l97rii1a7jpvpp0sjc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2805';
20241021@174828.8221 n8fdret2l97rii1a7jpvpp0sjc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2805';
20241021@174828.8270 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.8273 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174828.8339 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.8342 n8fdret2l97rii1a7jpvpp0sjc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174828.8389 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241021@174828.8408 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406830 and bi.ref ='324.1833.00.2' and bi.lordem =1
20241021@174828.8725 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241021@174828.8749 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406830 and bi.ref ='324.1833.00.2' and bi.lordem =1
20241021@174828.8766 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241021@174828.8786 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406830 and bi.ref ='324.1833.00.2' and bi.lordem =1
20241021@174828.8803 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.8806 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174828.8838 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.8841 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174828.8869 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.8872 n8fdret2l97rii1a7jpvpp0sjc 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')
20241021@174828.8899 n8fdret2l97rii1a7jpvpp0sjc 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
20241021@174828.8933 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.8936 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174828.8965 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.8968 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174828.8999 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.9002 n8fdret2l97rii1a7jpvpp0sjc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174828.9041 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.9044 n8fdret2l97rii1a7jpvpp0sjc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174828.9094 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174828.9097 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from td where ndoc = 39
20241021@174828.9109 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174828.9123 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.9140 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174828.9159 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.9173 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174828.9204 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.9218 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174828.9231 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174828.9297 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174828.9310 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.9325 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174828.9349 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716843841671685dce1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174828.9525 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.9544 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174828.9577 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174828.9591 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174828.9603 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174828.9615 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174828.9628 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174828.9639 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174828.9651 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716843841671685dce1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174828.9868 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174828.9895 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174828.9912 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174828.9934 n8fdret2l97rii1a7jpvpp0sjc Query : select 'normal' from dummy
20241021@174828.9949 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716843841671685dce1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1397,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174829.3330 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174829.3370 n8fdret2l97rii1a7jpvpp0sjc Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241021@174829.3590 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1833.00.2'
20241021@174829.3740 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.3900 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.4160 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.4310 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.4390 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174829.4510 n8fdret2l97rii1a7jpvpp0sjc Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241021@174829.4640 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.4800 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.4930 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716888772671685dd0b','aut6716843841671685dce1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174829.4970 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.5140 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.5440 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716888772671685dd0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716843841671685dce1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174829.7930 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174829.7960 n8fdret2l97rii1a7jpvpp0sjc Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241021@174829.8150 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1833.00.2'
20241021@174829.8290 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.8540 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.8810 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.8960 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.9050 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174829.9170 n8fdret2l97rii1a7jpvpp0sjc Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241021@174829.9300 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.9470 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.9600 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716813964671685dd16','aut6716843841671685dce1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174829.9640 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.9820 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.1014 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716813964671685dd16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716843841671685dce1' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174829.1303 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174829.1306 n8fdret2l97rii1a7jpvpp0sjc Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241021@174829.1326 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1833.00.2'
20241021@174829.1342 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.1359 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.1387 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.1402 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.1411 n8fdret2l97rii1a7jpvpp0sjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174829.1424 n8fdret2l97rii1a7jpvpp0sjc Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241021@174829.1437 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.1453 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.1466 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716852616671685dd23','aut6716843841671685dce1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174829.1471 n8fdret2l97rii1a7jpvpp0sjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.1487 n8fdret2l97rii1a7jpvpp0sjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.1520 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716852616671685dd23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716843841671685dce1' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241021@174829.1760 n8fdret2l97rii1a7jpvpp0sjc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716843841671685dce1','2406830','wait',39,'adm09112754980.682000002')
20241021@174829.1837 n8fdret2l97rii1a7jpvpp0sjc Query : use flama_phc
20241021@174829.1840 n8fdret2l97rii1a7jpvpp0sjc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174829.1869 n8fdret2l97rii1a7jpvpp0sjc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2805';
20241021@174829.1903 n8fdret2l97rii1a7jpvpp0sjc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2805';
20241021@174829.1946 n8fdret2l97rii1a7jpvpp0sjc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2805';
20241021@174829.1972 n8fdret2l97rii1a7jpvpp0sjc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2805';
20241021@174829.2476 qpme5tgae3kjq0q9qpegsu29fu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174829.2488 qpme5tgae3kjq0q9qpegsu29fu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174829.2546 qpme5tgae3kjq0q9qpegsu29fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2806';
20241021@174829.2624 qpme5tgae3kjq0q9qpegsu29fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2806';
20241021@174829.2678 qpme5tgae3kjq0q9qpegsu29fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2806';
20241021@174829.2704 qpme5tgae3kjq0q9qpegsu29fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2806';
20241021@174829.2770 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.2773 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174829.2835 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.2839 qpme5tgae3kjq0q9qpegsu29fu Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174829.2880 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20241021@174829.3027 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406831 and bi.ref ='324.4965.00.1' and bi.lordem =1
20241021@174829.3339 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20241021@174829.3358 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406831 and bi.ref ='324.4965.00.1' and bi.lordem =1
20241021@174829.3375 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.3378 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174829.3409 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.3412 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174829.3441 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.3444 qpme5tgae3kjq0q9qpegsu29fu 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')
20241021@174829.3478 qpme5tgae3kjq0q9qpegsu29fu 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
20241021@174829.3512 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.3514 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174829.3543 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.3546 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174829.3575 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.3578 qpme5tgae3kjq0q9qpegsu29fu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174829.3615 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.3618 qpme5tgae3kjq0q9qpegsu29fu Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174829.3660 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.3663 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from td where ndoc = 39
20241021@174829.3674 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174829.3688 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.3704 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174829.3724 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.3739 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174829.3766 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.3788 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174829.3800 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174829.3863 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174829.3875 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.3890 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174829.3905 qpme5tgae3kjq0q9qpegsu29fu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716821356671685dd5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174829.4065 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.4084 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174829.4116 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174829.4128 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174829.4139 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174829.4152 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174829.4163 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174829.4175 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174829.4186 qpme5tgae3kjq0q9qpegsu29fu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716821356671685dd5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174829.4411 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174829.4435 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.4451 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174829.4472 qpme5tgae3kjq0q9qpegsu29fu Query : select 'normal' from dummy
20241021@174829.4487 qpme5tgae3kjq0q9qpegsu29fu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716821356671685dd5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1398,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174829.4747 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.4750 qpme5tgae3kjq0q9qpegsu29fu Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20241021@174829.4774 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20241021@174829.6079 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.6098 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.6125 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.6141 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.6151 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174829.6174 qpme5tgae3kjq0q9qpegsu29fu Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2301277100a'
20241021@174829.6189 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.6204 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.6216 qpme5tgae3kjq0q9qpegsu29fu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716886231671685dd97','aut6716821356671685dd5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174829.6220 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.6235 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.6265 qpme5tgae3kjq0q9qpegsu29fu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716886231671685dd97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716821356671685dd5c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174829.6503 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.6508 qpme5tgae3kjq0q9qpegsu29fu Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20241021@174829.6528 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20241021@174829.6542 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.6558 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.6591 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.6605 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.6613 qpme5tgae3kjq0q9qpegsu29fu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174829.6625 qpme5tgae3kjq0q9qpegsu29fu Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2301277100a'
20241021@174829.6638 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.6652 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174829.6664 qpme5tgae3kjq0q9qpegsu29fu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716818738671685dda2','aut6716821356671685dd5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174829.6676 qpme5tgae3kjq0q9qpegsu29fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.6690 qpme5tgae3kjq0q9qpegsu29fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174829.6721 qpme5tgae3kjq0q9qpegsu29fu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716818738671685dda2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716821356671685dd5c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174829.6954 qpme5tgae3kjq0q9qpegsu29fu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716821356671685dd5c','2406831','wait',39,'adm09112754980.682000002')
20241021@174829.7025 qpme5tgae3kjq0q9qpegsu29fu Query : use flama_phc
20241021@174829.7028 qpme5tgae3kjq0q9qpegsu29fu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174829.7058 qpme5tgae3kjq0q9qpegsu29fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2806';
20241021@174829.7091 qpme5tgae3kjq0q9qpegsu29fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2806';
20241021@174829.7138 qpme5tgae3kjq0q9qpegsu29fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2806';
20241021@174829.7165 qpme5tgae3kjq0q9qpegsu29fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2806';
20241021@174829.7657 2lh5khj86v1cf8qnjimqpi3118 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174829.7668 2lh5khj86v1cf8qnjimqpi3118 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174829.7728 2lh5khj86v1cf8qnjimqpi3118 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2807';
20241021@174829.7793 2lh5khj86v1cf8qnjimqpi3118 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2807';
20241021@174829.7849 2lh5khj86v1cf8qnjimqpi3118 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2807';
20241021@174829.7875 2lh5khj86v1cf8qnjimqpi3118 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2807';
20241021@174829.7924 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.7927 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174829.7993 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.7997 2lh5khj86v1cf8qnjimqpi3118 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174829.8041 2lh5khj86v1cf8qnjimqpi3118 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'
20241021@174829.8167 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406832 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241021@174829.8513 2lh5khj86v1cf8qnjimqpi3118 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'
20241021@174829.8538 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406832 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241021@174829.8559 2lh5khj86v1cf8qnjimqpi3118 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'
20241021@174829.8582 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406832 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241021@174829.8601 2lh5khj86v1cf8qnjimqpi3118 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'
20241021@174829.8623 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406832 and bi.ref ='324.4970.00.1' and bi.lordem =2
20241021@174829.8946 2lh5khj86v1cf8qnjimqpi3118 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'
20241021@174829.8967 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406832 and bi.ref ='324.4970.00.1' and bi.lordem =2
20241021@174829.8983 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.8986 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174829.9018 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.9021 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174829.9052 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.9058 2lh5khj86v1cf8qnjimqpi3118 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')
20241021@174829.9086 2lh5khj86v1cf8qnjimqpi3118 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
20241021@174829.9122 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.9126 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174829.9158 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.9161 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174829.9191 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.9194 2lh5khj86v1cf8qnjimqpi3118 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174829.9234 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.9237 2lh5khj86v1cf8qnjimqpi3118 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174829.9290 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174829.9293 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from td where ndoc = 39
20241021@174829.9306 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174829.9322 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.9341 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174829.9363 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.9379 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174829.9409 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.9432 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174829.9444 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174829.9507 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174829.9520 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.9535 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174829.9550 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716873864671685dde6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174829.9707 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174829.9729 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174829.9763 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174829.9775 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174829.9786 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174829.9798 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174829.9809 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174829.9822 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174829.9833 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716873864671685dde6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174830.4400 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174830.6600 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8700 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174830.1080 2lh5khj86v1cf8qnjimqpi3118 Query : select 'normal' from dummy
20241021@174830.1230 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716873864671685dde6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1399,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174830.5100 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174830.5170 2lh5khj86v1cf8qnjimqpi3118 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241021@174830.5410 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174830.6710 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.7000 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.7270 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.7440 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.7530 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.7650 2lh5khj86v1cf8qnjimqpi3118 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20241021@174830.7950 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8100 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.8220 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716816816671685de13','aut6716873864671685dde6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.8260 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8400 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.8730 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716816816671685de13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6716873864671685dde6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174830.1107 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174830.1110 2lh5khj86v1cf8qnjimqpi3118 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241021@174830.1140 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174830.1154 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.1171 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.1197 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.1215 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.1226 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.1241 2lh5khj86v1cf8qnjimqpi3118 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20241021@174830.1255 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.1270 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.1329 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716889278671685de1e','aut6716873864671685dde6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.1334 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.1349 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.1376 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716889278671685de1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',76.000 ,'aut6716873864671685dde6' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174830.1625 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174830.1630 2lh5khj86v1cf8qnjimqpi3118 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241021@174830.1655 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174830.1669 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.1685 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.1710 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.1724 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.1733 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.1749 2lh5khj86v1cf8qnjimqpi3118 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20241021@174830.1764 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.1779 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.1791 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716822388671685de2b','aut6716873864671685dde6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.1795 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.1809 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.1838 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716822388671685de2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6716873864671685dde6' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241021@174830.2084 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174830.2087 2lh5khj86v1cf8qnjimqpi3118 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241021@174830.2108 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174830.2122 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.2137 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.2162 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.2181 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.2190 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.2203 2lh5khj86v1cf8qnjimqpi3118 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20241021@174830.2217 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.2235 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.2247 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716854114671685de36','aut6716873864671685dde6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.2251 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.2266 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.2298 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716854114671685de36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716873864671685dde6' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241021@174830.2523 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174830.2529 2lh5khj86v1cf8qnjimqpi3118 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241021@174830.2550 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174830.2564 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.2582 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.2609 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.2624 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.2634 2lh5khj86v1cf8qnjimqpi3118 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.2646 2lh5khj86v1cf8qnjimqpi3118 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241021@174830.2661 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.2676 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.2688 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716821252671685de40','aut6716873864671685dde6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.2692 2lh5khj86v1cf8qnjimqpi3118 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.2707 2lh5khj86v1cf8qnjimqpi3118 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.2737 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716821252671685de40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut6716873864671685dde6' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241021@174830.2977 2lh5khj86v1cf8qnjimqpi3118 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716873864671685dde6','2406832','wait',39,'adm09112754980.682000002')
20241021@174830.3048 2lh5khj86v1cf8qnjimqpi3118 Query : use flama_phc
20241021@174830.3051 2lh5khj86v1cf8qnjimqpi3118 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174830.3080 2lh5khj86v1cf8qnjimqpi3118 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2807';
20241021@174830.3114 2lh5khj86v1cf8qnjimqpi3118 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2807';
20241021@174830.3162 2lh5khj86v1cf8qnjimqpi3118 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2807';
20241021@174830.3193 2lh5khj86v1cf8qnjimqpi3118 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2807';
20241021@174830.3719 km09hvfm3fbughgm71u6kmitrc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174830.3730 km09hvfm3fbughgm71u6kmitrc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174830.4900 km09hvfm3fbughgm71u6kmitrc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2808';
20241021@174830.4964 km09hvfm3fbughgm71u6kmitrc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2808';
20241021@174830.5019 km09hvfm3fbughgm71u6kmitrc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2808';
20241021@174830.5046 km09hvfm3fbughgm71u6kmitrc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2808';
20241021@174830.5094 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.5097 km09hvfm3fbughgm71u6kmitrc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174830.5165 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.5168 km09hvfm3fbughgm71u6kmitrc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174830.5210 km09hvfm3fbughgm71u6kmitrc 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'
20241021@174830.5345 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406833 and bi.ref ='324.692.00.01' and bi.lordem =1
20241021@174830.5666 km09hvfm3fbughgm71u6kmitrc 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'
20241021@174830.5688 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406833 and bi.ref ='324.692.00.01' and bi.lordem =1
20241021@174830.5704 km09hvfm3fbughgm71u6kmitrc 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'
20241021@174830.5723 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406833 and bi.ref ='324.692.00.01' and bi.lordem =1
20241021@174830.5740 km09hvfm3fbughgm71u6kmitrc 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'
20241021@174830.5759 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406833 and bi.ref ='324.692.00.01' and bi.lordem =1
20241021@174830.5774 km09hvfm3fbughgm71u6kmitrc 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'
20241021@174830.5793 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406833 and bi.ref ='324.692.00.01' and bi.lordem =1
20241021@174830.5809 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.5812 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174830.5845 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.5848 km09hvfm3fbughgm71u6kmitrc Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174830.5889 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.5892 km09hvfm3fbughgm71u6kmitrc 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')
20241021@174830.5958 km09hvfm3fbughgm71u6kmitrc 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
20241021@174830.7049 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.7052 km09hvfm3fbughgm71u6kmitrc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174830.7083 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.7086 km09hvfm3fbughgm71u6kmitrc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174830.7116 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.7118 km09hvfm3fbughgm71u6kmitrc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174830.7158 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.7160 km09hvfm3fbughgm71u6kmitrc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174830.7214 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.7217 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from td where ndoc = 39
20241021@174830.7229 km09hvfm3fbughgm71u6kmitrc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174830.7243 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.7259 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174830.7277 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.7290 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174830.7317 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.7331 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174830.7343 km09hvfm3fbughgm71u6kmitrc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174830.7405 km09hvfm3fbughgm71u6kmitrc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174830.7417 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.7434 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174830.7451 km09hvfm3fbughgm71u6kmitrc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174830.7625 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.7641 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174830.7672 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174830.7685 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174830.7696 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174830.7708 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174830.7719 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174830.7731 km09hvfm3fbughgm71u6kmitrc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174830.7742 km09hvfm3fbughgm71u6kmitrc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716806146671685deb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174830.7964 km09hvfm3fbughgm71u6kmitrc Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174830.7988 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8004 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174830.8030 km09hvfm3fbughgm71u6kmitrc Query : select 'normal' from dummy
20241021@174830.8045 km09hvfm3fbughgm71u6kmitrc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716806146671685deb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1400,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174830.8316 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.8319 km09hvfm3fbughgm71u6kmitrc Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241021@174830.8341 km09hvfm3fbughgm71u6kmitrc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174830.8465 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8486 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.8512 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8529 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.8538 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.8549 km09hvfm3fbughgm71u6kmitrc Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241021@174830.8569 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8584 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.8595 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716872950671685ded1','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.8599 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8614 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.8643 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716872950671685ded1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174830.8883 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8899 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.8925 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8941 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.8951 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.8963 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.8983 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.8995 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716826534671685deda','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.8999 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9016 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.9045 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716826534671685deda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,20000,?,?,?)
20241021@174830.9264 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174830.9267 km09hvfm3fbughgm71u6kmitrc Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241021@174830.9298 km09hvfm3fbughgm71u6kmitrc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174830.9312 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9328 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.9353 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9368 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.9377 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.9390 km09hvfm3fbughgm71u6kmitrc Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241021@174830.9403 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9421 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.9434 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716829594671685dee5','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.9438 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9454 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.9482 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716829594671685dee5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241021@174830.9717 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9733 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.9760 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9774 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.9784 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174830.9799 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9815 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174830.9826 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716832451671685deef','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174830.9831 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174830.9846 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174830.9873 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716832451671685deef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,50000,?,?,?)
20241021@174831.1010 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174831.1050 km09hvfm3fbughgm71u6kmitrc Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241021@174831.1230 km09hvfm3fbughgm71u6kmitrc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174831.1370 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1530 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.1810 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1990 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.2080 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174831.2220 km09hvfm3fbughgm71u6kmitrc Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241021@174831.2360 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2520 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.2650 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716855631671685df05','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174831.2690 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2850 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.3150 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716855631671685df05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241021@174831.9830 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1052 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.1120 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1166 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.1176 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174831.1191 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1206 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.1219 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716828204671685df1d','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174831.1223 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1238 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.1268 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716828204671685df1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,80000,?,?,?)
20241021@174831.1536 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174831.1540 km09hvfm3fbughgm71u6kmitrc Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241021@174831.1560 km09hvfm3fbughgm71u6kmitrc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174831.1575 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1596 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.1630 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1650 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.1660 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174831.1675 km09hvfm3fbughgm71u6kmitrc Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241021@174831.1690 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1714 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.1730 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716887607671685df29','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174831.1736 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.1753 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.1790 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716887607671685df29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241021@174831.2069 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2085 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.2112 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2362 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.2440 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174831.2453 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2469 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.2482 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716880388671685df3b','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174831.2487 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2501 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.2530 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716880388671685df3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,110000,?,?,?)
20241021@174831.2757 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174831.2760 km09hvfm3fbughgm71u6kmitrc Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241021@174831.2780 km09hvfm3fbughgm71u6kmitrc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241021@174831.2794 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2810 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.2838 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2854 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.2863 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174831.2878 km09hvfm3fbughgm71u6kmitrc Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241021@174831.2890 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2904 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.2916 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716811904671685df46','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174831.2921 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.2944 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.2973 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716811904671685df46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241021@174831.3212 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.3227 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.3255 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.3270 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.3279 km09hvfm3fbughgm71u6kmitrc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174831.3290 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.3305 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.3317 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716820574671685df50','aut6716806146671685deb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174831.3321 km09hvfm3fbughgm71u6kmitrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.3336 km09hvfm3fbughgm71u6kmitrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.3363 km09hvfm3fbughgm71u6kmitrc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716820574671685df50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716806146671685deb3' ,0,0 ,2,23.00,140000,?,?,?)
20241021@174831.3584 km09hvfm3fbughgm71u6kmitrc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716806146671685deb3','2406833','wait',39,'adm09112754980.682000002')
20241021@174831.3653 km09hvfm3fbughgm71u6kmitrc Query : use flama_phc
20241021@174831.3656 km09hvfm3fbughgm71u6kmitrc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174831.3685 km09hvfm3fbughgm71u6kmitrc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2808';
20241021@174831.3718 km09hvfm3fbughgm71u6kmitrc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2808';
20241021@174831.3761 km09hvfm3fbughgm71u6kmitrc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2808';
20241021@174831.3791 km09hvfm3fbughgm71u6kmitrc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2808';
20241021@174831.4356 a8ub1515un08jocurjlvlssttc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174831.4367 a8ub1515un08jocurjlvlssttc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174831.4425 a8ub1515un08jocurjlvlssttc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2809';
20241021@174831.4483 a8ub1515un08jocurjlvlssttc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2809';
20241021@174831.4539 a8ub1515un08jocurjlvlssttc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2809';
20241021@174831.4573 a8ub1515un08jocurjlvlssttc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2809';
20241021@174831.4627 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.4630 a8ub1515un08jocurjlvlssttc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174831.4693 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.4696 a8ub1515un08jocurjlvlssttc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174831.4738 a8ub1515un08jocurjlvlssttc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20241021@174831.4868 a8ub1515un08jocurjlvlssttc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406834 and bi.ref ='324.946.00.01' and bi.lordem =1
20241021@174831.5170 a8ub1515un08jocurjlvlssttc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20241021@174831.5191 a8ub1515un08jocurjlvlssttc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406834 and bi.ref ='324.946.00.01' and bi.lordem =1
20241021@174831.5210 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.5213 a8ub1515un08jocurjlvlssttc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174831.5245 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.5248 a8ub1515un08jocurjlvlssttc Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174831.5279 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.5282 a8ub1515un08jocurjlvlssttc 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')
20241021@174831.5309 a8ub1515un08jocurjlvlssttc 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
20241021@174831.5344 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.5347 a8ub1515un08jocurjlvlssttc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174831.5376 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.5379 a8ub1515un08jocurjlvlssttc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174831.5407 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.5410 a8ub1515un08jocurjlvlssttc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174831.5449 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.5452 a8ub1515un08jocurjlvlssttc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174831.5496 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.5500 a8ub1515un08jocurjlvlssttc Query : select 1 valor from td where ndoc = 39
20241021@174831.5514 a8ub1515un08jocurjlvlssttc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174831.5528 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.5545 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174831.5563 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.5579 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174831.5615 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.5632 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174831.5646 a8ub1515un08jocurjlvlssttc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174831.5709 a8ub1515un08jocurjlvlssttc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174831.5722 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.5738 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174831.5754 a8ub1515un08jocurjlvlssttc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716878650671685df89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174831.5916 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.5932 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174831.5965 a8ub1515un08jocurjlvlssttc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174831.5977 a8ub1515un08jocurjlvlssttc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174831.5990 a8ub1515un08jocurjlvlssttc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174831.6006 a8ub1515un08jocurjlvlssttc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174831.6030 a8ub1515un08jocurjlvlssttc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174831.6043 a8ub1515un08jocurjlvlssttc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174831.6405 a8ub1515un08jocurjlvlssttc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716878650671685df89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174831.7332 a8ub1515un08jocurjlvlssttc Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174831.7358 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.7374 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174831.7399 a8ub1515un08jocurjlvlssttc Query : select 'normal' from dummy
20241021@174831.7414 a8ub1515un08jocurjlvlssttc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716878650671685df89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1401,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174831.7669 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.7672 a8ub1515un08jocurjlvlssttc Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20241021@174831.7695 a8ub1515un08jocurjlvlssttc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.946.00.01'
20241021@174831.7821 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.7840 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.7867 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.7883 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.7892 a8ub1515un08jocurjlvlssttc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174831.7904 a8ub1515un08jocurjlvlssttc Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20241021@174831.7925 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.7941 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.7953 a8ub1515un08jocurjlvlssttc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716851803671685dfc1','aut6716878650671685df89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174831.7957 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.7971 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.8001 a8ub1515un08jocurjlvlssttc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716851803671685dfc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716878650671685df89' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174831.8400 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174831.8444 a8ub1515un08jocurjlvlssttc Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20241021@174831.8655 a8ub1515un08jocurjlvlssttc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.946.00.01'
20241021@174831.8671 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.8691 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.9028 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.9045 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.9088 a8ub1515un08jocurjlvlssttc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174831.9376 a8ub1515un08jocurjlvlssttc Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20241021@174831.9391 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.9408 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174831.9420 a8ub1515un08jocurjlvlssttc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716826265671685dfe5','aut6716878650671685df89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174831.9424 a8ub1515un08jocurjlvlssttc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174831.9440 a8ub1515un08jocurjlvlssttc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174831.9468 a8ub1515un08jocurjlvlssttc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716826265671685dfe5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6716878650671685df89' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174831.9941 a8ub1515un08jocurjlvlssttc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716878650671685df89','2406834','wait',39,'adm09112754980.682000002')
20241021@174832.1560 a8ub1515un08jocurjlvlssttc Query : use flama_phc
20241021@174832.1564 a8ub1515un08jocurjlvlssttc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174832.1614 a8ub1515un08jocurjlvlssttc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2809';
20241021@174832.1650 a8ub1515un08jocurjlvlssttc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2809';
20241021@174832.1701 a8ub1515un08jocurjlvlssttc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2809';
20241021@174832.1729 a8ub1515un08jocurjlvlssttc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2809';
20241021@174832.2359 79mkgiqb9dsfbosqj8at77unvo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174832.2370 79mkgiqb9dsfbosqj8at77unvo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174832.2426 79mkgiqb9dsfbosqj8at77unvo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2810';
20241021@174832.2485 79mkgiqb9dsfbosqj8at77unvo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2810';
20241021@174832.2539 79mkgiqb9dsfbosqj8at77unvo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2810';
20241021@174832.2566 79mkgiqb9dsfbosqj8at77unvo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2810';
20241021@174832.2619 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.2622 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174832.2687 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.2690 79mkgiqb9dsfbosqj8at77unvo Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174832.2730 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20241021@174832.2750 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406835 and bi.ref ='324.948.00.01' and bi.lordem =1
20241021@174832.3084 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20241021@174832.3104 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406835 and bi.ref ='324.948.00.01' and bi.lordem =1
20241021@174832.3123 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.3126 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174832.3165 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.3169 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174832.3201 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.3203 79mkgiqb9dsfbosqj8at77unvo 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')
20241021@174832.3231 79mkgiqb9dsfbosqj8at77unvo 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
20241021@174832.3266 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.3269 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174832.3300 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.3303 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174832.3331 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.3334 79mkgiqb9dsfbosqj8at77unvo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174832.3375 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.3377 79mkgiqb9dsfbosqj8at77unvo Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174832.3427 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.3430 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from td where ndoc = 39
20241021@174832.3442 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174832.3456 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.3472 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174832.3491 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.3507 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174832.3538 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.3552 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174832.3565 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174832.3627 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174832.3640 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.3655 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174832.3670 79mkgiqb9dsfbosqj8at77unvo Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716894754671685e057' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174832.3828 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.3845 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174832.3877 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174832.3889 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174832.3901 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174832.3913 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174832.3924 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174832.3940 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174832.3951 79mkgiqb9dsfbosqj8at77unvo Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716894754671685e057',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174832.4161 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174832.4184 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.4199 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174832.4222 79mkgiqb9dsfbosqj8at77unvo Query : select 'normal' from dummy
20241021@174832.4237 79mkgiqb9dsfbosqj8at77unvo Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716894754671685e057',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1402,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174832.4488 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.4491 79mkgiqb9dsfbosqj8at77unvo Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20241021@174832.4513 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20241021@174832.4640 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.4656 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174832.4685 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.4702 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174832.4713 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174832.4726 79mkgiqb9dsfbosqj8at77unvo Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20241021@174832.4740 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.4755 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174832.4767 79mkgiqb9dsfbosqj8at77unvo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716816302671685e073','aut6716894754671685e057' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174832.4771 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.4786 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174832.4813 79mkgiqb9dsfbosqj8at77unvo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716816302671685e073',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716894754671685e057' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174832.5037 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.5043 79mkgiqb9dsfbosqj8at77unvo Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20241021@174832.5062 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20241021@174832.5115 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.5143 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174832.5169 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.5185 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174832.5193 79mkgiqb9dsfbosqj8at77unvo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174832.5205 79mkgiqb9dsfbosqj8at77unvo Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20241021@174832.5218 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.5234 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174832.5245 79mkgiqb9dsfbosqj8at77unvo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716824887671685e07f','aut6716894754671685e057' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174832.5250 79mkgiqb9dsfbosqj8at77unvo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.5265 79mkgiqb9dsfbosqj8at77unvo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174832.5296 79mkgiqb9dsfbosqj8at77unvo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716824887671685e07f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716894754671685e057' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174832.5661 79mkgiqb9dsfbosqj8at77unvo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716894754671685e057','2406835','wait',39,'adm09112754980.682000002')
20241021@174832.5801 79mkgiqb9dsfbosqj8at77unvo Query : use flama_phc
20241021@174832.5804 79mkgiqb9dsfbosqj8at77unvo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174832.5836 79mkgiqb9dsfbosqj8at77unvo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2810';
20241021@174832.5871 79mkgiqb9dsfbosqj8at77unvo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2810';
20241021@174832.5918 79mkgiqb9dsfbosqj8at77unvo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2810';
20241021@174832.5945 79mkgiqb9dsfbosqj8at77unvo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2810';
20241021@174832.6468 ujntqetnduhjl07q8dol5s93kg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174832.6479 ujntqetnduhjl07q8dol5s93kg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174832.6540 ujntqetnduhjl07q8dol5s93kg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2811';
20241021@174832.6598 ujntqetnduhjl07q8dol5s93kg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2811';
20241021@174832.6654 ujntqetnduhjl07q8dol5s93kg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2811';
20241021@174832.6681 ujntqetnduhjl07q8dol5s93kg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2811';
20241021@174832.6735 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.6738 ujntqetnduhjl07q8dol5s93kg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174832.6814 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.6817 ujntqetnduhjl07q8dol5s93kg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174832.6859 ujntqetnduhjl07q8dol5s93kg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241021@174832.6990 ujntqetnduhjl07q8dol5s93kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406836 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241021@174832.8244 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.8248 ujntqetnduhjl07q8dol5s93kg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174832.8283 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.8286 ujntqetnduhjl07q8dol5s93kg Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174832.8318 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.8321 ujntqetnduhjl07q8dol5s93kg 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')
20241021@174832.8351 ujntqetnduhjl07q8dol5s93kg 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
20241021@174832.8392 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.8395 ujntqetnduhjl07q8dol5s93kg Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174832.8426 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.8429 ujntqetnduhjl07q8dol5s93kg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174832.8459 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.8462 ujntqetnduhjl07q8dol5s93kg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174832.8501 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.8504 ujntqetnduhjl07q8dol5s93kg Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174832.8552 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174832.8555 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from td where ndoc = 39
20241021@174832.8568 ujntqetnduhjl07q8dol5s93kg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174832.8582 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.8599 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174832.8618 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.8635 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174832.8664 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.8679 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174832.8691 ujntqetnduhjl07q8dol5s93kg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174832.8754 ujntqetnduhjl07q8dol5s93kg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174832.8767 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.8787 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174832.8802 ujntqetnduhjl07q8dol5s93kg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716861967671685e0d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174832.9037 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.9260 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174832.9328 ujntqetnduhjl07q8dol5s93kg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174832.9341 ujntqetnduhjl07q8dol5s93kg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174832.9353 ujntqetnduhjl07q8dol5s93kg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174832.9365 ujntqetnduhjl07q8dol5s93kg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174832.9378 ujntqetnduhjl07q8dol5s93kg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174832.9391 ujntqetnduhjl07q8dol5s93kg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174832.9403 ujntqetnduhjl07q8dol5s93kg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716861967671685e0d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174832.9658 ujntqetnduhjl07q8dol5s93kg Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174832.9682 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174832.9698 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174832.9721 ujntqetnduhjl07q8dol5s93kg Query : select 'normal' from dummy
20241021@174832.9737 ujntqetnduhjl07q8dol5s93kg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716861967671685e0d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1403,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174833.1300 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174833.1600 ujntqetnduhjl07q8dol5s93kg Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241021@174833.3800 ujntqetnduhjl07q8dol5s93kg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20241021@174833.1590 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.1780 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.2030 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.2170 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.2260 ujntqetnduhjl07q8dol5s93kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.2380 ujntqetnduhjl07q8dol5s93kg Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241021@174833.2600 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.2740 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.2880 ujntqetnduhjl07q8dol5s93kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716821740671685e106','aut6716861967671685e0d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.2920 ujntqetnduhjl07q8dol5s93kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.3060 ujntqetnduhjl07q8dol5s93kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.3350 ujntqetnduhjl07q8dol5s93kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716821740671685e106',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut6716861967671685e0d4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174833.5740 ujntqetnduhjl07q8dol5s93kg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716861967671685e0d4','2406836','wait',39,'adm09112754980.682000002')
20241021@174833.6460 ujntqetnduhjl07q8dol5s93kg Query : use flama_phc
20241021@174833.6490 ujntqetnduhjl07q8dol5s93kg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174833.6800 ujntqetnduhjl07q8dol5s93kg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2811';
20241021@174833.7150 ujntqetnduhjl07q8dol5s93kg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2811';
20241021@174833.7600 ujntqetnduhjl07q8dol5s93kg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2811';
20241021@174833.7930 ujntqetnduhjl07q8dol5s93kg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2811';
20241021@174833.1504 47saopgibdq33qaedktoedra7g Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174833.1515 47saopgibdq33qaedktoedra7g Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174833.1576 47saopgibdq33qaedktoedra7g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2812';
20241021@174833.1640 47saopgibdq33qaedktoedra7g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2812';
20241021@174833.1697 47saopgibdq33qaedktoedra7g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2812';
20241021@174833.1727 47saopgibdq33qaedktoedra7g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2812';
20241021@174833.1778 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.1781 47saopgibdq33qaedktoedra7g Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174833.1844 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.1846 47saopgibdq33qaedktoedra7g Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174833.1888 47saopgibdq33qaedktoedra7g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241021@174833.2015 47saopgibdq33qaedktoedra7g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406837 and bi.ref ='324.657.00.01' and bi.lordem =1
20241021@174833.2315 47saopgibdq33qaedktoedra7g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241021@174833.2335 47saopgibdq33qaedktoedra7g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406837 and bi.ref ='324.657.00.01' and bi.lordem =1
20241021@174833.2353 47saopgibdq33qaedktoedra7g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241021@174833.2372 47saopgibdq33qaedktoedra7g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406837 and bi.ref ='324.657.00.01' and bi.lordem =1
20241021@174833.2388 47saopgibdq33qaedktoedra7g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241021@174833.2408 47saopgibdq33qaedktoedra7g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406837 and bi.ref ='324.657.00.01' and bi.lordem =1
20241021@174833.2424 47saopgibdq33qaedktoedra7g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241021@174833.2442 47saopgibdq33qaedktoedra7g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406837 and bi.ref ='324.657.00.01' and bi.lordem =1
20241021@174833.2459 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.2462 47saopgibdq33qaedktoedra7g Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174833.2493 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.2496 47saopgibdq33qaedktoedra7g Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174833.2524 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.2527 47saopgibdq33qaedktoedra7g 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')
20241021@174833.2553 47saopgibdq33qaedktoedra7g 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
20241021@174833.2586 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.2589 47saopgibdq33qaedktoedra7g Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174833.2619 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.2621 47saopgibdq33qaedktoedra7g Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174833.2650 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.2653 47saopgibdq33qaedktoedra7g Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174833.2705 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.2708 47saopgibdq33qaedktoedra7g Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174833.2755 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.2758 47saopgibdq33qaedktoedra7g Query : select 1 valor from td where ndoc = 39
20241021@174833.2770 47saopgibdq33qaedktoedra7g Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174833.2783 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.2804 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174833.2822 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.2891 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174833.2939 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.2956 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174833.2968 47saopgibdq33qaedktoedra7g Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174833.3037 47saopgibdq33qaedktoedra7g Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174833.3049 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.3064 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174833.3078 47saopgibdq33qaedktoedra7g Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174833.3241 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.3261 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174833.3292 47saopgibdq33qaedktoedra7g Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174833.3305 47saopgibdq33qaedktoedra7g Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174833.3316 47saopgibdq33qaedktoedra7g Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174833.3329 47saopgibdq33qaedktoedra7g Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174833.3342 47saopgibdq33qaedktoedra7g Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174833.3353 47saopgibdq33qaedktoedra7g Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174833.3365 47saopgibdq33qaedktoedra7g Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716847256671685e148',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174833.3580 47saopgibdq33qaedktoedra7g Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174833.3606 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.3623 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174833.3646 47saopgibdq33qaedktoedra7g Query : select 'normal' from dummy
20241021@174833.3662 47saopgibdq33qaedktoedra7g Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716847256671685e148',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1404,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174833.3921 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.3924 47saopgibdq33qaedktoedra7g Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241021@174833.3946 47saopgibdq33qaedktoedra7g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241021@174833.4077 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.4092 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.4116 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.4986 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.5263 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.5277 47saopgibdq33qaedktoedra7g Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241021@174833.5295 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.5311 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.5324 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716841901671685e181','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.5329 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.5343 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.5372 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716841901671685e181',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716847256671685e148' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174833.5617 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.5633 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.5658 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.5672 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.5681 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.5692 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.5707 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.5718 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716842244671685e18a','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.5722 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.5737 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.5766 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716842244671685e18a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716847256671685e148' ,0,0 ,2,23.00,20000,?,?,?)
20241021@174833.6034 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.6037 47saopgibdq33qaedktoedra7g Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241021@174833.6057 47saopgibdq33qaedktoedra7g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241021@174833.6071 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6087 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.6111 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6125 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.6133 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.6144 47saopgibdq33qaedktoedra7g Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241021@174833.6156 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6169 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.6181 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716861075671685e196','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.6185 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6199 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.6226 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716861075671685e196',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716847256671685e148' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241021@174833.6522 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6539 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.6565 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6579 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.6588 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.6599 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6613 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.6624 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716857075671685e1a1','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.6629 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6644 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.6672 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716857075671685e1a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716847256671685e148' ,0,0 ,2,23.00,50000,?,?,?)
20241021@174833.6901 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.6904 47saopgibdq33qaedktoedra7g Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241021@174833.6923 47saopgibdq33qaedktoedra7g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241021@174833.6937 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6953 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.6977 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.6992 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.7000 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.7011 47saopgibdq33qaedktoedra7g Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241021@174833.7022 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7037 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.7049 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716808849671685e1ab','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.7053 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7066 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.7093 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716808849671685e1ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716847256671685e148' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241021@174833.7313 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7329 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.7353 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7367 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.7375 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.7388 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7402 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.7414 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716827632671685e1b4','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.7418 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7479 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.7507 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716827632671685e1b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716847256671685e148' ,0,0 ,2,23.00,80000,?,?,?)
20241021@174833.7724 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.7727 47saopgibdq33qaedktoedra7g Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241021@174833.7745 47saopgibdq33qaedktoedra7g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241021@174833.7758 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7773 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.7800 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7819 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.7829 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.7841 47saopgibdq33qaedktoedra7g Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241021@174833.7854 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7869 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.7882 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716888617671685e1bf','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.7886 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.7902 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.7929 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716888617671685e1bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716847256671685e148' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241021@174833.8194 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.8213 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.8241 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.8256 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.8265 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.8278 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.8292 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.8304 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716882321671685e1ca','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.8308 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.8323 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.8351 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716882321671685e1ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716847256671685e148' ,0,0 ,2,23.00,110000,?,?,?)
20241021@174833.8579 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.8582 47saopgibdq33qaedktoedra7g Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241021@174833.8602 47saopgibdq33qaedktoedra7g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241021@174833.8616 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.8631 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.8656 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.8670 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.8678 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.8690 47saopgibdq33qaedktoedra7g Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241021@174833.8702 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.8715 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.8727 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716898506671685e1d4','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.8731 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.8746 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.8773 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716898506671685e1d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6716847256671685e148' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241021@174833.9008 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.9023 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.9048 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.9063 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.9071 47saopgibdq33qaedktoedra7g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174833.9084 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.9098 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174833.9109 47saopgibdq33qaedktoedra7g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716830060671685e1dd','aut6716847256671685e148' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174833.9113 47saopgibdq33qaedktoedra7g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174833.9128 47saopgibdq33qaedktoedra7g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174833.9159 47saopgibdq33qaedktoedra7g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716830060671685e1dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716847256671685e148' ,0,0 ,2,23.00,140000,?,?,?)
20241021@174833.9388 47saopgibdq33qaedktoedra7g Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716847256671685e148','2406837','wait',39,'adm09112754980.682000002')
20241021@174833.9463 47saopgibdq33qaedktoedra7g Query : use flama_phc
20241021@174833.9466 47saopgibdq33qaedktoedra7g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174833.9499 47saopgibdq33qaedktoedra7g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2812';
20241021@174833.9535 47saopgibdq33qaedktoedra7g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2812';
20241021@174833.9581 47saopgibdq33qaedktoedra7g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2812';
20241021@174833.9609 47saopgibdq33qaedktoedra7g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2812';
20241021@174834.9570 79pcctivdper51riigfjvmkrp5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174834.9700 79pcctivdper51riigfjvmkrp5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174834.1031 79pcctivdper51riigfjvmkrp5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2813';
20241021@174834.1086 79pcctivdper51riigfjvmkrp5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2813';
20241021@174834.1142 79pcctivdper51riigfjvmkrp5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2813';
20241021@174834.1169 79pcctivdper51riigfjvmkrp5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2813';
20241021@174834.1221 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.1224 79pcctivdper51riigfjvmkrp5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174834.1285 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.1288 79pcctivdper51riigfjvmkrp5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174834.1334 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.1587 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.1897 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.1919 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.1936 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.1956 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.1972 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.1993 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.2010 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.2028 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.2044 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.2065 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.2081 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.2100 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.2118 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.2137 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.2153 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.2173 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.2190 79pcctivdper51riigfjvmkrp5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241021@174834.2211 79pcctivdper51riigfjvmkrp5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406838 and bi.ref ='324.682.00.01' and bi.lordem =1
20241021@174834.2230 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.2234 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174834.2272 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.2275 79pcctivdper51riigfjvmkrp5 Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174834.2303 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.2306 79pcctivdper51riigfjvmkrp5 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')
20241021@174834.2333 79pcctivdper51riigfjvmkrp5 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
20241021@174834.2366 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.2369 79pcctivdper51riigfjvmkrp5 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174834.2399 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.2402 79pcctivdper51riigfjvmkrp5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174834.2435 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.2437 79pcctivdper51riigfjvmkrp5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174834.2478 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.2480 79pcctivdper51riigfjvmkrp5 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174834.2528 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.2531 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from td where ndoc = 39
20241021@174834.2543 79pcctivdper51riigfjvmkrp5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174834.2558 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.2576 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174834.2596 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.2610 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174834.2640 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.2655 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174834.2667 79pcctivdper51riigfjvmkrp5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174834.2729 79pcctivdper51riigfjvmkrp5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174834.2742 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.2760 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174834.2775 79pcctivdper51riigfjvmkrp5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174834.2974 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.2996 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174834.3034 79pcctivdper51riigfjvmkrp5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174834.3050 79pcctivdper51riigfjvmkrp5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174834.3062 79pcctivdper51riigfjvmkrp5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174834.3074 79pcctivdper51riigfjvmkrp5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174834.3085 79pcctivdper51riigfjvmkrp5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174834.3097 79pcctivdper51riigfjvmkrp5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174834.3109 79pcctivdper51riigfjvmkrp5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716841650671685e241',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174834.3322 79pcctivdper51riigfjvmkrp5 Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174834.3349 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.3365 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174834.3389 79pcctivdper51riigfjvmkrp5 Query : select 'normal' from dummy
20241021@174834.3405 79pcctivdper51riigfjvmkrp5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716841650671685e241',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1405,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174834.3656 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.3659 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174834.3679 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174834.3803 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.3819 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.3871 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.3886 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.3895 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.3907 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20241021@174834.3920 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.3936 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.3947 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716877293671685e25f','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.3951 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.3966 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.3996 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716877293671685e25f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174834.4226 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.4247 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.4275 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.4289 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.4297 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.4311 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.4325 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.4336 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716885464671685e269','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.4340 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.4354 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.4382 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716885464671685e269',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,20000,?,?,?)
20241021@174834.4598 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.4603 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174834.4621 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174834.4636 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.4651 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.4677 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.4692 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.4701 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.4712 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174834.4725 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.4740 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.4752 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716895385671685e273','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.4756 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.4770 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.4800 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716895385671685e273',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241021@174834.5019 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5034 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.5063 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5078 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.5086 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.5111 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5125 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.5136 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716844711671685e27c','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.5140 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5155 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.5183 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716844711671685e27c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,50000,?,?,?)
20241021@174834.5394 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.5398 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174834.5419 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174834.5435 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5451 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.5476 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5492 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.5500 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.5515 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174834.5527 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5542 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.5554 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716897750671685e286','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.5559 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5574 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.5606 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716897750671685e286',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241021@174834.5829 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5844 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.5872 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5886 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.5895 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.5907 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5920 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.5931 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716848581671685e290','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.5935 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.5950 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.5981 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716848581671685e290',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,80000,?,?,?)
20241021@174834.6216 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.6219 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174834.6238 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174834.6251 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.6267 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.6291 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.6305 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.6313 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.6329 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174834.6342 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.6357 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.6368 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716802822671685e29a','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.6373 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.6386 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.6415 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716802822671685e29a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241021@174834.6644 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.6662 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.6686 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.6700 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.6709 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.6721 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.6735 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.6750 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716892869671685e2a4','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.6754 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.6770 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.6798 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716892869671685e2a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,110000,?,?,?)
20241021@174834.8836 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.8864 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174834.8886 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174834.8901 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.8992 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.9021 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9039 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.9049 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.9065 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174834.9086 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9104 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.9116 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716810558671685e2dd','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.9121 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9135 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.9166 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716810558671685e2dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241021@174834.9409 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9427 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.9458 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9472 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.9480 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.9493 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9507 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.9518 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716860766671685e2e7','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.9522 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9537 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.9565 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716860766671685e2e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,140000,?,?,?)
20241021@174834.9790 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174834.9793 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174834.9811 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174834.9825 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9839 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.9869 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9885 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.9893 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174834.9906 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174834.9919 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9933 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174834.9944 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716841924671685e2f2','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174834.9948 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174834.9962 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174834.9990 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716841924671685e2f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241021@174835.1268 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.1285 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.1310 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.1324 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.1332 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.1344 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.1358 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.1370 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716879719671685e320','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.1375 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.1388 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.1416 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716879719671685e320',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,170000,?,?,?)
20241021@174835.1726 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174835.1768 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174835.1800 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174835.1815 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.1831 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.1857 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.1871 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.1879 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.1891 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174835.1903 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.1917 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.1928 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716807373671685e32e','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.1933 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.1947 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.1978 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716807373671685e32e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241021@174835.2253 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.2269 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.2299 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.2314 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.2322 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.2334 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.2348 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.2366 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716817023671685e338','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.2370 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.2385 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.2411 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716817023671685e338',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,200000,?,?,?)
20241021@174835.2631 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174835.2636 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174835.2655 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174835.2670 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.2684 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.2709 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.2730 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.2738 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.2751 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174835.2762 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.2776 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.2787 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716828563671685e343','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.2791 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.2805 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.2832 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716828563671685e343',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241021@174835.3058 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3076 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.3101 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3115 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.3123 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.3143 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3157 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.3168 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716840534671685e34c','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.3172 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3186 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.3213 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716840534671685e34c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,230000,?,?,?)
20241021@174835.3424 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174835.3428 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174835.3447 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174835.3463 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3477 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.3501 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3523 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.3531 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.3543 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174835.3556 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3570 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.3581 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716844765671685e356','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.3585 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3599 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.3627 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716844765671685e356',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241021@174835.3850 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3865 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.3891 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3905 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.3913 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.3925 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3939 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.3950 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716861185671685e35f','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.3955 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.3969 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.3996 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716861185671685e35f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,260000,?,?,?)
20241021@174835.4467 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174835.4470 79pcctivdper51riigfjvmkrp5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241021@174835.4489 79pcctivdper51riigfjvmkrp5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241021@174835.4503 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.4519 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.4544 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.4560 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.4568 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.4580 79pcctivdper51riigfjvmkrp5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241021@174835.4592 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.4606 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.4618 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716854574671685e370','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.4622 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.4886 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.4967 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716854574671685e370',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6716841650671685e241' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241021@174835.5211 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.5226 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.5251 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.5265 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.5273 79pcctivdper51riigfjvmkrp5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174835.5284 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.5298 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174835.5309 79pcctivdper51riigfjvmkrp5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716871010671685e381','aut6716841650671685e241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174835.5314 79pcctivdper51riigfjvmkrp5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.5328 79pcctivdper51riigfjvmkrp5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174835.5359 79pcctivdper51riigfjvmkrp5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716871010671685e381',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716841650671685e241' ,0,0 ,2,23.00,290000,?,?,?)
20241021@174835.5586 79pcctivdper51riigfjvmkrp5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716841650671685e241','2406838','wait',39,'adm09112754980.682000002')
20241021@174835.5673 79pcctivdper51riigfjvmkrp5 Query : use flama_phc
20241021@174835.5677 79pcctivdper51riigfjvmkrp5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174835.5709 79pcctivdper51riigfjvmkrp5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2813';
20241021@174835.5745 79pcctivdper51riigfjvmkrp5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2813';
20241021@174835.5792 79pcctivdper51riigfjvmkrp5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2813';
20241021@174835.5819 79pcctivdper51riigfjvmkrp5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2813';
20241021@174835.6491 pbo9hddg5iuqotj02rie5sghea Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174835.6507 pbo9hddg5iuqotj02rie5sghea Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174835.6578 pbo9hddg5iuqotj02rie5sghea Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2814';
20241021@174835.6640 pbo9hddg5iuqotj02rie5sghea Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2814';
20241021@174835.6721 pbo9hddg5iuqotj02rie5sghea Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2814';
20241021@174835.6761 pbo9hddg5iuqotj02rie5sghea Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2814';
20241021@174835.6833 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.6836 pbo9hddg5iuqotj02rie5sghea Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174835.6925 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.6928 pbo9hddg5iuqotj02rie5sghea Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241021@174835.7014 pbo9hddg5iuqotj02rie5sghea 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'
20241021@174835.7167 pbo9hddg5iuqotj02rie5sghea Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406839 and bi.ref ='327.8152.00.1' and bi.lordem =1
20241021@174835.7521 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.7525 pbo9hddg5iuqotj02rie5sghea Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174835.7606 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.7610 pbo9hddg5iuqotj02rie5sghea Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174835.7702 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.7706 pbo9hddg5iuqotj02rie5sghea 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')
20241021@174835.7752 pbo9hddg5iuqotj02rie5sghea 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
20241021@174835.7832 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.7837 pbo9hddg5iuqotj02rie5sghea Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174835.7936 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.7939 pbo9hddg5iuqotj02rie5sghea Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174835.8146 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.8152 pbo9hddg5iuqotj02rie5sghea Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174835.9461 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.9466 pbo9hddg5iuqotj02rie5sghea Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241021@174835.9651 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174835.9667 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from td where ndoc = 39
20241021@174835.9705 pbo9hddg5iuqotj02rie5sghea Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174835.9723 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.9741 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174835.9771 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.9788 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174835.9817 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.9833 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174835.9846 pbo9hddg5iuqotj02rie5sghea Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174835.9912 pbo9hddg5iuqotj02rie5sghea Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174835.9925 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174835.9943 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174835.9958 pbo9hddg5iuqotj02rie5sghea Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716840120671685e3f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174836.1250 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.1450 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174836.2700 pbo9hddg5iuqotj02rie5sghea Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174836.4210 pbo9hddg5iuqotj02rie5sghea Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174836.4340 pbo9hddg5iuqotj02rie5sghea Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174836.4460 pbo9hddg5iuqotj02rie5sghea Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174836.5690 pbo9hddg5iuqotj02rie5sghea Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174836.6000 pbo9hddg5iuqotj02rie5sghea Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174836.6110 pbo9hddg5iuqotj02rie5sghea Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716840120671685e3f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174836.8560 pbo9hddg5iuqotj02rie5sghea Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174836.8810 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.8980 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174836.9190 pbo9hddg5iuqotj02rie5sghea Query : select 'normal' from dummy
20241021@174836.9340 pbo9hddg5iuqotj02rie5sghea Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716840120671685e3f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1406,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174836.1405 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174836.1408 pbo9hddg5iuqotj02rie5sghea Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20241021@174836.1432 pbo9hddg5iuqotj02rie5sghea Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241021@174836.1574 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.1594 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.1618 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.1635 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.1645 pbo9hddg5iuqotj02rie5sghea Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.1657 pbo9hddg5iuqotj02rie5sghea Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2200712200a'
20241021@174836.2121 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.2141 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.2154 pbo9hddg5iuqotj02rie5sghea Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716845869671685e433','aut6716840120671685e3f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174836.2161 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.2177 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.2210 pbo9hddg5iuqotj02rie5sghea Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716845869671685e433',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6716840120671685e3f0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174836.2464 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.2480 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.2506 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.2520 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.2528 pbo9hddg5iuqotj02rie5sghea Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.2541 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.2555 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.2566 pbo9hddg5iuqotj02rie5sghea Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716858880671685e43e','aut6716840120671685e3f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174836.2570 pbo9hddg5iuqotj02rie5sghea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.2584 pbo9hddg5iuqotj02rie5sghea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.2611 pbo9hddg5iuqotj02rie5sghea Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716858880671685e43e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716840120671685e3f0' ,0,0 ,2,23.00,20000,?,?,?)
20241021@174836.2831 pbo9hddg5iuqotj02rie5sghea Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716840120671685e3f0','2406839','wait',39,'adm09112754980.682000002')
20241021@174836.2898 pbo9hddg5iuqotj02rie5sghea Query : use flama_phc
20241021@174836.2901 pbo9hddg5iuqotj02rie5sghea Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174836.2932 pbo9hddg5iuqotj02rie5sghea Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2814';
20241021@174836.2967 pbo9hddg5iuqotj02rie5sghea Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2814';
20241021@174836.3021 pbo9hddg5iuqotj02rie5sghea Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2814';
20241021@174836.3051 pbo9hddg5iuqotj02rie5sghea Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2814';
20241021@174836.3573 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174836.3583 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174836.3642 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2815';
20241021@174836.3697 3ibgqcuv1p1dbkpu0rpc2pnasj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2815';
20241021@174836.3754 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2815';
20241021@174836.3785 3ibgqcuv1p1dbkpu0rpc2pnasj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2815';
20241021@174836.3836 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.3838 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174836.3906 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.3909 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174836.3948 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20241021@174836.4077 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406840 and bi.ref ='324.729.00.01' and bi.lordem =1
20241021@174836.4414 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20241021@174836.4435 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406840 and bi.ref ='324.729.00.01' and bi.lordem =1
20241021@174836.4452 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20241021@174836.4472 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406840 and bi.ref ='324.729.00.01' and bi.lordem =1
20241021@174836.4490 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20241021@174836.4509 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406840 and bi.ref ='324.729.00.01' and bi.lordem =1
20241021@174836.4526 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.4529 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174836.4560 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.4562 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174836.4591 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.4593 3ibgqcuv1p1dbkpu0rpc2pnasj 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')
20241021@174836.4622 3ibgqcuv1p1dbkpu0rpc2pnasj 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
20241021@174836.4667 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.4670 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174836.4699 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.4702 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174836.4731 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.4733 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174836.4778 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.4781 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174836.4830 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.4833 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from td where ndoc = 39
20241021@174836.4845 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174836.4866 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.4882 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174836.4901 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.4914 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174836.4942 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.4956 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174836.4969 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174836.5177 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174836.5221 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.5240 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174836.5255 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174836.5417 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.5432 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174836.5464 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174836.5476 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174836.5492 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174836.5503 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174836.5518 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174836.5530 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174836.5540 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716868487671685e479',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174836.5751 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174836.5775 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.5790 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174836.5811 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 'normal' from dummy
20241021@174836.5826 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716868487671685e479',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1407,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174836.6094 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.6097 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select st.usalote valor from st where st.ref = '324.729.00.01'
20241021@174836.6123 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.729.00.01'
20241021@174836.6246 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.6261 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.6287 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.6302 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.6310 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.6323 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select sestamp valor from se where ref ='324.729.00.01' and lote = 'r2400238100a'
20241021@174836.6345 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.6359 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.6370 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716872922671685e49a','aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174836.6374 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.6388 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.6415 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716872922671685e49a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',84.000 ,'aut6716868487671685e479' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174836.6643 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.6658 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.6683 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.6698 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.6706 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.6718 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.6733 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.6744 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716896295671685e4a4','aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174836.6748 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.6764 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.6791 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716896295671685e4a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716868487671685e479' ,0,0 ,2,23.00,20000,?,?,?)
20241021@174836.7008 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.7011 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select st.usalote valor from st where st.ref = '324.729.00.01'
20241021@174836.7030 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.729.00.01'
20241021@174836.7045 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.7063 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.7089 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.7103 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.7111 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.7123 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select sestamp valor from se where ref ='324.729.00.01' and lote = 'r2400238100a'
20241021@174836.7136 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.7150 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.7160 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716834199671685e4ae','aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174836.7165 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.7178 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.7206 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716834199671685e4ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716868487671685e479' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241021@174836.7427 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.7442 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.7470 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.7485 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.7494 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.8622 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.8643 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.8655 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716823494671685e4d2','aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174836.8660 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.8674 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.8704 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716823494671685e4d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716868487671685e479' ,0,0 ,2,23.00,50000,?,?,?)
20241021@174836.8946 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.8949 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select st.usalote valor from st where st.ref = '324.729.00.01'
20241021@174836.8969 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.729.00.01'
20241021@174836.8982 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9003 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.9027 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9042 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.9050 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.9062 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select sestamp valor from se where ref ='324.729.00.01' and lote = 'r2400238100a'
20241021@174836.9074 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9089 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.9102 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716823016671685e4dd','aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174836.9106 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9120 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.9147 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716823016671685e4dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut6716868487671685e479' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241021@174836.9377 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9392 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.9416 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9430 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.9439 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.9450 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9464 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.9476 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716861774671685e4e6','aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174836.9480 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9494 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.9521 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716861774671685e4e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716868487671685e479' ,0,0 ,2,23.00,80000,?,?,?)
20241021@174836.9739 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174836.9742 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select st.usalote valor from st where st.ref = '324.729.00.01'
20241021@174836.9760 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.729.00.01'
20241021@174836.9773 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9787 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174836.9812 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9826 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174836.9834 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174836.9845 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select sestamp valor from se where ref ='324.729.00.01' and lote = 'r2400238100a'
20241021@174836.9857 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174836.9872 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.5900 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716807015671685e4f0','aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174837.1650 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.1840 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.2130 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716807015671685e4f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6716868487671685e479' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241021@174837.4540 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4710 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.4980 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.5160 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.5240 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174837.5360 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.5500 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.5610 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716894617671685e50d','aut6716868487671685e479' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174837.5660 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.5800 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.6120 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716894617671685e50d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716868487671685e479' ,0,0 ,2,23.00,110000,?,?,?)
20241021@174837.8450 3ibgqcuv1p1dbkpu0rpc2pnasj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716868487671685e479','2406840','wait',39,'adm09112754980.682000002')
20241021@174837.9190 3ibgqcuv1p1dbkpu0rpc2pnasj Query : use flama_phc
20241021@174837.9220 3ibgqcuv1p1dbkpu0rpc2pnasj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174837.9570 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2815';
20241021@174837.9910 3ibgqcuv1p1dbkpu0rpc2pnasj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2815';
20241021@174837.1040 3ibgqcuv1p1dbkpu0rpc2pnasj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2815';
20241021@174837.1066 3ibgqcuv1p1dbkpu0rpc2pnasj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2815';
20241021@174837.1573 pd8srt2qid5b7pi250fmfed5vl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174837.1585 pd8srt2qid5b7pi250fmfed5vl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174837.1648 pd8srt2qid5b7pi250fmfed5vl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2816';
20241021@174837.1705 pd8srt2qid5b7pi250fmfed5vl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2816';
20241021@174837.1767 pd8srt2qid5b7pi250fmfed5vl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2816';
20241021@174837.1795 pd8srt2qid5b7pi250fmfed5vl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2816';
20241021@174837.1850 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.1853 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174837.1918 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.1921 pd8srt2qid5b7pi250fmfed5vl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174837.2091 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20241021@174837.2227 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406841 and bi.ref ='324.945.00.01' and bi.lordem =1
20241021@174837.2525 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20241021@174837.2546 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406841 and bi.ref ='324.945.00.01' and bi.lordem =1
20241021@174837.2563 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.2566 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174837.2599 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.2602 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174837.2631 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.2634 pd8srt2qid5b7pi250fmfed5vl 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')
20241021@174837.2661 pd8srt2qid5b7pi250fmfed5vl 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
20241021@174837.2696 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.2699 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174837.2730 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.2733 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174837.2763 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.2766 pd8srt2qid5b7pi250fmfed5vl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174837.2808 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.2810 pd8srt2qid5b7pi250fmfed5vl Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174837.2858 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.2861 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from td where ndoc = 39
20241021@174837.2872 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174837.2888 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.2903 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174837.2921 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.2935 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174837.2962 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.2976 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174837.2988 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174837.3056 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174837.3069 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.3083 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174837.3101 pd8srt2qid5b7pi250fmfed5vl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716841403671685e548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174837.3267 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.3283 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174837.3315 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174837.3327 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174837.3338 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174837.3349 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174837.3360 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174837.3372 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174837.3384 pd8srt2qid5b7pi250fmfed5vl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716841403671685e548',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174837.3591 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174837.3616 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.3633 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174837.3654 pd8srt2qid5b7pi250fmfed5vl Query : select 'normal' from dummy
20241021@174837.3669 pd8srt2qid5b7pi250fmfed5vl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716841403671685e548',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1408,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174837.3933 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.3936 pd8srt2qid5b7pi250fmfed5vl Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20241021@174837.3958 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.945.00.01'
20241021@174837.4082 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4097 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.4126 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4140 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.4148 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174837.4160 pd8srt2qid5b7pi250fmfed5vl Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20241021@174837.4186 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4200 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.4211 pd8srt2qid5b7pi250fmfed5vl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716869099671685e566','aut6716841403671685e548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174837.4215 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4229 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.4256 pd8srt2qid5b7pi250fmfed5vl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716869099671685e566',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut6716841403671685e548' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174837.4778 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.4782 pd8srt2qid5b7pi250fmfed5vl Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20241021@174837.4804 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.945.00.01'
20241021@174837.4819 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4837 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.4866 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4881 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.4890 pd8srt2qid5b7pi250fmfed5vl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174837.4903 pd8srt2qid5b7pi250fmfed5vl Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2400091100a'
20241021@174837.4925 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4941 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.4953 pd8srt2qid5b7pi250fmfed5vl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716805913671685e578','aut6716841403671685e548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174837.4958 pd8srt2qid5b7pi250fmfed5vl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.4973 pd8srt2qid5b7pi250fmfed5vl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.5003 pd8srt2qid5b7pi250fmfed5vl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716805913671685e578',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716841403671685e548' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174837.5230 pd8srt2qid5b7pi250fmfed5vl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716841403671685e548','2406841','wait',39,'adm09112754980.682000002')
20241021@174837.5304 pd8srt2qid5b7pi250fmfed5vl Query : use flama_phc
20241021@174837.5308 pd8srt2qid5b7pi250fmfed5vl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174837.5340 pd8srt2qid5b7pi250fmfed5vl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2816';
20241021@174837.5375 pd8srt2qid5b7pi250fmfed5vl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2816';
20241021@174837.5428 pd8srt2qid5b7pi250fmfed5vl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2816';
20241021@174837.5456 pd8srt2qid5b7pi250fmfed5vl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2816';
20241021@174837.6177 s8bl0l9ab9f3m46gnbb645e6jq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174837.6189 s8bl0l9ab9f3m46gnbb645e6jq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174837.6251 s8bl0l9ab9f3m46gnbb645e6jq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2817';
20241021@174837.6307 s8bl0l9ab9f3m46gnbb645e6jq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2817';
20241021@174837.6364 s8bl0l9ab9f3m46gnbb645e6jq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2817';
20241021@174837.6391 s8bl0l9ab9f3m46gnbb645e6jq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2817';
20241021@174837.6442 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.6446 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174837.6540 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.6543 s8bl0l9ab9f3m46gnbb645e6jq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174837.6584 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241021@174837.6715 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406842 and bi.ref ='324.2231.00.2' and bi.lordem =1
20241021@174837.7959 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.7962 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174837.7998 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.8001 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174837.8032 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.8035 s8bl0l9ab9f3m46gnbb645e6jq 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')
20241021@174837.8063 s8bl0l9ab9f3m46gnbb645e6jq 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
20241021@174837.8097 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.8100 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174837.8128 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.8131 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174837.8161 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.8164 s8bl0l9ab9f3m46gnbb645e6jq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174837.8204 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.8206 s8bl0l9ab9f3m46gnbb645e6jq Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174837.8250 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.8253 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from td where ndoc = 39
20241021@174837.8265 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174837.8278 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.8293 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174837.8320 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.8334 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174837.8361 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.8375 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174837.8388 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174837.8450 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174837.8467 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.8482 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174837.8498 s8bl0l9ab9f3m46gnbb645e6jq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716890364671685e5cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174837.8653 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.8668 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174837.8700 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174837.8711 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174837.8722 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174837.8734 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174837.8745 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174837.8756 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174837.8767 s8bl0l9ab9f3m46gnbb645e6jq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716890364671685e5cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174837.8997 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174837.9021 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.9037 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174837.9065 s8bl0l9ab9f3m46gnbb645e6jq Query : select 'normal' from dummy
20241021@174837.9081 s8bl0l9ab9f3m46gnbb645e6jq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716890364671685e5cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1409,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174837.9349 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.9352 s8bl0l9ab9f3m46gnbb645e6jq Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241021@174837.9374 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241021@174837.9500 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.9516 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.9540 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.9555 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.9563 s8bl0l9ab9f3m46gnbb645e6jq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174837.9575 s8bl0l9ab9f3m46gnbb645e6jq Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2301141275a'
20241021@174837.9600 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.9614 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174837.9626 s8bl0l9ab9f3m46gnbb645e6jq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716874781671685e5ea','aut6716890364671685e5cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174837.9630 s8bl0l9ab9f3m46gnbb645e6jq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174837.9644 s8bl0l9ab9f3m46gnbb645e6jq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174837.9671 s8bl0l9ab9f3m46gnbb645e6jq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716874781671685e5ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut6716890364671685e5cc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174837.9907 s8bl0l9ab9f3m46gnbb645e6jq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716890364671685e5cc','2406842','wait',39,'adm09112754980.682000002')
20241021@174837.9995 s8bl0l9ab9f3m46gnbb645e6jq Query : use flama_phc
20241021@174837.9999 s8bl0l9ab9f3m46gnbb645e6jq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174838.3200 s8bl0l9ab9f3m46gnbb645e6jq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2817';
20241021@174838.6600 s8bl0l9ab9f3m46gnbb645e6jq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2817';
20241021@174838.1110 s8bl0l9ab9f3m46gnbb645e6jq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2817';
20241021@174838.1400 s8bl0l9ab9f3m46gnbb645e6jq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2817';
20241021@174838.6480 sm3b6dd5davq8r4vncguqmo15i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174838.6600 sm3b6dd5davq8r4vncguqmo15i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174838.7200 sm3b6dd5davq8r4vncguqmo15i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2818';
20241021@174838.7760 sm3b6dd5davq8r4vncguqmo15i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2818';
20241021@174838.8410 sm3b6dd5davq8r4vncguqmo15i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2818';
20241021@174838.8670 sm3b6dd5davq8r4vncguqmo15i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2818';
20241021@174838.9200 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.9230 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174838.9930 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.9960 sm3b6dd5davq8r4vncguqmo15i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174838.1038 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241021@174838.1057 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406843 and bi.ref ='324.2231.00.2' and bi.lordem =1
20241021@174838.1371 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241021@174838.1391 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406843 and bi.ref ='324.2231.00.2' and bi.lordem =1
20241021@174838.1408 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.1411 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174838.1443 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.1446 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174838.1476 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.1479 sm3b6dd5davq8r4vncguqmo15i 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')
20241021@174838.1509 sm3b6dd5davq8r4vncguqmo15i 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
20241021@174838.1545 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.1549 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174838.1581 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.1584 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174838.1613 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.1615 sm3b6dd5davq8r4vncguqmo15i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174838.1654 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.1657 sm3b6dd5davq8r4vncguqmo15i Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174838.1705 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.1716 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from td where ndoc = 39
20241021@174838.1728 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174838.1742 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.1760 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174838.1778 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.1792 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174838.1820 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.1839 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174838.1852 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174838.1917 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174838.1930 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.1945 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174838.1960 sm3b6dd5davq8r4vncguqmo15i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716841961671685e62d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174838.2171 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.2274 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174838.2307 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174838.2318 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174838.2330 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174838.2343 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174838.2360 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174838.2372 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174838.2384 sm3b6dd5davq8r4vncguqmo15i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716841961671685e62d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174838.2608 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174838.2642 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.2659 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174838.2681 sm3b6dd5davq8r4vncguqmo15i Query : select 'normal' from dummy
20241021@174838.2696 sm3b6dd5davq8r4vncguqmo15i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716841961671685e62d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1410,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174838.2950 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.2953 sm3b6dd5davq8r4vncguqmo15i Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241021@174838.2974 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241021@174838.2991 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.3006 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174838.3036 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.3050 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174838.3058 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174838.3070 sm3b6dd5davq8r4vncguqmo15i Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = '22301141275a'
20241021@174838.3093 sm3b6dd5davq8r4vncguqmo15i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.3107 sm3b6dd5davq8r4vncguqmo15i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174838.3118 sm3b6dd5davq8r4vncguqmo15i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716811635671685e64b','aut6716841961671685e62d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174838.3134 sm3b6dd5davq8r4vncguqmo15i Query : use flama_phc
20241021@174838.3137 sm3b6dd5davq8r4vncguqmo15i Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241021@174838.3169 sm3b6dd5davq8r4vncguqmo15i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2818';
20241021@174838.3203 sm3b6dd5davq8r4vncguqmo15i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2818';
20241021@174838.3734 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174838.3745 2k6d3hm32l8f3l9ehehbt26tbm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174838.3803 2k6d3hm32l8f3l9ehehbt26tbm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2819';
20241021@174838.3858 2k6d3hm32l8f3l9ehehbt26tbm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2819';
20241021@174838.3939 2k6d3hm32l8f3l9ehehbt26tbm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2819';
20241021@174838.3966 2k6d3hm32l8f3l9ehehbt26tbm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2819';
20241021@174838.4018 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4021 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174838.4087 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4092 2k6d3hm32l8f3l9ehehbt26tbm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174838.4136 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20241021@174838.4260 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406844 and bi.ref ='324.4988.00.1' and bi.lordem =1
20241021@174838.4561 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20241021@174838.4580 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406844 and bi.ref ='324.4988.00.1' and bi.lordem =1
20241021@174838.4596 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4600 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174838.4631 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4634 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174838.4665 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4668 2k6d3hm32l8f3l9ehehbt26tbm 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')
20241021@174838.4698 2k6d3hm32l8f3l9ehehbt26tbm 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
20241021@174838.4745 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4747 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174838.4777 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4779 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174838.4810 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4813 2k6d3hm32l8f3l9ehehbt26tbm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174838.4853 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4856 2k6d3hm32l8f3l9ehehbt26tbm Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174838.4903 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.4905 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from td where ndoc = 39
20241021@174838.4917 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174838.4931 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.4947 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174838.4965 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.4979 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174838.5006 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.5021 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174838.5033 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174838.5095 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174838.5107 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.5122 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174838.5138 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716868532671685e67a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174838.5300 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.5319 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174838.5353 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174838.5366 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174838.5378 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174838.5390 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174838.5403 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174838.5424 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174838.5436 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716868532671685e67a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174838.5656 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174838.5684 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.5702 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174838.5725 2k6d3hm32l8f3l9ehehbt26tbm Query : select 'normal' from dummy
20241021@174838.5740 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716868532671685e67a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1410,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174838.5996 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.6000 2k6d3hm32l8f3l9ehehbt26tbm Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20241021@174838.6023 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20241021@174838.6149 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.6165 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174838.6191 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.6207 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174838.6217 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174838.6228 2k6d3hm32l8f3l9ehehbt26tbm Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20241021@174838.6256 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.6271 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174838.6282 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716818161671685e698','aut6716868532671685e67a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174838.6286 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.6301 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174838.6329 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716818161671685e698',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716868532671685e67a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174838.6564 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.6567 2k6d3hm32l8f3l9ehehbt26tbm Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20241021@174838.6586 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20241021@174838.6601 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.6619 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174838.6645 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.6660 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174838.6669 2k6d3hm32l8f3l9ehehbt26tbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174838.6681 2k6d3hm32l8f3l9ehehbt26tbm Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20241021@174838.6693 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.6708 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174838.6720 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716810507671685e6a3','aut6716868532671685e67a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174838.6724 2k6d3hm32l8f3l9ehehbt26tbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.6739 2k6d3hm32l8f3l9ehehbt26tbm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174838.6769 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716810507671685e6a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6716868532671685e67a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174838.7001 2k6d3hm32l8f3l9ehehbt26tbm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716868532671685e67a','2406844','wait',39,'adm09112754980.682000002')
20241021@174838.7079 2k6d3hm32l8f3l9ehehbt26tbm Query : use flama_phc
20241021@174838.7082 2k6d3hm32l8f3l9ehehbt26tbm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174838.7118 2k6d3hm32l8f3l9ehehbt26tbm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2819';
20241021@174838.7158 2k6d3hm32l8f3l9ehehbt26tbm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2819';
20241021@174838.7209 2k6d3hm32l8f3l9ehehbt26tbm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2819';
20241021@174838.7239 2k6d3hm32l8f3l9ehehbt26tbm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2819';
20241021@174838.8775 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174838.8787 brfefai7kj04j7ccmsf2c1t4m1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174838.8851 brfefai7kj04j7ccmsf2c1t4m1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2820';
20241021@174838.8910 brfefai7kj04j7ccmsf2c1t4m1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2820';
20241021@174838.8969 brfefai7kj04j7ccmsf2c1t4m1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2820';
20241021@174838.8997 brfefai7kj04j7ccmsf2c1t4m1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2820';
20241021@174838.9052 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9055 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174838.9126 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9129 brfefai7kj04j7ccmsf2c1t4m1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174838.9173 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20241021@174838.9195 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406845 and bi.ref ='324.4988.00.1' and bi.lordem =1
20241021@174838.9512 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20241021@174838.9533 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406845 and bi.ref ='324.4988.00.1' and bi.lordem =1
20241021@174838.9552 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9555 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174838.9587 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9590 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174838.9622 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9624 brfefai7kj04j7ccmsf2c1t4m1 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')
20241021@174838.9653 brfefai7kj04j7ccmsf2c1t4m1 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
20241021@174838.9690 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9693 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174838.9724 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9726 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174838.9757 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9760 brfefai7kj04j7ccmsf2c1t4m1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174838.9802 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9805 brfefai7kj04j7ccmsf2c1t4m1 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174838.9856 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174838.9859 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from td where ndoc = 39
20241021@174838.9871 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174838.9885 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.9902 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174838.9921 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.9936 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174838.9965 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174838.9981 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174838.9993 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174839.5600 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174839.6900 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.8400 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174839.1000 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716859003671685e6f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174839.2560 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.2750 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174839.3090 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174839.3210 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174839.3330 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174839.3450 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174839.3590 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174839.3710 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174839.3830 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716859003671685e6f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174839.6020 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174839.6300 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6470 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174839.6710 brfefai7kj04j7ccmsf2c1t4m1 Query : select 'normal' from dummy
20241021@174839.6870 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716859003671685e6f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1411,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174839.9510 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174839.9540 brfefai7kj04j7ccmsf2c1t4m1 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20241021@174839.9780 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20241021@174839.9920 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.1011 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.1039 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.1054 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.1063 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174839.1074 brfefai7kj04j7ccmsf2c1t4m1 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20241021@174839.1087 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.1101 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.1113 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716837370671685e71a','aut6716859003671685e6f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174839.1117 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.1133 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.1165 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716837370671685e71a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6716859003671685e6f3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174839.1393 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174839.1396 brfefai7kj04j7ccmsf2c1t4m1 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20241021@174839.1417 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20241021@174839.1430 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.1445 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.1470 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.1485 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.1496 brfefai7kj04j7ccmsf2c1t4m1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174839.1509 brfefai7kj04j7ccmsf2c1t4m1 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20241021@174839.1522 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.1536 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.1547 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716823986671685e725','aut6716859003671685e6f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174839.1551 brfefai7kj04j7ccmsf2c1t4m1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.1566 brfefai7kj04j7ccmsf2c1t4m1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.1594 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716823986671685e725',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut6716859003671685e6f3' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174839.1829 brfefai7kj04j7ccmsf2c1t4m1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716859003671685e6f3','2406845','wait',39,'adm09112754980.682000002')
20241021@174839.1902 brfefai7kj04j7ccmsf2c1t4m1 Query : use flama_phc
20241021@174839.1906 brfefai7kj04j7ccmsf2c1t4m1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174839.1937 brfefai7kj04j7ccmsf2c1t4m1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2820';
20241021@174839.1975 brfefai7kj04j7ccmsf2c1t4m1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2820';
20241021@174839.2021 brfefai7kj04j7ccmsf2c1t4m1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2820';
20241021@174839.2050 brfefai7kj04j7ccmsf2c1t4m1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2820';
20241021@174839.2607 tcn0rdikdi93guh4hiq6iq4svb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174839.2619 tcn0rdikdi93guh4hiq6iq4svb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174839.2679 tcn0rdikdi93guh4hiq6iq4svb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2821';
20241021@174839.2743 tcn0rdikdi93guh4hiq6iq4svb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2821';
20241021@174839.2804 tcn0rdikdi93guh4hiq6iq4svb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2821';
20241021@174839.2831 tcn0rdikdi93guh4hiq6iq4svb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2821';
20241021@174839.2885 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.2888 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174839.2953 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.2956 tcn0rdikdi93guh4hiq6iq4svb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241021@174839.3005 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20241021@174839.3148 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406846 and bi.ref ='324.736.00.01' and bi.lordem =1
20241021@174839.3457 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20241021@174839.3480 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406846 and bi.ref ='324.736.00.01' and bi.lordem =1
20241021@174839.3497 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20241021@174839.3517 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406846 and bi.ref ='324.736.00.01' and bi.lordem =1
20241021@174839.3534 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20241021@174839.3556 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406846 and bi.ref ='324.736.00.01' and bi.lordem =1
20241021@174839.3575 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.3578 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174839.3610 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.3613 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174839.3647 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.3650 tcn0rdikdi93guh4hiq6iq4svb 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')
20241021@174839.3677 tcn0rdikdi93guh4hiq6iq4svb 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
20241021@174839.3713 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.3716 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241021@174839.3747 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.3757 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174839.3788 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.3792 tcn0rdikdi93guh4hiq6iq4svb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174839.3834 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.3837 tcn0rdikdi93guh4hiq6iq4svb Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241021@174839.3885 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.3888 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from td where ndoc = 39
20241021@174839.3901 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174839.3914 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.3931 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174839.3948 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.3962 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174839.3989 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.4005 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174839.4018 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174839.4080 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174839.4093 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.4110 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174839.4125 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716894191671685e762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174839.4285 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.4304 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174839.4336 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174839.4348 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174839.4371 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174839.4383 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174839.4395 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174839.4406 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174839.4418 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716894191671685e762',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174839.4630 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174839.4657 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.4672 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174839.4695 tcn0rdikdi93guh4hiq6iq4svb Query : select 'normal' from dummy
20241021@174839.4710 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716894191671685e762',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1412,100810,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174839.4976 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.4979 tcn0rdikdi93guh4hiq6iq4svb Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20241021@174839.5001 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20241021@174839.5124 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.5139 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.5163 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.5178 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.5186 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174839.5198 tcn0rdikdi93guh4hiq6iq4svb Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20241021@174839.5211 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.5225 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.5237 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716871223671685e77f','aut6716894191671685e762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174839.5241 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.5255 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.5283 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716871223671685e77f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',92.000 ,'aut6716894191671685e762' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174839.5519 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.5522 tcn0rdikdi93guh4hiq6iq4svb Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20241021@174839.5543 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20241021@174839.5557 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.5578 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.5604 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.5644 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.5652 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174839.5664 tcn0rdikdi93guh4hiq6iq4svb Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20241021@174839.5676 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.5691 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.5703 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716829588671685e78a','aut6716894191671685e762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174839.5707 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.5731 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.5759 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716829588671685e78a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut6716894191671685e762' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174839.5988 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.5993 tcn0rdikdi93guh4hiq6iq4svb Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20241021@174839.6013 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20241021@174839.6027 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6042 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.6075 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6089 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.6097 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174839.6109 tcn0rdikdi93guh4hiq6iq4svb Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20241021@174839.6122 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6135 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.6146 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716884553671685e795','aut6716894191671685e762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174839.6151 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6166 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.6193 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716884553671685e795',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100.000 ,'aut6716894191671685e762' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241021@174839.6418 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.6421 tcn0rdikdi93guh4hiq6iq4svb Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20241021@174839.6440 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20241021@174839.6453 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6468 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.6492 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6508 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.6516 tcn0rdikdi93guh4hiq6iq4svb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174839.6527 tcn0rdikdi93guh4hiq6iq4svb Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20241021@174839.6539 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6553 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174839.6565 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716888363671685e79f','aut6716894191671685e762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174839.6569 tcn0rdikdi93guh4hiq6iq4svb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174839.6583 tcn0rdikdi93guh4hiq6iq4svb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174839.6610 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716888363671685e79f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100.000 ,'aut6716894191671685e762' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241021@174839.7407 tcn0rdikdi93guh4hiq6iq4svb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6716894191671685e762','2406846','wait',39,'adm09112754980.682000002')
20241021@174839.7912 tcn0rdikdi93guh4hiq6iq4svb Query : use flama_phc
20241021@174839.7915 tcn0rdikdi93guh4hiq6iq4svb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@174839.7956 tcn0rdikdi93guh4hiq6iq4svb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2821';
20241021@174839.7991 tcn0rdikdi93guh4hiq6iq4svb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2821';
20241021@174839.8040 tcn0rdikdi93guh4hiq6iq4svb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2821';
20241021@174839.8073 tcn0rdikdi93guh4hiq6iq4svb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2821';
20241021@174839.9539 02k6e5l4dve2j3mt961r593qec Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241021@174839.9552 02k6e5l4dve2j3mt961r593qec Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241021@174839.9613 02k6e5l4dve2j3mt961r593qec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2822';
20241021@174839.9672 02k6e5l4dve2j3mt961r593qec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2822';
20241021@174839.9731 02k6e5l4dve2j3mt961r593qec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2822';
20241021@174839.9762 02k6e5l4dve2j3mt961r593qec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2822';
20241021@174839.9842 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174839.9846 02k6e5l4dve2j3mt961r593qec Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174839.9917 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174839.9920 02k6e5l4dve2j3mt961r593qec Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20241021@174839.9998 02k6e5l4dve2j3mt961r593qec Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20241021@174840.2300 02k6e5l4dve2j3mt961r593qec Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406848 and bi.ref ='324.4930.00.1' and bi.lordem =1
20241021@174840.3270 02k6e5l4dve2j3mt961r593qec Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20241021@174840.4480 02k6e5l4dve2j3mt961r593qec Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406848 and bi.ref ='324.727.00.01' and bi.lordem =2
20241021@174840.7590 02k6e5l4dve2j3mt961r593qec 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'
20241021@174840.7830 02k6e5l4dve2j3mt961r593qec Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406848 and bi.ref ='304.4320.00.1' and bi.lordem =3
20241021@174840.1085 02k6e5l4dve2j3mt961r593qec Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20241021@174840.1106 02k6e5l4dve2j3mt961r593qec Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406848 and bi.ref ='324.5343.00.1' and bi.lordem =4
20241021@174840.1410 02k6e5l4dve2j3mt961r593qec Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20241021@174840.1430 02k6e5l4dve2j3mt961r593qec Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406848 and bi.ref ='324.1608.00.1' and bi.lordem =5
20241021@174840.1730 02k6e5l4dve2j3mt961r593qec Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20241021@174840.1860 02k6e5l4dve2j3mt961r593qec Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406848 and bi.ref ='324.939.00.01' and bi.lordem =6
20241021@174840.2152 02k6e5l4dve2j3mt961r593qec Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20241021@174840.2175 02k6e5l4dve2j3mt961r593qec Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406848 and bi.ref ='324.939.00.01' and bi.lordem =6
20241021@174840.2192 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.2196 02k6e5l4dve2j3mt961r593qec Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@174840.2231 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.2234 02k6e5l4dve2j3mt961r593qec Query : select top 1 1 valor from td where td.ndoc = 39
20241021@174840.2263 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.2266 02k6e5l4dve2j3mt961r593qec 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')
20241021@174840.2293 02k6e5l4dve2j3mt961r593qec 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
20241021@174840.2327 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.2330 02k6e5l4dve2j3mt961r593qec Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20241021@174840.2561 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.2565 02k6e5l4dve2j3mt961r593qec Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@174840.2595 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.2598 02k6e5l4dve2j3mt961r593qec Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@174840.2637 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.2640 02k6e5l4dve2j3mt961r593qec Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20241021@174840.2687 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.2690 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from td where ndoc = 39
20241021@174840.2704 02k6e5l4dve2j3mt961r593qec Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@174840.2717 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.2734 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174840.2753 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.2767 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174840.2795 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.2810 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174840.2823 02k6e5l4dve2j3mt961r593qec Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174840.2888 02k6e5l4dve2j3mt961r593qec Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@174840.2902 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.2917 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@174840.2933 02k6e5l4dve2j3mt961r593qec Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6716897162671685e844' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@174840.3090 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.3106 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@174840.3166 02k6e5l4dve2j3mt961r593qec Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@174840.3178 02k6e5l4dve2j3mt961r593qec Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@174840.3190 02k6e5l4dve2j3mt961r593qec Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@174840.3204 02k6e5l4dve2j3mt961r593qec Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@174840.3216 02k6e5l4dve2j3mt961r593qec Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@174840.3228 02k6e5l4dve2j3mt961r593qec Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@174840.3240 02k6e5l4dve2j3mt961r593qec Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6716897162671685e844',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@174840.3459 02k6e5l4dve2j3mt961r593qec Query : select top 1 fno valor from wsftdata order by fno desc
20241021@174840.3482 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.3499 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@174840.3523 02k6e5l4dve2j3mt961r593qec Query : select 'normal' from dummy
20241021@174840.3542 02k6e5l4dve2j3mt961r593qec Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6716897162671685e844',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1413,199506,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@174840.3782 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.3785 02k6e5l4dve2j3mt961r593qec Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20241021@174840.3807 02k6e5l4dve2j3mt961r593qec Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20241021@174840.3932 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.3948 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.3973 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.3988 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.4003 02k6e5l4dve2j3mt961r593qec Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174840.4015 02k6e5l4dve2j3mt961r593qec Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20241021@174840.4030 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.4084 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.5208 02k6e5l4dve2j3mt961r593qec Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716883015671685e862','aut6716897162671685e844' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174840.5213 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.5231 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.5263 02k6e5l4dve2j3mt961r593qec Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716883015671685e862',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6716897162671685e844' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241021@174840.5493 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.5496 02k6e5l4dve2j3mt961r593qec Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20241021@174840.5519 02k6e5l4dve2j3mt961r593qec Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20241021@174840.5642 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.5659 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.5956 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.5973 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.5982 02k6e5l4dve2j3mt961r593qec Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174840.5994 02k6e5l4dve2j3mt961r593qec Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20241021@174840.6010 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6025 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.6036 02k6e5l4dve2j3mt961r593qec Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716849351671685e892','aut6716897162671685e844' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174840.6041 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6055 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.6082 02k6e5l4dve2j3mt961r593qec Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716849351671685e892',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6716897162671685e844' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241021@174840.6324 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6342 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.6373 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6389 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.6399 02k6e5l4dve2j3mt961r593qec Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174840.6411 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6426 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.6438 02k6e5l4dve2j3mt961r593qec Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716831756671685e89c','aut6716897162671685e844' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174840.6442 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6457 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.6484 02k6e5l4dve2j3mt961r593qec Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6716831756671685e89c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6716897162671685e844' ,0,0 ,2,23.00,30000,?,?,?)
20241021@174840.6707 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.6713 02k6e5l4dve2j3mt961r593qec Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241021@174840.6733 02k6e5l4dve2j3mt961r593qec Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241021@174840.6746 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6763 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.6788 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6804 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.6813 02k6e5l4dve2j3mt961r593qec Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174840.6825 02k6e5l4dve2j3mt961r593qec Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241021@174840.6838 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6853 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.6865 02k6e5l4dve2j3mt961r593qec Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716893601671685e8a6','aut6716897162671685e844' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174840.6869 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.6884 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.6912 02k6e5l4dve2j3mt961r593qec Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716893601671685e8a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6716897162671685e844' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241021@174840.7148 02k6e5l4dve2j3mt961r593qec Query : use flama_phc
20241021@174840.7152 02k6e5l4dve2j3mt961r593qec Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20241021@174840.7177 02k6e5l4dve2j3mt961r593qec Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20241021@174840.7307 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.7322 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.7351 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.7365 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.7373 02k6e5l4dve2j3mt961r593qec Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@174840.7385 02k6e5l4dve2j3mt961r593qec Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20241021@174840.7407 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.7423 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@174840.7435 02k6e5l4dve2j3mt961r593qec Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6716870524671685e8b4','aut6716897162671685e844' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@174840.7439 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.7453 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.7481 02k6e5l4dve2j3mt961r593qec Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6716870524671685e8b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut6716897162671685e844' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241021@174840.7711 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.7727 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@174840.7755 02k6e5l4dve2j3mt961r593qec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@174840.7769 02k6e5l4dve2j3mt961r593qec Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
