20250114@154633.1626 l992dpu44htkln8q106gfqekog Query : use flama_phc
20250114@154633.1629 l992dpu44htkln8q106gfqekog Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20250114@154633.1650 l992dpu44htkln8q106gfqekog Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20250114@154633.1666 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.1685 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.1713 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.1730 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.1740 l992dpu44htkln8q106gfqekog Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154633.1754 l992dpu44htkln8q106gfqekog Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '242059'
20250114@154633.1792 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.1808 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.1820 l992dpu44htkln8q106gfqekog Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786892301678686d92b','aut6786858046678686d8e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154633.1824 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.1839 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.1869 l992dpu44htkln8q106gfqekog Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786892301678686d92b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut6786858046678686d8e6' ,0,0 ,2,23.00,20000,?,?,?,?)
20250114@154633.2180 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.2198 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.2226 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.2241 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.2249 l992dpu44htkln8q106gfqekog Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154633.2260 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.2274 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.2286 l992dpu44htkln8q106gfqekog Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786849382678686d937','aut6786858046678686d8e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154633.2290 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.2305 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.2353 l992dpu44htkln8q106gfqekog Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786849382678686d937',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786858046678686d8e6' ,0,0 ,2,23.00,30000,?,?,?)
20250114@154633.2688 l992dpu44htkln8q106gfqekog Query : use flama_phc
20250114@154633.2693 l992dpu44htkln8q106gfqekog Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20250114@154633.2723 l992dpu44htkln8q106gfqekog Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20250114@154633.2890 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.2908 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.2938 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.2956 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.2966 l992dpu44htkln8q106gfqekog Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154633.2981 l992dpu44htkln8q106gfqekog Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20250114@154633.2996 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.3011 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.3023 l992dpu44htkln8q106gfqekog Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786843693678686d949','aut6786858046678686d8e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154633.3027 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.3042 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.3070 l992dpu44htkln8q106gfqekog Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786843693678686d949',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6786858046678686d8e6' ,0,0 ,2,23.00,50000,?,?,?,?)
20250114@154633.3408 l992dpu44htkln8q106gfqekog Query : use flama_phc
20250114@154633.3412 l992dpu44htkln8q106gfqekog Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20250114@154633.3466 l992dpu44htkln8q106gfqekog Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20250114@154633.3642 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.3663 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.3692 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.3711 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.3723 l992dpu44htkln8q106gfqekog Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154633.3756 l992dpu44htkln8q106gfqekog Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20250114@154633.3782 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.3803 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.3905 l992dpu44htkln8q106gfqekog Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786870181678686d95c','aut6786858046678686d8e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154633.3910 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.3979 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.4012 l992dpu44htkln8q106gfqekog Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786870181678686d95c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786858046678686d8e6' ,0,0 ,2,23.00,60000,?,?,?,?)
20250114@154633.4349 l992dpu44htkln8q106gfqekog Query : use flama_phc
20250114@154633.4353 l992dpu44htkln8q106gfqekog Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20250114@154633.4377 l992dpu44htkln8q106gfqekog Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2232.00.1'
20250114@154633.4587 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.4750 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.4937 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.4955 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.4964 l992dpu44htkln8q106gfqekog Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154633.4977 l992dpu44htkln8q106gfqekog Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20250114@154633.4998 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.5013 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.5023 l992dpu44htkln8q106gfqekog Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786890307678686d97a','aut6786858046678686d8e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154633.5110 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.5129 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.5159 l992dpu44htkln8q106gfqekog Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786890307678686d97a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786858046678686d8e6' ,0,0 ,2,23.00,70000,?,?,?,?)
20250114@154633.5543 l992dpu44htkln8q106gfqekog Query : use flama_phc
20250114@154633.5547 l992dpu44htkln8q106gfqekog Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250114@154633.5565 l992dpu44htkln8q106gfqekog Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20250114@154633.5579 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.5596 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.5621 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.5643 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.5652 l992dpu44htkln8q106gfqekog Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154633.5664 l992dpu44htkln8q106gfqekog Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250114@154633.5681 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.5697 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154633.5708 l992dpu44htkln8q106gfqekog Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786814737678686d98a','aut6786858046678686d8e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154633.5713 l992dpu44htkln8q106gfqekog Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154633.5731 l992dpu44htkln8q106gfqekog Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154633.5778 l992dpu44htkln8q106gfqekog Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786814737678686d98a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6786858046678686d8e6' ,0,0 ,2,23.00,80000,?,?,?,?)
20250114@154633.6063 l992dpu44htkln8q106gfqekog Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786858046678686d8e6','2500353','wait',39,'adm09112754980.682000002')
20250114@154633.6164 l992dpu44htkln8q106gfqekog Query : use flama_phc
20250114@154633.6168 l992dpu44htkln8q106gfqekog Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@154633.6199 l992dpu44htkln8q106gfqekog Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4596';
20250114@154633.6244 l992dpu44htkln8q106gfqekog Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4596';
20250114@154633.6298 l992dpu44htkln8q106gfqekog Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4596';
20250114@154633.6447 l992dpu44htkln8q106gfqekog Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4596';
20250114@154633.7347 oqvpcesir7kaacstbcaq2knhrq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@154633.7358 oqvpcesir7kaacstbcaq2knhrq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@154633.7431 oqvpcesir7kaacstbcaq2knhrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4597';
20250114@154633.7499 oqvpcesir7kaacstbcaq2knhrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4597';
20250114@154633.7575 oqvpcesir7kaacstbcaq2knhrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4597';
20250114@154633.7614 oqvpcesir7kaacstbcaq2knhrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4597';
20250114@154633.7702 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.7705 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@154633.7777 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.7780 oqvpcesir7kaacstbcaq2knhrq Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250114@154633.7875 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20250114@154633.8127 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20250114@154633.8149 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20250114@154633.8167 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20250114@154633.8525 oqvpcesir7kaacstbcaq2knhrq 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'
20250114@154633.8711 oqvpcesir7kaacstbcaq2knhrq 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'
20250114@154633.8734 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20250114@154633.8908 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20250114@154633.9079 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20250114@154633.9099 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20250114@154633.9274 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20250114@154633.9449 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.9452 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@154633.9487 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.9491 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 1 valor from td where td.ndoc = 39
20250114@154633.9538 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.9541 oqvpcesir7kaacstbcaq2knhrq 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')
20250114@154633.9573 oqvpcesir7kaacstbcaq2knhrq 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
20250114@154633.9610 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.9613 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20250114@154633.9771 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.9774 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@154633.9803 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.9806 oqvpcesir7kaacstbcaq2knhrq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@154633.9868 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.9872 oqvpcesir7kaacstbcaq2knhrq Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20250114@154633.9922 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154633.9924 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from td where ndoc = 39
20250114@154633.9937 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@154633.9950 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.1140 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154634.1600 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.1770 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154634.2060 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.2200 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154634.2330 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154634.3610 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154634.3770 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.3930 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154634.4230 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@154634.6520 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.6690 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154634.7030 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@154634.7150 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@154634.7260 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@154634.7380 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@154634.7490 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@154634.7610 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@154634.7720 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786889615678686da05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@154634.1067 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 fno valor from wsftdata order by fno desc
20250114@154634.1122 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.1139 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154634.1162 oqvpcesir7kaacstbcaq2knhrq Query : select 'normal' from dummy
20250114@154634.1177 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786889615678686da05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2975,102253,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@154634.1514 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154634.1518 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20250114@154634.1566 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20250114@154634.1725 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.1742 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.1767 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.1781 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.1789 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.1801 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20250114@154634.1821 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.1835 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.1847 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786895272678686da2c','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.1851 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.1891 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.1921 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786895272678686da2c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@154634.2236 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154634.2241 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20250114@154634.2265 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20250114@154634.2281 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.2301 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.2333 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.2350 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.2358 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.2370 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20250114@154634.2385 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.2400 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.2411 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786847925678686da3a','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.2416 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.2431 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.2484 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786847925678686da3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',34.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,20000,?,?,?,?)
20250114@154634.2802 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154634.2806 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20250114@154634.2919 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20250114@154634.2942 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.3041 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.3069 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.3091 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.3100 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.3159 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20250114@154634.3173 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.3228 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.3393 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786867581678686da4d','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.3400 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.3432 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.3464 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786867581678686da4d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',26.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,30000,?,?,?,?)
20250114@154634.3829 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154634.3834 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20250114@154634.3927 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20250114@154634.4283 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.4299 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.4324 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.4339 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.4348 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.4378 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20250114@154634.4399 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.4416 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.4429 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786802086678686da6b','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.4433 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.4449 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.4478 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786802086678686da6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,40000,?,?,?,?)
20250114@154634.4806 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154634.4816 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20250114@154634.5030 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20250114@154634.5250 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.5267 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.5295 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.5310 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.5318 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.5331 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20250114@154634.5347 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.5364 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.5376 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786887933678686da82','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.5381 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.5606 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.6673 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786887933678686da82',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,50000,?,?,?,?)
20250114@154634.6981 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.7000 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.7027 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.7043 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.7054 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.7067 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.7082 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.7095 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786853117678686daac','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.7099 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.7114 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.7145 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786853117678686daac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786889615678686da05' ,0,0 ,2,23.00,60000,?,?,?)
20250114@154634.7445 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154634.7448 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20250114@154634.7474 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20250114@154634.7489 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.7505 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.7554 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.7569 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.7577 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.7589 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20250114@154634.7602 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.7615 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.7627 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786839064678686dab9','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.7631 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.7669 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.7706 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786839064678686dab9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,80000,?,?,?,?)
20250114@154634.8054 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.8073 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.8098 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.8112 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.8120 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.8133 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.8149 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.8336 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786853969678686dac6','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.8342 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.8365 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.8396 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786853969678686dac6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786889615678686da05' ,0,0 ,2,23.00,90000,?,?,?)
20250114@154634.8712 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154634.8715 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20250114@154634.8766 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20250114@154634.8958 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.8975 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.8999 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.9013 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.9021 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154634.9038 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20250114@154634.9052 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.9094 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154634.9107 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786861947678686dadd','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154634.9111 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154634.9129 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154634.9438 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786861947678686dadd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,110000,?,?,?,?)
20250114@154634.9843 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154634.9846 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20250114@154634.9903 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20250114@154635.5260 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.5450 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.5700 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.5850 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.5930 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154635.6040 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20250114@154635.6320 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.6470 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.6580 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786883009678686db0f','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154635.6630 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.6780 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.7330 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786883009678686db0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,120000,?,?,?,?)
20250114@154635.1320 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154635.1327 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20250114@154635.1346 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20250114@154635.1359 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.1529 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.1557 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.1576 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.1659 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154635.1699 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20250114@154635.1712 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.1746 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.1800 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786857718678686db29','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154635.1805 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.1821 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.1849 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786857718678686db29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,130000,?,?,?,?)
20250114@154635.2234 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154635.2240 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20250114@154635.2266 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4963.00.1'
20250114@154635.2449 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.2468 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.2499 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.2530 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.2540 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154635.2551 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20250114@154635.2567 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.2585 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.2598 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786889733678686db3e','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154635.2603 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.2619 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.2653 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786889733678686db3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,140000,?,?,?,?)
20250114@154635.3071 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154635.3077 oqvpcesir7kaacstbcaq2knhrq Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20250114@154635.3100 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1416.00.1'
20250114@154635.3275 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.3295 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.3327 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.3343 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.3352 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154635.3370 oqvpcesir7kaacstbcaq2knhrq Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20250114@154635.3417 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.3436 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.3453 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786886062678686db53','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154635.3458 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.3474 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.3508 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786886062678686db53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6786889615678686da05' ,0,0 ,2,23.00,150000,?,?,?,?)
20250114@154635.3820 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.3854 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.3880 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.3923 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.3933 oqvpcesir7kaacstbcaq2knhrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154635.3948 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.3992 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.4003 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786837924678686db60','aut6786889615678686da05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154635.4008 oqvpcesir7kaacstbcaq2knhrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.4023 oqvpcesir7kaacstbcaq2knhrq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.4051 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786837924678686db60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786889615678686da05' ,0,0 ,2,23.00,160000,?,?,?)
20250114@154635.4360 oqvpcesir7kaacstbcaq2knhrq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786889615678686da05','2500354','wait',39,'adm09112754980.682000002')
20250114@154635.4454 oqvpcesir7kaacstbcaq2knhrq Query : use flama_phc
20250114@154635.4457 oqvpcesir7kaacstbcaq2knhrq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@154635.4486 oqvpcesir7kaacstbcaq2knhrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4597';
20250114@154635.4536 oqvpcesir7kaacstbcaq2knhrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4597';
20250114@154635.4619 oqvpcesir7kaacstbcaq2knhrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4597';
20250114@154635.4659 oqvpcesir7kaacstbcaq2knhrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4597';
20250114@154635.5414 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@154635.5425 okmbbvuvdpvhk8c33lmg3nio2b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@154635.5500 okmbbvuvdpvhk8c33lmg3nio2b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4598';
20250114@154635.5566 okmbbvuvdpvhk8c33lmg3nio2b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4598';
20250114@154635.5629 okmbbvuvdpvhk8c33lmg3nio2b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4598';
20250114@154635.5686 okmbbvuvdpvhk8c33lmg3nio2b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4598';
20250114@154635.5750 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.5753 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@154635.5817 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.5820 okmbbvuvdpvhk8c33lmg3nio2b Query : select no, estab,szadrsdesc from szadrs where u_coddest=3457
20250114@154635.5912 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20250114@154635.6103 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20250114@154635.6121 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.6124 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@154635.6156 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.6159 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 1 valor from td where td.ndoc = 39
20250114@154635.6187 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.6190 okmbbvuvdpvhk8c33lmg3nio2b 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')
20250114@154635.6218 okmbbvuvdpvhk8c33lmg3nio2b 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
20250114@154635.6252 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.6255 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20250114@154635.6285 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.6288 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@154635.6317 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.6320 okmbbvuvdpvhk8c33lmg3nio2b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@154635.6360 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.6364 okmbbvuvdpvhk8c33lmg3nio2b Query : select szadrsstamp valor from szadrs where szadrsdesc='representaciones sanjurjo, s.l.u.'
20250114@154635.6427 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.6430 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from td where ndoc = 39
20250114@154635.6442 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@154635.6456 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.6472 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154635.6491 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.6505 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154635.6533 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.6572 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154635.6585 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154635.6717 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154635.6730 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.6747 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154635.6763 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786844865678686dba0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@154635.6966 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.7013 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154635.7057 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@154635.7070 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@154635.7082 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@154635.7094 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@154635.7107 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@154635.7119 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@154635.7130 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786844865678686dba0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@154635.7448 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 fno valor from wsftdata order by fno desc
20250114@154635.7478 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.7494 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154635.7552 okmbbvuvdpvhk8c33lmg3nio2b Query : select 'normal' from dummy
20250114@154635.7567 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786844865678686dba0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2976,200500,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@154635.7911 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.7914 okmbbvuvdpvhk8c33lmg3nio2b Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20250114@154635.7938 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20250114@154635.8121 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.8141 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.8179 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.8195 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.8204 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154635.8217 okmbbvuvdpvhk8c33lmg3nio2b Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20250114@154635.8233 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.8251 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.8265 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786829112678686dbc9','aut6786844865678686dba0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154635.8271 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.8292 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.8322 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786829112678686dbc9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13.000 ,'aut6786844865678686dba0' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@154635.8683 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.8688 okmbbvuvdpvhk8c33lmg3nio2b Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20250114@154635.8709 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20250114@154635.8725 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.8742 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.8770 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.8788 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.8798 okmbbvuvdpvhk8c33lmg3nio2b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154635.8898 okmbbvuvdpvhk8c33lmg3nio2b Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20250114@154635.8912 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.8929 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154635.8943 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786828226678686dbd9','aut6786844865678686dba0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154635.8948 okmbbvuvdpvhk8c33lmg3nio2b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154635.8963 okmbbvuvdpvhk8c33lmg3nio2b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154635.9157 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786828226678686dbd9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6786844865678686dba0' ,0,0 ,2,23.00,20000,?,?,?,?)
20250114@154635.9457 okmbbvuvdpvhk8c33lmg3nio2b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786844865678686dba0','2500355','wait',39,'adm09112754980.682000002')
20250114@154635.9541 okmbbvuvdpvhk8c33lmg3nio2b Query : use flama_phc
20250114@154635.9544 okmbbvuvdpvhk8c33lmg3nio2b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@154635.9579 okmbbvuvdpvhk8c33lmg3nio2b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4598';
20250114@154635.9638 okmbbvuvdpvhk8c33lmg3nio2b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4598';
20250114@154635.9723 okmbbvuvdpvhk8c33lmg3nio2b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4598';
20250114@154635.9764 okmbbvuvdpvhk8c33lmg3nio2b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4598';
20250114@154636.3860 hpj5nmhae3semb3immrkabv1qn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@154636.3980 hpj5nmhae3semb3immrkabv1qn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@154636.5050 hpj5nmhae3semb3immrkabv1qn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4599';
20250114@154636.7400 hpj5nmhae3semb3immrkabv1qn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4599';
20250114@154636.8130 hpj5nmhae3semb3immrkabv1qn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4599';
20250114@154636.8530 hpj5nmhae3semb3immrkabv1qn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4599';
20250114@154636.9420 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.9570 hpj5nmhae3semb3immrkabv1qn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@154636.1023 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1026 hpj5nmhae3semb3immrkabv1qn Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20250114@154636.1072 hpj5nmhae3semb3immrkabv1qn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9006.00.1'
20250114@154636.1271 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1274 hpj5nmhae3semb3immrkabv1qn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@154636.1306 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1309 hpj5nmhae3semb3immrkabv1qn Query : select top 1 1 valor from td where td.ndoc = 39
20250114@154636.1358 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1362 hpj5nmhae3semb3immrkabv1qn 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')
20250114@154636.1405 hpj5nmhae3semb3immrkabv1qn 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
20250114@154636.1450 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1463 hpj5nmhae3semb3immrkabv1qn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250114@154636.1506 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1508 hpj5nmhae3semb3immrkabv1qn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@154636.1537 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1540 hpj5nmhae3semb3immrkabv1qn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@154636.1592 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1595 hpj5nmhae3semb3immrkabv1qn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20250114@154636.1638 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.1642 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from td where ndoc = 39
20250114@154636.1766 hpj5nmhae3semb3immrkabv1qn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@154636.1781 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.1803 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154636.2053 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.2069 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154636.2098 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.2112 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154636.2124 hpj5nmhae3semb3immrkabv1qn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154636.2262 hpj5nmhae3semb3immrkabv1qn Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154636.2274 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.2494 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154636.3086 hpj5nmhae3semb3immrkabv1qn Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786864232678686dc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@154636.3580 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.3647 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154636.3735 hpj5nmhae3semb3immrkabv1qn Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@154636.3748 hpj5nmhae3semb3immrkabv1qn Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@154636.3759 hpj5nmhae3semb3immrkabv1qn Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@154636.3770 hpj5nmhae3semb3immrkabv1qn Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@154636.3782 hpj5nmhae3semb3immrkabv1qn Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@154636.3793 hpj5nmhae3semb3immrkabv1qn Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@154636.3804 hpj5nmhae3semb3immrkabv1qn Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786864232678686dc33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@154636.4108 hpj5nmhae3semb3immrkabv1qn Query : select top 1 fno valor from wsftdata order by fno desc
20250114@154636.4139 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.4155 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154636.4177 hpj5nmhae3semb3immrkabv1qn Query : select 'normal' from dummy
20250114@154636.4192 hpj5nmhae3semb3immrkabv1qn Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786864232678686dc33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2977,100810,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@154636.4591 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.4594 hpj5nmhae3semb3immrkabv1qn Query : select st.usalote valor from st where st.ref = '328.9006.00.1'
20250114@154636.4624 hpj5nmhae3semb3immrkabv1qn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9006.00.1'
20250114@154636.4805 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.4820 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154636.4844 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.4858 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154636.4866 hpj5nmhae3semb3immrkabv1qn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154636.4902 hpj5nmhae3semb3immrkabv1qn Query : select sestamp valor from se where ref ='328.9006.00.1' and lote = 'r2300691200a'
20250114@154636.4921 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.4935 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154636.4965 hpj5nmhae3semb3immrkabv1qn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786842787678686dc78','aut6786864232678686dc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154636.4969 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.4984 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154636.5011 hpj5nmhae3semb3immrkabv1qn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786842787678686dc78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6786864232678686dc33' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@154636.5323 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.5343 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154636.5390 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.5405 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154636.5413 hpj5nmhae3semb3immrkabv1qn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154636.5426 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.5439 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154636.5451 hpj5nmhae3semb3immrkabv1qn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786882195678686dc84','aut6786864232678686dc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154636.5455 hpj5nmhae3semb3immrkabv1qn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.5470 hpj5nmhae3semb3immrkabv1qn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154636.5515 hpj5nmhae3semb3immrkabv1qn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786882195678686dc84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786864232678686dc33' ,0,0 ,2,23.00,20000,?,?,?)
20250114@154636.5817 hpj5nmhae3semb3immrkabv1qn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786864232678686dc33','2500356','wait',39,'adm09112754980.682000002')
20250114@154636.5884 hpj5nmhae3semb3immrkabv1qn Query : use flama_phc
20250114@154636.5887 hpj5nmhae3semb3immrkabv1qn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@154636.5921 hpj5nmhae3semb3immrkabv1qn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4599';
20250114@154636.5990 hpj5nmhae3semb3immrkabv1qn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4599';
20250114@154636.6045 hpj5nmhae3semb3immrkabv1qn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4599';
20250114@154636.6101 hpj5nmhae3semb3immrkabv1qn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4599';
20250114@154636.6680 59vbca6v0v3e4vvs0sinqgcocf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@154636.6693 59vbca6v0v3e4vvs0sinqgcocf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@154636.6787 59vbca6v0v3e4vvs0sinqgcocf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4600';
20250114@154636.6871 59vbca6v0v3e4vvs0sinqgcocf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4600';
20250114@154636.6944 59vbca6v0v3e4vvs0sinqgcocf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4600';
20250114@154636.6978 59vbca6v0v3e4vvs0sinqgcocf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4600';
20250114@154636.7059 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7062 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@154636.7123 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7126 59vbca6v0v3e4vvs0sinqgcocf Query : select no, estab,szadrsdesc from szadrs where u_coddest=2071
20250114@154636.7232 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20250114@154636.7466 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7470 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@154636.7504 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7507 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 1 valor from td where td.ndoc = 39
20250114@154636.7602 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7605 59vbca6v0v3e4vvs0sinqgcocf 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')
20250114@154636.7646 59vbca6v0v3e4vvs0sinqgcocf 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
20250114@154636.7684 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7687 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 ~inactivo valor from cl where no = '102331' and estab = 0 order by inactivo desc
20250114@154636.7836 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7839 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@154636.7872 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7876 59vbca6v0v3e4vvs0sinqgcocf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@154636.7914 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7916 59vbca6v0v3e4vvs0sinqgcocf Query : select szadrsstamp valor from szadrs where szadrsdesc='antonio diogo dos santos'
20250114@154636.7963 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154636.7966 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from td where ndoc = 39
20250114@154636.7978 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@154636.7992 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.8008 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154636.8027 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.8042 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154636.8070 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.8085 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154636.8113 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154636.8305 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154636.8317 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154636.8364 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154636.8381 59vbca6v0v3e4vvs0sinqgcocf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786803312678686dcc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@154637.1080 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.3790 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154637.4110 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@154637.4230 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@154637.4350 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@154637.4460 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@154637.4570 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@154637.4710 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@154637.4830 59vbca6v0v3e4vvs0sinqgcocf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786803312678686dcc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@154637.1277 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 fno valor from wsftdata order by fno desc
20250114@154637.1357 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.1388 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154637.1410 59vbca6v0v3e4vvs0sinqgcocf Query : select 'normal' from dummy
20250114@154637.1427 59vbca6v0v3e4vvs0sinqgcocf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786803312678686dcc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2978,102331,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@154637.1801 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154637.1804 59vbca6v0v3e4vvs0sinqgcocf Query : select st.usalote valor from st where st.ref = '323.367.09.00'
20250114@154637.1868 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.367.09.00'
20250114@154637.2051 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.2069 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.2099 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.2133 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.2143 59vbca6v0v3e4vvs0sinqgcocf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154637.2155 59vbca6v0v3e4vvs0sinqgcocf Query : select sestamp valor from se where ref ='323.367.09.00' and lote = 'r2400053200a'
20250114@154637.2169 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.2183 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.2195 59vbca6v0v3e4vvs0sinqgcocf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786875683678686dd34','aut6786803312678686dcc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154637.2199 59vbca6v0v3e4vvs0sinqgcocf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.2213 59vbca6v0v3e4vvs0sinqgcocf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.2267 59vbca6v0v3e4vvs0sinqgcocf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786875683678686dd34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6786803312678686dcc6' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@154637.2585 59vbca6v0v3e4vvs0sinqgcocf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786803312678686dcc6','2500357','wait',39,'adm09112754980.682000002')
20250114@154637.2677 59vbca6v0v3e4vvs0sinqgcocf Query : use flama_phc
20250114@154637.2681 59vbca6v0v3e4vvs0sinqgcocf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@154637.2711 59vbca6v0v3e4vvs0sinqgcocf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4600';
20250114@154637.2754 59vbca6v0v3e4vvs0sinqgcocf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4600';
20250114@154637.2829 59vbca6v0v3e4vvs0sinqgcocf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4600';
20250114@154637.2867 59vbca6v0v3e4vvs0sinqgcocf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4600';
20250114@154637.3454 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@154637.3466 9r8j2f4hpg8eqaiujgp91732h9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@154637.3562 9r8j2f4hpg8eqaiujgp91732h9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4601';
20250114@154637.3646 9r8j2f4hpg8eqaiujgp91732h9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4601';
20250114@154637.3832 9r8j2f4hpg8eqaiujgp91732h9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4601';
20250114@154637.3877 9r8j2f4hpg8eqaiujgp91732h9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4601';
20250114@154637.3938 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.3941 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@154637.4008 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4011 9r8j2f4hpg8eqaiujgp91732h9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=143
20250114@154637.4108 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20250114@154637.4293 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20250114@154637.4464 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4468 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@154637.4506 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4509 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 1 valor from td where td.ndoc = 39
20250114@154637.4540 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4543 9r8j2f4hpg8eqaiujgp91732h9 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')
20250114@154637.4572 9r8j2f4hpg8eqaiujgp91732h9 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
20250114@154637.4609 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4613 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 ~inactivo valor from cl where no = '101708' and estab = 0 order by inactivo desc
20250114@154637.4751 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4754 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@154637.4800 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4803 9r8j2f4hpg8eqaiujgp91732h9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@154637.4843 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4846 9r8j2f4hpg8eqaiujgp91732h9 Query : select szadrsstamp valor from szadrs where szadrsdesc='alvaro electrodomesticos, lda'
20250114@154637.4897 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.4899 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from td where ndoc = 39
20250114@154637.4912 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@154637.4926 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.4942 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154637.4962 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.4979 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154637.5009 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.5024 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154637.5037 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154637.5164 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154637.5178 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.5193 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154637.5208 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786838880678686dd7a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@154637.5404 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.5449 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154637.5482 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@154637.5495 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@154637.5507 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@154637.5518 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@154637.5530 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@154637.5542 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@154637.5553 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786838880678686dd7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@154637.5812 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 fno valor from wsftdata order by fno desc
20250114@154637.5845 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.5861 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154637.5883 9r8j2f4hpg8eqaiujgp91732h9 Query : select 'normal' from dummy
20250114@154637.5898 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786838880678686dd7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2979,101708,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@154637.6224 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.6227 9r8j2f4hpg8eqaiujgp91732h9 Query : select st.usalote valor from st where st.ref = '324.678.00.01'
20250114@154637.6249 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.678.00.01'
20250114@154637.6428 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.6444 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.6469 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.6506 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.6565 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154637.6611 9r8j2f4hpg8eqaiujgp91732h9 Query : select sestamp valor from se where ref ='324.678.00.01' and lote = 'r2400745200a'
20250114@154637.6647 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.6677 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.6689 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786831052678686dda2','aut6786838880678686dd7a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154637.6693 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.6709 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.6739 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786831052678686dda2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6786838880678686dd7a' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@154637.7047 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.7065 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.7093 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.7109 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.7129 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154637.7143 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.7158 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.7177 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786877905678686ddae','aut6786838880678686dd7a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154637.7182 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.7202 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.7255 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786877905678686ddae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786838880678686dd7a' ,0,0 ,2,23.00,20000,?,?,?)
20250114@154637.7545 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154637.7548 9r8j2f4hpg8eqaiujgp91732h9 Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20250114@154637.7620 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.675.00.01'
20250114@154637.7825 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.7842 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.7894 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.7910 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.7922 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154637.7935 9r8j2f4hpg8eqaiujgp91732h9 Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400684200a'
20250114@154637.7977 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.7992 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.8004 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786841793678686ddc2','aut6786838880678686dd7a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154637.8009 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.8024 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.8093 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786841793678686ddc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6786838880678686dd7a' ,0,0 ,2,23.00,40000,?,?,?,?)
20250114@154637.8724 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.8743 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154637.8770 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.8785 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.8795 9r8j2f4hpg8eqaiujgp91732h9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154637.8808 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.8822 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154637.8834 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786803483678686ddd7','aut6786838880678686dd7a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154637.8840 9r8j2f4hpg8eqaiujgp91732h9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154637.9721 9r8j2f4hpg8eqaiujgp91732h9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.9700 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786803483678686ddd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786838880678686dd7a' ,0,0 ,2,23.00,50000,?,?,?)
20250114@154638.1237 9r8j2f4hpg8eqaiujgp91732h9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786838880678686dd7a','2500358','wait',39,'adm09112754980.682000002')
20250114@154638.1473 9r8j2f4hpg8eqaiujgp91732h9 Query : use flama_phc
20250114@154638.1476 9r8j2f4hpg8eqaiujgp91732h9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@154638.1509 9r8j2f4hpg8eqaiujgp91732h9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4601';
20250114@154638.1554 9r8j2f4hpg8eqaiujgp91732h9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4601';
20250114@154638.1612 9r8j2f4hpg8eqaiujgp91732h9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4601';
20250114@154638.1652 9r8j2f4hpg8eqaiujgp91732h9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4601';
20250114@154638.2249 rqh2188jgbph4gfndni9ip8br1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@154638.2260 rqh2188jgbph4gfndni9ip8br1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@154638.2353 rqh2188jgbph4gfndni9ip8br1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4602';
20250114@154638.2422 rqh2188jgbph4gfndni9ip8br1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4602';
20250114@154638.2500 rqh2188jgbph4gfndni9ip8br1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4602';
20250114@154638.2535 rqh2188jgbph4gfndni9ip8br1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4602';
20250114@154638.2613 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.2616 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@154638.2701 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.2704 rqh2188jgbph4gfndni9ip8br1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20250114@154638.2800 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250114@154638.2993 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250114@154638.3015 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250114@154638.3041 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250114@154638.3062 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250114@154638.3081 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250114@154638.3102 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20250114@154638.3255 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20250114@154638.3293 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20250114@154638.3313 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20250114@154638.3479 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20250114@154638.3501 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20250114@154638.3521 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20250114@154638.3541 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20250114@154638.3702 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20250114@154638.3722 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20250114@154638.3742 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20250114@154638.3914 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20250114@154638.3935 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20250114@154638.3956 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20250114@154638.3983 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.3986 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@154638.4035 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.4038 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 1 valor from td where td.ndoc = 39
20250114@154638.4074 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.4077 rqh2188jgbph4gfndni9ip8br1 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')
20250114@154638.4106 rqh2188jgbph4gfndni9ip8br1 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
20250114@154638.4148 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.4150 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20250114@154638.4277 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.4280 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@154638.4328 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.4331 rqh2188jgbph4gfndni9ip8br1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@154638.4374 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.4377 rqh2188jgbph4gfndni9ip8br1 Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20250114@154638.4441 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.4444 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from td where ndoc = 39
20250114@154638.4459 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@154638.4472 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.4488 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154638.4507 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.4521 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154638.4549 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.4564 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154638.4576 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154638.4701 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@154638.4714 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.4730 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@154638.4745 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@154638.4937 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.4982 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@154638.5015 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@154638.5028 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@154638.5040 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@154638.5051 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@154638.5062 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@154638.5074 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@154638.5085 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786819624678686de6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@154638.5537 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 fno valor from wsftdata order by fno desc
20250114@154638.5638 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.5658 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@154638.5705 rqh2188jgbph4gfndni9ip8br1 Query : select 'normal' from dummy
20250114@154638.5722 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786819624678686de6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2980,199800,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@154638.6107 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.6110 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20250114@154638.6141 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20250114@154638.6304 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.6320 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.6348 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.6363 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.6371 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154638.6383 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400295200a'
20250114@154638.6403 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.6417 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.6430 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786853057678686de9c','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154638.6434 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.6448 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.6475 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786853057678686de9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@154638.6841 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.6857 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.6882 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.6897 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.6906 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154638.6918 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.6931 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.6971 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786881331678686dea8','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154638.6976 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.6992 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.7020 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786881331678686dea8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,20000,?,?,?)
20250114@154638.7410 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.7413 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20250114@154638.7440 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20250114@154638.7454 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.7471 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.7498 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.7513 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.7521 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154638.7534 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400295200a'
20250114@154638.7546 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.7561 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.7573 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786837031678686deb8','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154638.7577 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.7592 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.7619 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786837031678686deb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,40000,?,?,?,?)
20250114@154638.7953 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.7970 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.7997 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.8013 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.8021 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154638.8034 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.8057 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.8069 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786822429678686dec4','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154638.8075 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.8096 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.8125 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786822429678686dec4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,50000,?,?,?)
20250114@154638.8586 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.8589 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20250114@154638.8649 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20250114@154638.8714 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.8730 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.8757 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.8772 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.8780 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154638.8792 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400295200a'
20250114@154638.8860 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.8874 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.8887 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786840223678686ded8','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154638.8891 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.8906 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.8935 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786840223678686ded8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,70000,?,?,?,?)
20250114@154638.9317 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.9335 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.9388 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.9436 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.9444 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154638.9458 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.9492 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154638.9503 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786891098678686dee6','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154638.9508 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.9521 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154638.9548 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786891098678686dee6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,80000,?,?,?)
20250114@154638.9906 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154638.9937 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20250114@154638.9957 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20250114@154638.9970 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154638.9985 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.7500 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.8900 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.9700 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.1090 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400295200a'
20250114@154639.1210 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.1360 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.1480 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786837926678686df02','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.1520 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.1710 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.2080 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786837926678686df02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,100000,?,?,?,?)
20250114@154639.6230 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6400 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.7220 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7650 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.7740 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.7860 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.8030 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.8630 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786822205678686df13','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.8680 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.8820 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.9100 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786822205678686df13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,110000,?,?,?)
20250114@154639.1275 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.1278 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20250114@154639.1303 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20250114@154639.1317 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.1334 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.1360 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.1378 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.1391 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.1405 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400295200a'
20250114@154639.1418 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.1473 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.1662 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786853591678686df22','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.1667 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.1684 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.1715 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786853591678686df22',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,130000,?,?,?,?)
20250114@154639.2145 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.2163 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.2191 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.2207 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.2215 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.2227 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.2247 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.2258 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786856880678686df36','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.2263 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.2277 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.2314 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786856880678686df36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,140000,?,?,?)
20250114@154639.2725 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.2728 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20250114@154639.2776 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20250114@154639.2798 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.2818 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.2847 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.2868 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.2878 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.2897 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400295200a'
20250114@154639.2999 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.3168 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.3180 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786883129678686df49','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.3186 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.3202 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.3290 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786883129678686df49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,160000,?,?,?,?)
20250114@154639.3681 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.3703 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.3739 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.3755 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.3765 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.3778 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.3802 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.3814 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786838409678686df5c','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.3819 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.3834 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.3867 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786838409678686df5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,170000,?,?,?)
20250114@154639.4176 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.4179 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20250114@154639.4208 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20250114@154639.4356 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.4372 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.4397 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.4412 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.4420 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.4432 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2400330200a'
20250114@154639.4451 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.4466 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.4477 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786838986678686df6c','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.4481 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.4495 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.4521 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786838986678686df6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,190000,?,?,?,?)
20250114@154639.4798 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.4801 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20250114@154639.4820 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20250114@154639.4834 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.4851 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.4876 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.4891 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.4903 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.4917 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2400330200a'
20250114@154639.4933 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.4949 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.4961 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786844055678686df78','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.4966 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.4989 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.5017 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786844055678686df78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,200000,?,?,?,?)
20250114@154639.5320 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.5323 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20250114@154639.5351 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20250114@154639.5373 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.5389 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.5414 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.5429 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.5438 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.5450 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2400330200a'
20250114@154639.5464 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.5480 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.5492 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786861943678686df85','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.5497 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.5512 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.5545 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786861943678686df85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,210000,?,?,?,?)
20250114@154639.5826 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.5829 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20250114@154639.5877 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20250114@154639.6044 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6061 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.6086 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6100 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.6135 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.6147 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20250114@154639.6166 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6182 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.6193 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786847252678686df96','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.6197 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6211 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.6238 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786847252678686df96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',68.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,220000,?,?,?,?)
20250114@154639.6599 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.6603 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20250114@154639.6624 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20250114@154639.6638 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6684 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.6711 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6725 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.6734 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.6746 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20250114@154639.6759 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6781 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.6793 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786882889678686dfa5','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.6798 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.6812 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.6839 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786882889678686dfa5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',68.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,230000,?,?,?,?)
20250114@154639.7146 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.7149 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20250114@154639.7173 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20250114@154639.7190 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7211 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.7285 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7303 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.7312 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.7327 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20250114@154639.7341 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7356 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.7368 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786849616678686dfb3','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.7372 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7387 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.7421 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786849616678686dfb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,240000,?,?,?,?)
20250114@154639.7709 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.7713 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20250114@154639.7765 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20250114@154639.7853 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7873 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.7901 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7916 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.7925 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.7938 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20250114@154639.7951 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7966 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.7978 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786817358678686dfc2','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.7984 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.7999 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.8055 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786817358678686dfc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,250000,?,?,?,?)
20250114@154639.8470 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.8474 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20250114@154639.8497 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20250114@154639.8655 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.8673 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.8710 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.8726 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.8758 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154639.8771 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2301222200a'
20250114@154639.8796 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.8811 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154639.8823 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786867128678686dfd6','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154639.8827 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154639.8854 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154639.8905 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786867128678686dfd6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,260000,?,?,?,?)
20250114@154639.9780 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154639.9905 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20250114@154640.4760 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20250114@154640.4980 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.5140 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.5400 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.5540 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.5620 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154640.5750 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2301222200a'
20250114@154640.5880 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.6030 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.6230 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786817434678686e00e','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154640.6280 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.6440 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.6730 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786817434678686e00e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,270000,?,?,?,?)
20250114@154640.9660 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154640.9700 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20250114@154640.9900 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20250114@154640.1003 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.1019 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.1043 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.1057 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.1065 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154640.1076 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2301222200a'
20250114@154640.1088 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.1102 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.1114 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786852420678686e01a','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154640.1118 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.1133 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.1160 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786852420678686e01a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,280000,?,?,?,?)
20250114@154640.1528 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154640.1531 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20250114@154640.1553 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20250114@154640.1869 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.1888 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.1913 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.1927 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.1936 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154640.1948 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400293100a'
20250114@154640.1961 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.1976 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.1987 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786837874678686e02f','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154640.1992 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.2006 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.2058 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786837874678686e02f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',27.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,290000,?,?,?,?)
20250114@154640.2351 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154640.2354 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20250114@154640.2376 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20250114@154640.2390 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.2406 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.2446 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.2464 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.2474 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154640.2504 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400293100a'
20250114@154640.2518 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.2544 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.2558 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786877711678686e03d','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154640.2564 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.2581 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.2653 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786877711678686e03d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,300000,?,?,?,?)
20250114@154640.2970 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154640.2974 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20250114@154640.3006 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20250114@154640.3029 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.3049 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.3086 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.3102 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.3111 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154640.3123 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400293100a'
20250114@154640.3136 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.3152 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.3169 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786816168678686e04c','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154640.3174 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.3192 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.3236 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786816168678686e04c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',45.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,310000,?,?,?,?)
20250114@154640.3521 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154640.3527 rqh2188jgbph4gfndni9ip8br1 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20250114@154640.3550 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20250114@154640.3565 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.3582 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.3610 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.3627 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.3637 rqh2188jgbph4gfndni9ip8br1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@154640.3652 rqh2188jgbph4gfndni9ip8br1 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400293100a'
20250114@154640.3666 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.3682 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@154640.3702 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786819375678686e059','aut6786819624678686de6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@154640.3706 rqh2188jgbph4gfndni9ip8br1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@154640.3722 rqh2188jgbph4gfndni9ip8br1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@154640.3753 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786819375678686e059',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',45.000 ,'aut6786819624678686de6f' ,0,0 ,2,23.00,320000,?,?,?,?)
20250114@154640.4057 rqh2188jgbph4gfndni9ip8br1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786819624678686de6f','2500359','wait',39,'adm09112754980.682000002')
20250114@154640.4159 rqh2188jgbph4gfndni9ip8br1 Query : use flama_phc
20250114@154640.4163 rqh2188jgbph4gfndni9ip8br1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@154640.4199 rqh2188jgbph4gfndni9ip8br1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4602';
20250114@154640.4252 rqh2188jgbph4gfndni9ip8br1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4602';
20250114@154640.4320 rqh2188jgbph4gfndni9ip8br1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4602';
20250114@154640.4365 rqh2188jgbph4gfndni9ip8br1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4602';
20250114@161338.2170 mdmv55bmvk653qv05v0qer6nco Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@161338.2310 mdmv55bmvk653qv05v0qer6nco Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@161338.3110 mdmv55bmvk653qv05v0qer6nco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4603';
20250114@161338.3920 mdmv55bmvk653qv05v0qer6nco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4603';
20250114@161338.4790 mdmv55bmvk653qv05v0qer6nco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4603';
20250114@161338.5330 mdmv55bmvk653qv05v0qer6nco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4603';
20250114@161338.5950 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161338.5980 mdmv55bmvk653qv05v0qer6nco Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@161338.6680 mdmv55bmvk653qv05v0qer6nco Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5396.00.1'
20250114@161338.8060 mdmv55bmvk653qv05v0qer6nco Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2401041 and bi.ref ='324.5396.00.1' and bi.lordem =30000
20250114@161338.1438 mdmv55bmvk653qv05v0qer6nco Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24090646413,827000003 ' 
20250114@161338.1758 mdmv55bmvk653qv05v0qer6nco Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5365.00.1'
20250114@161338.1887 mdmv55bmvk653qv05v0qer6nco Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2401041 and bi.ref ='324.5365.00.1' and bi.lordem =20000
20250114@161338.2231 mdmv55bmvk653qv05v0qer6nco Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24090646413,413000002 ' 
20250114@161338.2553 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161338.2556 mdmv55bmvk653qv05v0qer6nco Query : select top 1 1 valor from ts where ts.ndos = 61
20250114@161338.2657 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161338.2660 mdmv55bmvk653qv05v0qer6nco 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')
20250114@161338.2688 mdmv55bmvk653qv05v0qer6nco Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20250114@161338.3836 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161338.3879 mdmv55bmvk653qv05v0qer6nco Query : select top 1 ~inactivo valor from fl where no = '202535' and estab = 00 order by inactivo desc
20250114@161338.4478 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161338.4481 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from ts where ndos = 61
20250114@161338.4612 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161338.4633 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20250114@161338.4646 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161338.4665 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20250114@161338.4676 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161338.4693 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20250114@161338.4704 mdmv55bmvk653qv05v0qer6nco Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20250114@161338.4863 mdmv55bmvk653qv05v0qer6nco Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250114@161338.4974 mdmv55bmvk653qv05v0qer6nco Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250114@161338.4994 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161338.5001 mdmv55bmvk653qv05v0qer6nco Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202535' and estab=00
20250114@161338.5101 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161338.5118 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20250114@161338.5133 mdmv55bmvk653qv05v0qer6nco Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678683565767868d3279',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250114@161338.5199 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161338.5217 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20250114@161338.5231 mdmv55bmvk653qv05v0qer6nco Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678683565767868d3279','--','bo',7.9163179916317991631 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250114@161338.5458 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161338.5475 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20250114@161338.5488 mdmv55bmvk653qv05v0qer6nco Query : insert into bo (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678683565767868d3279','guia r. fornecedor','2025-01-14',61,2500157,?,?,?,?,?,?,?,?,2025, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250114@161342.1247 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161342.1252 mdmv55bmvk653qv05v0qer6nco Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20250114@161342.1288 mdmv55bmvk653qv05v0qer6nco Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5396.00.1'
20250114@161342.1461 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161342.1531 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250114@161342.1549 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161342.1568 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250114@161342.1579 mdmv55bmvk653qv05v0qer6nco Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2401041300a'
20250114@161342.1593 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161342.1617 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250114@161342.1627 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161342.1643 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250114@161342.1665 mdmv55bmvk653qv05v0qer6nco Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678682857367868d3627',?,?,'20250114',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250114@161342.2934 mdmv55bmvk653qv05v0qer6nco Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@161342.2980 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161342.3004 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250114@161342.3021 mdmv55bmvk653qv05v0qer6nco Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut678689304867868d3648','aut678683565767868d3279',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut678683565767868d3279'
20250114@161342.3229 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161342.3251 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250114@161342.3271 mdmv55bmvk653qv05v0qer6nco Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut678689304867868d3648',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4260, 4260*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,8.6909090909091,8.6909090909091*200.48,8.6909090909091,8.6909090909091*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,8.6909090909091*4260,8.6909090909091*4260*200.48 ,9.272000,9.272000*200.48 ,9.272000,9.272000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,8.6909090909091,8.6909090909091*200.48,8.6909090909091*4260,8.6909090909091*4260*200.48,'cps24090646413,827000003 ',68.8,68.8*4260,68.8,68.8*4260,?,?,?,4 from bo bo where bo.bostamp = 'aut678683565767868d3279'
20250114@161352.9647 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161352.9654 mdmv55bmvk653qv05v0qer6nco Query : select st.usalote valor from st where st.ref = '324.5365.00.1'
20250114@161352.9735 mdmv55bmvk653qv05v0qer6nco Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5365.00.1'
20250114@161352.9905 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161352.9924 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250114@161352.9937 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161352.9958 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250114@161352.9968 mdmv55bmvk653qv05v0qer6nco Query : select sestamp valor from se where ref ='324.5365.00.1' and lote = 'r2401041200a'
20250114@161352.9985 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161353.3000 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250114@161353.1400 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161353.3200 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250114@161353.5800 mdmv55bmvk653qv05v0qer6nco Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678685690367868d4100',?,?,'20250114',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250114@161353.1210 mdmv55bmvk653qv05v0qer6nco Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@161353.1370 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161353.1540 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250114@161353.1670 mdmv55bmvk653qv05v0qer6nco Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut678684458367868d4103','aut678683565767868d3279',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut678683565767868d3279'
20250114@161353.3450 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@161353.3700 mdmv55bmvk653qv05v0qer6nco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250114@161353.3890 mdmv55bmvk653qv05v0qer6nco Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut678684458367868d4103',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4260, 4260*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,7.17,7.17*200.48,7.17,7.17*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,7.17*4260,7.17*4260*200.48 ,7.650000,7.650000*200.48 ,7.650000,7.650000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,7.17,7.17*200.48,7.17*4260,7.17*4260*200.48,'cps24090646413,413000002 ',56.76,56.76*4260,56.76,56.76*4260,?,?,?,4 from bo bo where bo.bostamp = 'aut678683565767868d3279'
20250114@161353.1622 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161353.1627 mdmv55bmvk653qv05v0qer6nco Query : declare @bostamp varchar(25) = 'aut678683565767868d3279' ,@bistamp varchar(25) = '' update bi set tecoval = qtt * ecoval ,etecoval = qtt * eecoval ,tecoval2 = qtt * ecoval2 ,etecoval2 = qtt * eecoval2 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end -- se tiver classificação e não for normal, não calcula nada update bi set ttdeb = 0 ,ettdeb = 0 ,ttmoeda = 0 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and bi.classifc <> '' and bi.classifc <> 'normal' -- no caso normal com moeda euro if exists ( select 1 from bo cross apply ( select valor moeda from para1 where descricao = 'ge_pteoueuro' ) par where bo.bostamp = @bostamp and bo.moeda = par.moeda ) begin -- sem ecovalores update bi set ettdeb = round(bi.qtt * ((bi.edebito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttdeb = round(bi.qtt * ((bi.debito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 1 -- com ecovalores update bi set ettdeb = round(bi.qtt * ( ( bi.edebito + ( iif(p.st_econotdesc = 1, - bi.eecoval2, bi.eecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.eecoval + bi.eecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttdeb = round(bi.qtt * ( ( bi.debito + ( iif(p.st_econotdesc = 1, - bi.ecoval2, bi.ecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.ecoval + bi.ecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp left join st on bi.ref = st.ref left join taxasiva tiva on bi.tabiva = tiva.codigo cross apply ( select max(valor) st_econotdesc from ( select case when valor = 's' then 1 else 0 end valor from para1 where descricao = 'st_econotdesc' union all select 0 ) a ) p where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 0 --acrescenta os descontos em valor, caso existam: update bi set ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 2) ,ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ttmoeda = 0 from bi where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end else begin update bi set ttmoeda = round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2) ,ettdeb = case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ,edebito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end ,debito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end * 200.482 from bi inner join bo2 on bi.bostamp = bo2.bo2stamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) update bi set ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 0) ,debito = round(bi.debito - (bi.qtt * bi.valdesc), 2) ,edebito = round(bi.edebito - (bi.qtt * bi.evaldesc), 2) where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end 
20250114@161421.1946 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161421.1973 mdmv55bmvk653qv05v0qer6nco Query : select 1 valor from bo where bo.bostamp = 'aut678683565767868d3279'
20250114@161421.2258 mdmv55bmvk653qv05v0qer6nco Query : declare @errno int ,@errmsg varchar(255) ,@prod bit ,@nrdec numeric(10, 0) ,@totaldeb numeric(18, 5) ,@etotaldeb numeric(19, 6) ,@total numeric(18, 5) ,@etotal numeric(19, 6) ,@custo numeric(18, 5) ,@ecusto numeric(19, 6) ,@bo_1iliq numeric(19, 6) ,@bo_2iliq numeric(19, 6) ,@base1 numeric(19, 6) ,@base2 numeric(19, 6) ,@moetotal numeric(13, 3) ,@smoe1 numeric(13, 3) ,@smoe2 numeric(13, 3) ,@smoe3 numeric(13, 3) ,@smoe4 numeric(13, 3) ,@bo11_bins numeric(18, 5) ,@bo21_bins numeric(18, 5) ,@bo31_bins numeric(18, 5) ,@bo41_bins numeric(18, 5) ,@bo51_bins numeric(18, 5) ,@bo61_bins numeric(18, 5) ,@bo71_bins numeric(18, 5) ,@bo81_bins numeric(18, 5) ,@bo91_bins numeric(18, 5) ,@bo12_bins numeric(18, 5) ,@bo22_bins numeric(18, 5) ,@bo32_bins numeric(18, 5) ,@bo42_bins numeric(18, 5) ,@bo52_bins numeric(18, 5) ,@bo62_bins numeric(18, 5) ,@bo72_bins numeric(18, 5) ,@bo82_bins numeric(18, 5) ,@bo92_bins numeric(18, 5) ,@ebo11_bins numeric(19, 6) ,@ebo21_bins numeric(19, 6) ,@ebo31_bins numeric(19, 6) ,@ebo41_bins numeric(19, 6) ,@ebo51_bins numeric(19, 6) ,@ebo61_bins numeric(19, 6) ,@ebo71_bins numeric(18, 5) ,@ebo81_bins numeric(18, 5) ,@ebo91_bins numeric(18, 5) ,@ebo12_bins numeric(19, 6) ,@ebo22_bins numeric(19, 6) ,@ebo32_bins numeric(19, 6) ,@ebo42_bins numeric(19, 6) ,@ebo52_bins numeric(19, 6) ,@ebo62_bins numeric(19, 6) ,@ebo72_bins numeric(18, 5) ,@ebo82_bins numeric(18, 5) ,@ebo92_bins numeric(18, 5) ,@bo11_iva numeric(18, 5) ,@bo21_iva numeric(18, 5) ,@bo31_iva numeric(18, 5) ,@bo41_iva numeric(18, 5) ,@bo51_iva numeric(18, 5) ,@bo61_iva numeric(18, 5) ,@bo71_iva numeric(18, 5) ,@bo81_iva numeric(18, 5) ,@bo91_iva numeric(18, 5) ,@bo12_iva numeric(18, 5) ,@bo22_iva numeric(18, 5) ,@bo32_iva numeric(18, 5) ,@bo42_iva numeric(18, 5) ,@bo52_iva numeric(18, 5) ,@bo62_iva numeric(18, 5) ,@bo72_iva numeric(18, 5) ,@bo82_iva numeric(18, 5) ,@bo92_iva numeric(18, 5) ,@ebo11_iva numeric(19, 6) ,@ebo21_iva numeric(19, 6) ,@ebo31_iva numeric(19, 6) ,@ebo41_iva numeric(19, 6) ,@ebo51_iva numeric(19, 6) ,@ebo61_iva numeric(19, 6) ,@ebo71_iva numeric(18, 5) ,@ebo81_iva numeric(18, 5) ,@ebo91_iva numeric(18, 5) ,@ebo12_iva numeric(19, 6) ,@ebo22_iva numeric(19, 6) ,@ebo32_iva numeric(19, 6) ,@ebo42_iva numeric(19, 6) ,@ebo52_iva numeric(19, 6) ,@ebo62_iva numeric(19, 6) ,@ebo72_iva numeric(18, 5) ,@ebo82_iva numeric(18, 5) ,@ebo92_iva numeric(18, 5) ,@esdeb1 numeric(19, 6) ,@esdeb2 numeric(19, 6) ,@esdeb3 numeric(19, 6) ,@esdeb4 numeric(19, 6) ,@sdeb1 numeric(18, 5) ,@sdeb2 numeric(18, 5) ,@sdeb3 numeric(18, 5) ,@sdeb4 numeric(18, 5) ,@estot1 numeric(19, 6) ,@estot2 numeric(19, 6) ,@estot3 numeric(19, 6) ,@estot4 numeric(19, 6) ,@stot1 numeric(18, 5) ,@stot2 numeric(18, 5) ,@stot3 numeric(18, 5) ,@stot4 numeric(18, 5) ,@ebo_1tvall numeric(19, 6) ,@ebo_2tvall numeric(19, 6) ,@bo_1tvall numeric(18, 5) ,@bo_2tvall numeric(18, 5) ,@ebo_totp1 numeric(19, 6) ,@ebo_totp2 numeric(19, 6) ,@bo_totp1 numeric(18, 5) ,@bo_totp2 numeric(18, 5) ,@sqtt11 numeric(13, 3) ,@sqtt21 numeric(13, 3) ,@sqtt12 numeric(13, 3) ,@sqtt22 numeric(13, 3) ,@sqtt13 numeric(13, 3) ,@sqtt23 numeric(13, 3) ,@sqtt14 numeric(13, 3) ,@sqtt24 numeric(13, 3) ,@userinis varchar (30) ,@mybostamp char(25) = 'aut678683565767868d3279' declare @totaisiva table ( bostamp varchar (25), codigo numeric(1), taxa numeric (5,2), ebaseinc numeric (19,6), baseinc numeric (18,5), evalor numeric (19,6), valor numeric (18,5) ) set @prod = ( select ts.producao from bo(nolock) inner join ts(nolock) on bo.ndos = ts.ndos and bo.bostamp = @mybostamp ) set @nrdec = ( select convert(numeric(10, 0), valor) from para1(nolock) where descricao = 'de_euro' ) --set @prod = 0 --set @nrdec = 2 select @ecusto = sum(bi.epcusto * bi.qtt) ,@custo = sum(bi.pcusto * bi.qtt) ,@bo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo_1iliq = round(sum(bi.qtt * bi.epu), @nrdec) ,@bo_2iliq = round(sum(bi.ettdeb), @nrdec) ,@bo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else bi.ettdeb - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@esdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@sdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@smoe1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@total = @stot1 + @stot2 + @stot3 + @stot4 ,@etotal = @estot1 + @estot2 + @estot3 + @estot4 ,@totaldeb = @sdeb1 + @sdeb2 + @sdeb3 + @sdeb4 ,@etotaldeb = @esdeb1 + @esdeb2 + @esdeb3 + @esdeb4 ,@moetotal = @smoe1 + @smoe2 + @smoe3 + @smoe4 ,@ebo_1tvall = @ebo11_bins + @ebo21_bins + @ebo31_bins + @ebo41_bins + @ebo51_bins + @ebo61_bins + @ebo71_bins + @ebo81_bins + @ebo91_bins ,@ebo_2tvall = @ebo12_bins + @ebo22_bins + @ebo32_bins + @ebo42_bins + @ebo52_bins + @ebo62_bins + @ebo72_bins + @ebo82_bins + @ebo92_bins ,@bo_1tvall = @bo11_bins + @bo21_bins + @bo31_bins + @bo41_bins + @bo51_bins + @bo61_bins + @bo71_bins + @bo81_bins + @bo91_bins ,@bo_2tvall = @bo12_bins + @bo22_bins + @bo32_bins + @bo42_bins + @bo52_bins + @bo62_bins + @bo72_bins + @bo82_bins + @bo92_bins ,@ebo_totp1 = sum(case when bi.ivaincl = 0 then (bi.epu * bi.qtt) else round((bi.epu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@ebo_totp2 = sum(case when bi.ivaincl = 0 then (bi.edebito * bi.qtt) else round((bi.edebito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp1 = sum(case when bi.ivaincl = 0 then (bi.pu * bi.qtt) else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp2 = sum(case when bi.ivaincl = 0 then (bi.debito * bi.qtt) else round((bi.debito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@sqtt11 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt21 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt12 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt22 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt13 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt23 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt14 = sum(case when bi.stipo = 4 then bi.qtt else 0 end) ,@sqtt24 = sum(case when bi.stipo = 5 then bi.qtt else 0 end) from bi(nolock) where bi.bostamp = @mybostamp and bi.producao = case when @prod = 1 then 1 else bi.producao end and bi.composto = 0 and bi.qtt <> 0 update bo set bo.totaldeb = isnull(@totaldeb, 0) ,bo.total = isnull(@total, 0) ,bo.etotaldeb = isnull(@etotaldeb, 0) ,bo.moetotal = isnull(@moetotal, 0) ,bo.etotal = isnull(@etotal, 0) ,bo.ecusto = isnull(@ecusto, 0) ,bo.custo = isnull(@custo, 0) ,bo.bo11_bins = isnull(@bo11_bins, 0) ,bo.bo12_bins = isnull(@bo12_bins, 0) ,bo.bo21_bins = isnull(@bo21_bins, 0) ,bo.bo22_bins = isnull(@bo22_bins, 0) ,bo.bo31_bins = isnull(@bo31_bins, 0) ,bo.bo32_bins = isnull(@bo32_bins, 0) ,bo.bo41_bins = isnull(@bo41_bins, 0) ,bo.bo42_bins = isnull(@bo42_bins, 0) ,bo.bo51_bins = isnull(@bo51_bins, 0) ,bo.bo52_bins = isnull(@bo52_bins, 0) ,bo.bo61_bins = isnull(@bo61_bins, 0) ,bo.bo62_bins = isnull(@bo62_bins, 0) ,bo.ebo11_bins = isnull(@ebo11_bins, 0) ,bo.ebo12_bins = isnull(@ebo12_bins, 0) ,bo.ebo21_bins = isnull(@ebo21_bins, 0) ,bo.ebo22_bins = isnull(@ebo22_bins, 0) ,bo.ebo31_bins = isnull(@ebo31_bins, 0) ,bo.ebo32_bins = isnull(@ebo32_bins, 0) ,bo.ebo41_bins = isnull(@ebo41_bins, 0) ,bo.ebo42_bins = isnull(@ebo42_bins, 0) ,bo.ebo51_bins = isnull(@ebo51_bins, 0) ,bo.ebo52_bins = isnull(@ebo52_bins, 0) ,bo.ebo61_bins = isnull(@ebo61_bins, 0) ,bo.ebo62_bins = isnull(@ebo62_bins, 0) ,bo.bo11_iva = isnull(@bo11_iva, 0) ,bo.bo12_iva = isnull(@bo12_iva, 0) ,bo.bo21_iva = isnull(@bo21_iva, 0) ,bo.bo22_iva = isnull(@bo22_iva, 0) ,bo.bo31_iva = isnull(@bo31_iva, 0) ,bo.bo32_iva = isnull(@bo32_iva, 0) ,bo.bo41_iva = isnull(@bo41_iva, 0) ,bo.bo42_iva = isnull(@bo42_iva, 0) ,bo.bo51_iva = isnull(@bo51_iva, 0) ,bo.bo52_iva = isnull(@bo52_iva, 0) ,bo.bo61_iva = isnull(@bo61_iva, 0) ,bo.bo62_iva = isnull(@bo62_iva, 0) ,bo.ebo11_iva = isnull(@ebo11_iva, 0) ,bo.ebo12_iva = isnull(@ebo12_iva, 0) ,bo.ebo21_iva = isnull(@ebo21_iva, 0) ,bo.ebo22_iva = isnull(@ebo22_iva, 0) ,bo.ebo31_iva = isnull(@ebo31_iva, 0) ,bo.ebo32_iva = isnull(@ebo32_iva, 0) ,bo.ebo41_iva = isnull(@ebo41_iva, 0) ,bo.ebo42_iva = isnull(@ebo42_iva, 0) ,bo.ebo51_iva = isnull(@ebo51_iva, 0) ,bo.ebo52_iva = isnull(@ebo52_iva, 0) ,bo.ebo61_iva = isnull(@ebo61_iva, 0) ,bo.ebo62_iva = isnull(@ebo62_iva, 0) ,bo.esdeb1 = isnull(@esdeb1, 0) ,bo.esdeb2 = isnull(@esdeb2, 0) ,bo.esdeb3 = isnull(@esdeb3, 0) ,bo.esdeb4 = isnull(@esdeb4, 0) ,bo.sdeb1 = isnull(@sdeb1, 0) ,bo.sdeb2 = isnull(@sdeb2, 0) ,bo.sdeb3 = isnull(@sdeb3, 0) ,bo.sdeb4 = isnull(@sdeb4, 0) ,bo.smoe1 = isnull(@smoe1, 0) ,bo.smoe2 = isnull(@smoe2, 0) ,bo.smoe3 = isnull(@smoe3, 0) ,bo.smoe4 = isnull(@smoe4, 0) ,bo.estot1 = isnull(@estot1, 0) ,bo.estot2 = isnull(@estot2, 0) ,bo.estot3 = isnull(@estot3, 0) ,bo.estot4 = isnull(@estot4, 0) ,bo.stot1 = isnull(@stot1, 0) ,bo.stot2 = isnull(@stot2, 0) ,bo.stot3 = isnull(@stot3, 0) ,bo.stot4 = isnull(@stot4, 0) ,bo.ebo_1tvall = isnull(@ebo_1tvall, 0) ,bo.ebo_2tvall = isnull(@ebo_2tvall, 0) ,bo.bo_1tvall = isnull(@bo_1tvall, 0) ,bo.bo_2tvall = isnull(@bo_2tvall, 0) ,bo.ebo_totp1 = isnull(@ebo_totp1, 0) ,bo.ebo_totp2 = isnull(@ebo_totp2, 0) ,bo.bo_totp1 = isnull(@bo_totp1, 0) ,bo.bo_totp2 = isnull(@bo_totp2, 0) ,bo.sqtt11 = isnull(@sqtt11, 0) ,bo.sqtt21 = isnull(@sqtt21, 0) ,bo.sqtt12 = isnull(@sqtt12, 0) ,bo.sqtt22 = isnull(@sqtt22, 0) ,bo.sqtt13 = isnull(@sqtt13, 0) ,bo.sqtt23 = isnull(@sqtt23, 0) ,bo.sqtt14 = isnull(@sqtt14, 0) ,bo.sqtt24 = isnull(@sqtt24, 0) where bostamp = @mybostamp update bo2 set bo2.bo71_bins = isnull(@bo71_bins, 0) ,bo2.bo72_bins = isnull(@bo72_bins, 0) ,bo2.bo81_bins = isnull(@bo81_bins, 0) ,bo2.bo82_bins = isnull(@bo82_bins, 0) ,bo2.bo91_bins = isnull(@bo91_bins, 0) ,bo2.bo92_bins = isnull(@bo92_bins, 0) ,bo2.ebo71_bins = isnull(@ebo71_bins, 0) ,bo2.ebo72_bins = isnull(@ebo72_bins, 0) ,bo2.ebo81_bins = isnull(@ebo81_bins, 0) ,bo2.ebo82_bins = isnull(@ebo82_bins, 0) ,bo2.ebo91_bins = isnull(@ebo91_bins, 0) ,bo2.ebo92_bins = isnull(@ebo92_bins, 0) ,bo2.bo71_iva = isnull(@bo71_iva, 0) ,bo2.bo72_iva = isnull(@bo72_iva, 0) ,bo2.bo81_iva = isnull(@bo81_iva, 0) ,bo2.bo82_iva = isnull(@bo82_iva, 0) ,bo2.bo91_iva = isnull(@bo91_iva, 0) ,bo2.bo92_iva = isnull(@bo92_iva, 0) ,bo2.ebo71_iva = isnull(@ebo71_iva, 0) ,bo2.ebo72_iva = isnull(@ebo72_iva, 0) ,bo2.ebo81_iva = isnull(@ebo81_iva, 0) ,bo2.ebo82_iva = isnull(@ebo82_iva, 0) ,bo2.ebo91_iva = isnull(@ebo91_iva, 0) ,bo2.ebo92_iva = isnull(@ebo92_iva, 0) ,bo2.etotalciva = isnull(@etotaldeb, 0) + isnull(@ebo12_iva, 0) +isnull(@ebo22_iva, 0) +isnull(@ebo32_iva, 0) +isnull(@ebo42_iva, 0) +isnull(@ebo52_iva, 0) +isnull(@ebo62_iva, 0) +isnull(@ebo72_iva, 0) +isnull(@ebo82_iva, 0) +isnull(@ebo92_iva, 0) --,bo2.mtotalciva =isnull(@moetotal, 0) where bo2stamp = @mybostamp -- trata os bot select @userinis = usrinis from bo where bo.bostamp=@mybostamp insert into @totaisiva ( bostamp, codigo, taxa, ebaseinc, baseinc, evalor, valor ) select @mybostamp,codigo,taxa ,case when (@ebo11_bins <>0) then @ebo11_bins else @ebo12_bins end ,case when (@ebo11_bins <>0) then @bo11_bins else @bo12_bins end ,case when (@ebo11_bins <>0) then @ebo11_iva else @ebo12_iva end ,case when (@ebo11_bins <>0) then @bo11_iva else @bo12_iva end from taxasiva where codigo = 1 union all select @mybostamp,codigo,taxa ,case when (@ebo21_bins <>0) then @ebo21_bins else @ebo22_bins end ,case when (@ebo21_bins <>0) then @bo21_bins else @bo22_bins end ,case when (@ebo21_bins <>0) then @ebo21_iva else @ebo22_iva end ,case when (@ebo21_bins <>0) then @bo21_iva else @bo22_iva end from taxasiva where codigo = 2 union all select @mybostamp,codigo,taxa ,case when (@ebo31_bins <>0) then @ebo31_bins else @ebo32_bins end ,case when (@ebo31_bins <>0) then @bo31_bins else @bo32_bins end ,case when (@ebo31_bins <>0) then @ebo31_iva else @ebo32_iva end ,case when (@ebo31_bins <>0) then @bo31_iva else @bo32_iva end from taxasiva where codigo = 3 union all select @mybostamp,codigo,taxa ,case when (@ebo41_bins <>0) then @ebo41_bins else @ebo42_bins end ,case when (@ebo41_bins <>0) then @bo41_bins else @bo42_bins end ,case when (@ebo41_bins <>0) then @ebo41_iva else @ebo42_iva end ,case when (@ebo41_bins <>0) then @bo41_iva else @bo42_iva end from taxasiva where codigo = 4 union all select @mybostamp,codigo,taxa ,case when (@ebo51_bins <>0) then @ebo51_bins else @ebo52_bins end ,case when (@ebo51_bins <>0) then @bo51_bins else @bo52_bins end ,case when (@ebo51_bins <>0) then @ebo51_iva else @ebo52_iva end ,case when (@ebo51_bins <>0) then @bo51_iva else @bo52_iva end from taxasiva where codigo = 5 union all select @mybostamp,codigo,taxa ,case when (@ebo61_bins <>0) then @ebo61_bins else @ebo62_bins end ,case when (@ebo61_bins <>0) then @bo61_bins else @bo62_bins end ,case when (@ebo61_bins <>0) then @ebo61_iva else @ebo62_iva end ,case when (@ebo61_bins <>0) then @bo61_iva else @bo62_iva end from taxasiva where codigo = 6 union all select @mybostamp,codigo,taxa ,case when (@ebo71_bins <>0) then @ebo71_bins else @ebo72_bins end ,case when (@ebo71_bins <>0) then @bo71_bins else @bo72_bins end ,case when (@ebo71_bins <>0) then @ebo71_iva else @ebo72_iva end ,case when (@ebo71_bins <>0) then @bo71_iva else @bo72_iva end from taxasiva where codigo = 7 union all select @mybostamp,codigo,taxa ,case when (@ebo81_bins <>0) then @ebo81_bins else @ebo82_bins end ,case when (@ebo81_bins <>0) then @bo81_bins else @bo82_bins end ,case when (@ebo81_bins <>0) then @ebo81_iva else @ebo82_iva end ,case when (@ebo81_bins <>0) then @bo81_iva else @bo82_iva end from taxasiva where codigo = 8 union all select @mybostamp,codigo,taxa ,case when (@ebo91_bins <>0) then @ebo91_bins else @ebo92_bins end ,case when (@ebo91_bins <>0) then @bo91_bins else @bo92_bins end ,case when (@ebo91_bins <>0) then @ebo91_iva else @ebo92_iva end ,case when (@ebo91_bins <>0) then @bo91_iva else @bo92_iva end from taxasiva where codigo = 9 update bot set ebaseinc = totiva.ebaseinc, baseinc = totiva.baseinc, evalor = totiva.evalor, valor = totiva.valor, usrinis = @userinis, usrdata = convert (date,getdate()), usrhora = convert (time,getdate()) from @totaisiva totiva inner join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo insert into bot ( botstamp ,bostamp ,codigo ,taxa ,ebaseinc ,baseinc ,evalor ,valor ,ousrinis ,ousrdata ,ousrhora ,usrinis ,usrdata ,usrhora ) select ( left(@userinis,3) + 'tt' + left(newid(),5) + right(newid(),5) + left(newid(),5) + right(newid(),5)) stamp ,@mybostamp stampbo ,totiva.codigo ,totiva.taxa ,totiva.ebaseinc ,totiva.baseinc ,totiva.evalor ,totiva.valor ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) from @totaisiva totiva left join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo where bot.botstamp is null -- atualiza os campo bi.series e bi.series2, caso tenha equipamentos update bi set series = s1, series2=s2 from bi inner join ( select distinct bistamp,ser.s1, ser.s2 from boma cross apply (select stuff ( ( select ',' + rtrim(serie) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s1 , stuff ( ( select ',' + rtrim(serie2) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s2 ) ser where boma.bostamp = @mybostamp ) myboma on bi.bistamp = myboma.bistamp where bi.bostamp = @mybostamp 
20250114@161424.4366 mdmv55bmvk653qv05v0qer6nco Query : use flama_phc
20250114@161424.4370 mdmv55bmvk653qv05v0qer6nco Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@161424.4510 mdmv55bmvk653qv05v0qer6nco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4603';
20250114@161424.4585 mdmv55bmvk653qv05v0qer6nco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4603';
20250114@161909.1268 46vbhd1ucr9af623459sgjjdci Query : use flama_phc
20250114@161909.1273 46vbhd1ucr9af623459sgjjdci Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250114@161909.1436 46vbhd1ucr9af623459sgjjdci Query : use flama_phc
20250114@161909.1440 46vbhd1ucr9af623459sgjjdci Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@163609.5192 cuq31ovti026ijdom165ss4832 Query : use flama_phc
20250114@163609.5198 cuq31ovti026ijdom165ss4832 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250114@163609.5302 cuq31ovti026ijdom165ss4832 Query : use flama_phc
20250114@163609.5306 cuq31ovti026ijdom165ss4832 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@171909.8863 apo00180c90tl895v7av8o2b68 Query : use flama_phc
20250114@171909.8869 apo00180c90tl895v7av8o2b68 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250114@171909.8970 apo00180c90tl895v7av8o2b68 Query : use flama_phc
20250114@171909.8973 apo00180c90tl895v7av8o2b68 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@173609.5302 i1mv2ur3and8oupatru1b4atmv Query : use flama_phc
20250114@173609.5306 i1mv2ur3and8oupatru1b4atmv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250114@173609.5391 i1mv2ur3and8oupatru1b4atmv Query : use flama_phc
20250114@173609.5394 i1mv2ur3and8oupatru1b4atmv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@181908.6332 899bn94ghlvu0dvqo8t1jouulp Query : use flama_phc
20250114@181908.6336 899bn94ghlvu0dvqo8t1jouulp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250114@181908.6423 899bn94ghlvu0dvqo8t1jouulp Query : use flama_phc
20250114@181908.6426 899bn94ghlvu0dvqo8t1jouulp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@182307.6857 62g663479gcp9ooktbh8aiibp3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@182307.6892 62g663479gcp9ooktbh8aiibp3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@182307.8344 62g663479gcp9ooktbh8aiibp3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4604';
20250114@182307.8421 62g663479gcp9ooktbh8aiibp3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4604';
20250114@182307.8501 62g663479gcp9ooktbh8aiibp3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4604';
20250114@182307.8815 62g663479gcp9ooktbh8aiibp3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4604';
20250114@182307.9046 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182307.9053 62g663479gcp9ooktbh8aiibp3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@182307.9165 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182307.9169 62g663479gcp9ooktbh8aiibp3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=864
20250114@182307.9265 62g663479gcp9ooktbh8aiibp3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20250114@182307.9436 62g663479gcp9ooktbh8aiibp3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250114@182307.9634 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182307.9638 62g663479gcp9ooktbh8aiibp3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@182307.9856 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182307.9860 62g663479gcp9ooktbh8aiibp3 Query : select top 1 1 valor from td where td.ndoc = 39
20250114@182307.9969 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182307.9972 62g663479gcp9ooktbh8aiibp3 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')
20250114@182308.5300 62g663479gcp9ooktbh8aiibp3 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
20250114@182308.1980 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182308.2020 62g663479gcp9ooktbh8aiibp3 Query : select top 1 ~inactivo valor from cl where no = '100923' and estab = 0 order by inactivo desc
20250114@182308.3330 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182308.3370 62g663479gcp9ooktbh8aiibp3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@182308.4390 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182308.4420 62g663479gcp9ooktbh8aiibp3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@182308.4910 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182308.4950 62g663479gcp9ooktbh8aiibp3 Query : select szadrsstamp valor from szadrs where szadrsdesc='jose manuel gama neves antunes'
20250114@182308.5480 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182308.5520 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from td where ndoc = 39
20250114@182308.6220 62g663479gcp9ooktbh8aiibp3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@182308.6820 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.1222 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182308.1251 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.1270 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182308.1309 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.1326 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182308.1343 62g663479gcp9ooktbh8aiibp3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182308.1642 62g663479gcp9ooktbh8aiibp3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182308.1755 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.1773 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182308.1797 62g663479gcp9ooktbh8aiibp3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786a735186786ab8c20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@182308.2062 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.2081 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182308.2124 62g663479gcp9ooktbh8aiibp3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@182308.2226 62g663479gcp9ooktbh8aiibp3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@182308.2301 62g663479gcp9ooktbh8aiibp3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@182308.2372 62g663479gcp9ooktbh8aiibp3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@182308.2443 62g663479gcp9ooktbh8aiibp3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@182308.2516 62g663479gcp9ooktbh8aiibp3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@182308.2588 62g663479gcp9ooktbh8aiibp3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786a735186786ab8c20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@182308.3385 62g663479gcp9ooktbh8aiibp3 Query : select top 1 fno valor from wsftdata order by fno desc
20250114@182308.3507 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.3597 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182308.3655 62g663479gcp9ooktbh8aiibp3 Query : select 'normal' from dummy
20250114@182308.3709 62g663479gcp9ooktbh8aiibp3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786a735186786ab8c20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2981,100923,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@182308.4164 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182308.4168 62g663479gcp9ooktbh8aiibp3 Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20250114@182308.4196 62g663479gcp9ooktbh8aiibp3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20250114@182308.4352 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.4370 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182308.4400 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.4416 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182308.4426 62g663479gcp9ooktbh8aiibp3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182308.4467 62g663479gcp9ooktbh8aiibp3 Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2400725100a'
20250114@182308.4485 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.4503 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182308.4519 62g663479gcp9ooktbh8aiibp3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a714596786ab8c6d','aut6786a735186786ab8c20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182308.4599 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.4617 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182308.4651 62g663479gcp9ooktbh8aiibp3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a714596786ab8c6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6786a735186786ab8c20' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@182308.5316 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182308.5320 62g663479gcp9ooktbh8aiibp3 Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20250114@182308.5348 62g663479gcp9ooktbh8aiibp3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1462.00.1'
20250114@182308.5753 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.5883 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182308.5915 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.5999 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182308.6010 62g663479gcp9ooktbh8aiibp3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182308.6025 62g663479gcp9ooktbh8aiibp3 Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2100463100a'
20250114@182308.6043 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.6060 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182308.6074 62g663479gcp9ooktbh8aiibp3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a828956786ab8c93','aut6786a735186786ab8c20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182308.6078 62g663479gcp9ooktbh8aiibp3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182308.6097 62g663479gcp9ooktbh8aiibp3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182308.6130 62g663479gcp9ooktbh8aiibp3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a828956786ab8c93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6786a735186786ab8c20' ,0,0 ,2,23.00,20000,?,?,?,?)
20250114@182308.6417 62g663479gcp9ooktbh8aiibp3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786a735186786ab8c20','2500360','wait',39,'adm09112754980.682000002')
20250114@182308.6515 62g663479gcp9ooktbh8aiibp3 Query : use flama_phc
20250114@182308.6519 62g663479gcp9ooktbh8aiibp3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@182308.6552 62g663479gcp9ooktbh8aiibp3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4604';
20250114@182308.6601 62g663479gcp9ooktbh8aiibp3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4604';
20250114@182308.6661 62g663479gcp9ooktbh8aiibp3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4604';
20250114@182308.6702 62g663479gcp9ooktbh8aiibp3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4604';
20250114@182308.8797 gkm99dp16h9idu3hglpt2tailj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@182308.8809 gkm99dp16h9idu3hglpt2tailj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@182308.8899 gkm99dp16h9idu3hglpt2tailj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4605';
20250114@182308.8968 gkm99dp16h9idu3hglpt2tailj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4605';
20250114@182308.9038 gkm99dp16h9idu3hglpt2tailj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4605';
20250114@182309.7130 gkm99dp16h9idu3hglpt2tailj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4605';
20250114@182309.8050 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.8080 gkm99dp16h9idu3hglpt2tailj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@182309.8830 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.8870 gkm99dp16h9idu3hglpt2tailj Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20250114@182309.9430 gkm99dp16h9idu3hglpt2tailj 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'
20250114@182309.1126 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.1129 gkm99dp16h9idu3hglpt2tailj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@182309.1163 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.1166 gkm99dp16h9idu3hglpt2tailj Query : select top 1 1 valor from td where td.ndoc = 39
20250114@182309.1197 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.1201 gkm99dp16h9idu3hglpt2tailj 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')
20250114@182309.1233 gkm99dp16h9idu3hglpt2tailj 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
20250114@182309.1272 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.1276 gkm99dp16h9idu3hglpt2tailj Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250114@182309.1313 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.1317 gkm99dp16h9idu3hglpt2tailj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@182309.1350 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.1353 gkm99dp16h9idu3hglpt2tailj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@182309.1399 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.1403 gkm99dp16h9idu3hglpt2tailj Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20250114@182309.1457 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.1461 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from td where ndoc = 39
20250114@182309.1476 gkm99dp16h9idu3hglpt2tailj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@182309.1495 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.1516 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182309.1541 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.1561 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182309.2054 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.2073 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182309.2088 gkm99dp16h9idu3hglpt2tailj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182309.2202 gkm99dp16h9idu3hglpt2tailj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182309.2216 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.2234 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182309.2253 gkm99dp16h9idu3hglpt2tailj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786a292526786ab8d32' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@182309.2466 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.2487 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182309.2528 gkm99dp16h9idu3hglpt2tailj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@182309.2543 gkm99dp16h9idu3hglpt2tailj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@182309.2557 gkm99dp16h9idu3hglpt2tailj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@182309.2570 gkm99dp16h9idu3hglpt2tailj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@182309.2625 gkm99dp16h9idu3hglpt2tailj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@182309.2639 gkm99dp16h9idu3hglpt2tailj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@182309.2653 gkm99dp16h9idu3hglpt2tailj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786a292526786ab8d32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@182309.2937 gkm99dp16h9idu3hglpt2tailj Query : select top 1 fno valor from wsftdata order by fno desc
20250114@182309.2992 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.3013 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182309.3040 gkm99dp16h9idu3hglpt2tailj Query : select 'normal' from dummy
20250114@182309.3064 gkm99dp16h9idu3hglpt2tailj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786a292526786ab8d32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2982,100810,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@182309.3403 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.3407 gkm99dp16h9idu3hglpt2tailj Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20250114@182309.3467 gkm99dp16h9idu3hglpt2tailj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20250114@182309.3824 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.3845 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182309.3878 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.3896 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182309.3907 gkm99dp16h9idu3hglpt2tailj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182309.3923 gkm99dp16h9idu3hglpt2tailj Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2400077200a'
20250114@182309.3942 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.3959 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182309.3973 gkm99dp16h9idu3hglpt2tailj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a437196786ab8d60','aut6786a292526786ab8d32' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182309.3979 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.3997 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182309.4031 gkm99dp16h9idu3hglpt2tailj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a437196786ab8d60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a292526786ab8d32' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@182309.4316 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.4336 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182309.4368 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.4384 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182309.4434 gkm99dp16h9idu3hglpt2tailj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182309.4481 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.4499 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182309.4514 gkm99dp16h9idu3hglpt2tailj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a213176786ab8d6d','aut6786a292526786ab8d32' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182309.4520 gkm99dp16h9idu3hglpt2tailj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.4537 gkm99dp16h9idu3hglpt2tailj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182309.4570 gkm99dp16h9idu3hglpt2tailj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a213176786ab8d6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a292526786ab8d32' ,0,0 ,2,23.00,20000,?,?,?)
20250114@182309.4851 gkm99dp16h9idu3hglpt2tailj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786a292526786ab8d32','2500361','wait',39,'adm09112754980.682000002')
20250114@182309.4931 gkm99dp16h9idu3hglpt2tailj Query : use flama_phc
20250114@182309.4935 gkm99dp16h9idu3hglpt2tailj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@182309.4979 gkm99dp16h9idu3hglpt2tailj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4605';
20250114@182309.5027 gkm99dp16h9idu3hglpt2tailj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4605';
20250114@182309.5094 gkm99dp16h9idu3hglpt2tailj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4605';
20250114@182309.5136 gkm99dp16h9idu3hglpt2tailj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4605';
20250114@182309.5665 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@182309.5678 cp217m1kfpr8o53lfk3jqtpkaa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@182309.5763 cp217m1kfpr8o53lfk3jqtpkaa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4606';
20250114@182309.5836 cp217m1kfpr8o53lfk3jqtpkaa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4606';
20250114@182309.5905 cp217m1kfpr8o53lfk3jqtpkaa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4606';
20250114@182309.5941 cp217m1kfpr8o53lfk3jqtpkaa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4606';
20250114@182309.6040 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.6043 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@182309.6123 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.6126 cp217m1kfpr8o53lfk3jqtpkaa Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250114@182309.6225 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2308.00.1'
20250114@182309.6639 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2308.00.1'
20250114@182309.6662 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20250114@182309.6844 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20250114@182309.6868 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20250114@182309.6897 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20250114@182309.6924 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250114@182309.8234 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.8238 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@182309.8277 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.8281 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 1 valor from td where td.ndoc = 39
20250114@182309.8317 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.8321 cp217m1kfpr8o53lfk3jqtpkaa 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')
20250114@182309.8358 cp217m1kfpr8o53lfk3jqtpkaa 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
20250114@182309.8402 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.8405 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20250114@182309.8540 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.8543 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@182309.8577 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.8581 cp217m1kfpr8o53lfk3jqtpkaa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@182309.8625 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.8629 cp217m1kfpr8o53lfk3jqtpkaa Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20250114@182309.8713 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182309.8716 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from td where ndoc = 39
20250114@182309.8729 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@182309.8746 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.8766 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182309.8787 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.8802 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182309.8832 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.8848 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182309.8862 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182309.8970 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182309.8984 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.9000 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182309.9017 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786a650356786ab8dd8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@182309.9263 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.9283 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182309.9323 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@182309.9338 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@182309.9351 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@182309.9364 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@182309.9378 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@182309.9392 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@182309.9406 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786a650356786ab8dd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@182309.9684 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 fno valor from wsftdata order by fno desc
20250114@182309.9720 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182309.9740 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182309.9766 cp217m1kfpr8o53lfk3jqtpkaa Query : select 'normal' from dummy
20250114@182309.9793 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786a650356786ab8dd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2983,102943,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@182310.1200 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182310.1240 cp217m1kfpr8o53lfk3jqtpkaa Query : select st.usalote valor from st where st.ref = '324.2308.00.1'
20250114@182310.1570 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2308.00.1'
20250114@182310.5550 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.5760 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.6060 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.6220 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.6310 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182310.6470 cp217m1kfpr8o53lfk3jqtpkaa Query : select sestamp valor from se where ref ='324.2308.00.1' and lote = 'r2400475700a'
20250114@182310.6640 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.6840 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.6990 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a273546786ab8e10','aut6786a650356786ab8dd8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182310.7050 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.7210 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.7550 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a273546786ab8e10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6786a650356786ab8dd8' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@182310.1044 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182310.1047 cp217m1kfpr8o53lfk3jqtpkaa Query : select st.usalote valor from st where st.ref = '324.2308.00.1'
20250114@182310.1069 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2308.00.1'
20250114@182310.1087 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.1107 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.1211 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.1230 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.1242 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182310.1257 cp217m1kfpr8o53lfk3jqtpkaa Query : select sestamp valor from se where ref ='324.2308.00.1' and lote = 'r2400475700a'
20250114@182310.1270 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.1286 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.1302 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a562006786ab8e1f','aut6786a650356786ab8dd8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182310.1308 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.1326 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.1357 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a562006786ab8e1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6786a650356786ab8dd8' ,0,0 ,2,23.00,20000,?,?,?,?)
20250114@182310.1646 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182310.1650 cp217m1kfpr8o53lfk3jqtpkaa Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20250114@182310.1673 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2301.00.3'
20250114@182310.1840 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.1858 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.1890 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.1908 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.1919 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182310.1933 cp217m1kfpr8o53lfk3jqtpkaa Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20250114@182310.1949 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.1966 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.1979 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a697046786ab8e2f','aut6786a650356786ab8dd8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182310.1984 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.2000 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.2033 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a697046786ab8e2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6786a650356786ab8dd8' ,0,0 ,2,23.00,30000,?,?,?,?)
20250114@182310.2572 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182310.2576 cp217m1kfpr8o53lfk3jqtpkaa Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20250114@182310.2600 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2301.00.3'
20250114@182310.2616 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.2635 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.2665 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.2682 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.2692 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182310.2706 cp217m1kfpr8o53lfk3jqtpkaa Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20250114@182310.2720 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.2737 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.2752 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a455196786ab8e42','aut6786a650356786ab8dd8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182310.2757 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.2774 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.2807 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a455196786ab8e42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6786a650356786ab8dd8' ,0,0 ,2,23.00,40000,?,?,?,?)
20250114@182310.3121 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182310.3135 cp217m1kfpr8o53lfk3jqtpkaa Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20250114@182310.3166 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20250114@182310.3193 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.3213 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.3242 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.3258 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.3270 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182310.3285 cp217m1kfpr8o53lfk3jqtpkaa Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2400469200a'
20250114@182310.3321 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.3339 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.3353 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a450256786ab8e51','aut6786a650356786ab8dd8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182310.3358 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.3377 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.3429 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a450256786ab8e51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6786a650356786ab8dd8' ,0,0 ,2,23.00,50000,?,?,?,?)
20250114@182310.3713 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182310.3716 cp217m1kfpr8o53lfk3jqtpkaa Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20250114@182310.3740 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20250114@182310.3762 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.3782 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.3812 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.3830 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.3841 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182310.3856 cp217m1kfpr8o53lfk3jqtpkaa Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400468300a'
20250114@182310.3872 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.3920 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.3933 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a179176786ab8e5e','aut6786a650356786ab8dd8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182310.3939 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.3959 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.3991 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a179176786ab8e5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6786a650356786ab8dd8' ,0,0 ,2,23.00,60000,?,?,?,?)
20250114@182310.4286 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182310.4291 cp217m1kfpr8o53lfk3jqtpkaa Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20250114@182310.4316 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20250114@182310.4499 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.4518 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.4550 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.4568 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.4579 cp217m1kfpr8o53lfk3jqtpkaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182310.4595 cp217m1kfpr8o53lfk3jqtpkaa Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400496200a'
20250114@182310.4613 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.4636 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182310.4653 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a931576786ab8e70','aut6786a650356786ab8dd8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182310.4659 cp217m1kfpr8o53lfk3jqtpkaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.4675 cp217m1kfpr8o53lfk3jqtpkaa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.4709 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a931576786ab8e70',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut6786a650356786ab8dd8' ,0,0 ,2,23.00,70000,?,?,?,?)
20250114@182310.5021 cp217m1kfpr8o53lfk3jqtpkaa Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786a650356786ab8dd8','2500362','wait',39,'adm09112754980.682000002')
20250114@182310.5100 cp217m1kfpr8o53lfk3jqtpkaa Query : use flama_phc
20250114@182310.5103 cp217m1kfpr8o53lfk3jqtpkaa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@182310.5138 cp217m1kfpr8o53lfk3jqtpkaa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4606';
20250114@182310.5188 cp217m1kfpr8o53lfk3jqtpkaa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4606';
20250114@182310.5251 cp217m1kfpr8o53lfk3jqtpkaa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4606';
20250114@182310.5293 cp217m1kfpr8o53lfk3jqtpkaa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4606';
20250114@182310.5848 gp0jihs3r2pushhkcgb98936ii Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@182310.5860 gp0jihs3r2pushhkcgb98936ii Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@182310.5976 gp0jihs3r2pushhkcgb98936ii Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4607';
20250114@182310.6048 gp0jihs3r2pushhkcgb98936ii Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4607';
20250114@182310.6133 gp0jihs3r2pushhkcgb98936ii Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4607';
20250114@182310.6173 gp0jihs3r2pushhkcgb98936ii Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4607';
20250114@182310.6257 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.6261 gp0jihs3r2pushhkcgb98936ii Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@182310.6331 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.6336 gp0jihs3r2pushhkcgb98936ii Query : select no, estab,szadrsdesc from szadrs where u_coddest=1124
20250114@182310.6624 gp0jihs3r2pushhkcgb98936ii Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20250114@182310.6832 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.6836 gp0jihs3r2pushhkcgb98936ii Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@182310.6873 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.6909 gp0jihs3r2pushhkcgb98936ii Query : select top 1 1 valor from td where td.ndoc = 39
20250114@182310.6942 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.6946 gp0jihs3r2pushhkcgb98936ii 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')
20250114@182310.6975 gp0jihs3r2pushhkcgb98936ii 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
20250114@182310.7025 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.7028 gp0jihs3r2pushhkcgb98936ii Query : select top 1 ~inactivo valor from cl where no = '101928' and estab = 0 order by inactivo desc
20250114@182310.7174 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.7178 gp0jihs3r2pushhkcgb98936ii Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@182310.7213 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.7216 gp0jihs3r2pushhkcgb98936ii Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@182310.7260 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.7263 gp0jihs3r2pushhkcgb98936ii Query : select szadrsstamp valor from szadrs where szadrsdesc='albino novais da venda & filhos, lda.'
20250114@182310.7311 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.7314 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from td where ndoc = 39
20250114@182310.7327 gp0jihs3r2pushhkcgb98936ii Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@182310.7342 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.7360 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182310.7379 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.7395 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182310.7425 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.7441 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182310.7457 gp0jihs3r2pushhkcgb98936ii Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182310.7566 gp0jihs3r2pushhkcgb98936ii Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182310.7581 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.7599 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182310.7616 gp0jihs3r2pushhkcgb98936ii Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786a633296786ab8eb6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@182310.7829 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.7851 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182310.7891 gp0jihs3r2pushhkcgb98936ii Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@182310.7956 gp0jihs3r2pushhkcgb98936ii Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@182310.8226 gp0jihs3r2pushhkcgb98936ii Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@182310.8242 gp0jihs3r2pushhkcgb98936ii Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@182310.8257 gp0jihs3r2pushhkcgb98936ii Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@182310.8272 gp0jihs3r2pushhkcgb98936ii Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@182310.8288 gp0jihs3r2pushhkcgb98936ii Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786a633296786ab8eb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@182310.8830 gp0jihs3r2pushhkcgb98936ii Query : select top 1 fno valor from wsftdata order by fno desc
20250114@182310.8920 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.8940 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182310.8968 gp0jihs3r2pushhkcgb98936ii Query : select 'normal' from dummy
20250114@182310.8987 gp0jihs3r2pushhkcgb98936ii Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786a633296786ab8eb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2984,101928,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@182310.9430 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182310.9457 gp0jihs3r2pushhkcgb98936ii Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20250114@182310.9737 gp0jihs3r2pushhkcgb98936ii Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20250114@182310.9923 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.9943 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182310.9975 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182310.9993 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.4000 gp0jihs3r2pushhkcgb98936ii Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182311.1900 gp0jihs3r2pushhkcgb98936ii Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2301207300a'
20250114@182311.4300 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.6100 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.1190 gp0jihs3r2pushhkcgb98936ii Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a201196786ab8f01','aut6786a633296786ab8eb6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182311.1260 gp0jihs3r2pushhkcgb98936ii Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.1470 gp0jihs3r2pushhkcgb98936ii Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.1810 gp0jihs3r2pushhkcgb98936ii Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a201196786ab8f01',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a633296786ab8eb6' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@182311.5270 gp0jihs3r2pushhkcgb98936ii Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786a633296786ab8eb6','2500363','wait',39,'adm09112754980.682000002')
20250114@182311.6150 gp0jihs3r2pushhkcgb98936ii Query : use flama_phc
20250114@182311.6190 gp0jihs3r2pushhkcgb98936ii Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@182311.6510 gp0jihs3r2pushhkcgb98936ii Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4607';
20250114@182311.7000 gp0jihs3r2pushhkcgb98936ii Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4607';
20250114@182311.7620 gp0jihs3r2pushhkcgb98936ii Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4607';
20250114@182311.8340 gp0jihs3r2pushhkcgb98936ii Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4607';
20250114@182311.1362 8bbfab91s09i20gdg1ljmfoap9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@182311.1374 8bbfab91s09i20gdg1ljmfoap9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@182311.1453 8bbfab91s09i20gdg1ljmfoap9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4608';
20250114@182311.1524 8bbfab91s09i20gdg1ljmfoap9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4608';
20250114@182311.1666 8bbfab91s09i20gdg1ljmfoap9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4608';
20250114@182311.1712 8bbfab91s09i20gdg1ljmfoap9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4608';
20250114@182311.1781 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.1785 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@182311.1862 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.1865 8bbfab91s09i20gdg1ljmfoap9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=635
20250114@182311.1963 8bbfab91s09i20gdg1ljmfoap9 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'
20250114@182311.1995 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250114@182311.2172 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250114@182311.2193 8bbfab91s09i20gdg1ljmfoap9 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'
20250114@182311.2221 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20250114@182311.2378 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.2382 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@182311.2419 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.2422 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 1 valor from td where td.ndoc = 39
20250114@182311.2458 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.2461 8bbfab91s09i20gdg1ljmfoap9 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')
20250114@182311.2494 8bbfab91s09i20gdg1ljmfoap9 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
20250114@182311.2868 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.2874 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 ~inactivo valor from cl where no = '100053' and estab = 0 order by inactivo desc
20250114@182311.3268 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.3286 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@182311.3346 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.3439 8bbfab91s09i20gdg1ljmfoap9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@182311.3705 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.3709 8bbfab91s09i20gdg1ljmfoap9 Query : select szadrsstamp valor from szadrs where szadrsdesc='irmaos peixoto, s.a.'
20250114@182311.3801 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.3805 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from td where ndoc = 39
20250114@182311.3820 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@182311.3835 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.3854 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182311.3875 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.3891 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182311.3921 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.3938 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182311.3951 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182311.4059 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182311.5230 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.5250 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182311.5269 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@182311.5473 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.5492 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182311.5645 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@182311.5765 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@182311.5780 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@182311.5795 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@182311.5808 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@182311.5846 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@182311.5860 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786a216226786ab8f60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@182311.6166 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 fno valor from wsftdata order by fno desc
20250114@182311.6201 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.6219 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182311.6244 8bbfab91s09i20gdg1ljmfoap9 Query : select 'normal' from dummy
20250114@182311.6261 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786a216226786ab8f60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2985,100053,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@182311.6596 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.6599 8bbfab91s09i20gdg1ljmfoap9 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20250114@182311.6623 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20250114@182311.6646 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.6665 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.6694 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.6712 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.6721 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182311.6738 8bbfab91s09i20gdg1ljmfoap9 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20250114@182311.6752 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.6771 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.6785 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a753646786ab8fa4','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182311.6799 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.6819 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.6853 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a753646786ab8fa4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@182311.7164 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.7184 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.7214 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.7230 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.7240 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182311.7254 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.7271 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.7285 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a039386786ab8fb1','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182311.7291 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.7308 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.7341 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a039386786ab8fb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,20000,?,?,?)
20250114@182311.7638 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.7641 8bbfab91s09i20gdg1ljmfoap9 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250114@182311.7665 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250114@182311.7828 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.7846 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.7875 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.7892 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.7902 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182311.7916 8bbfab91s09i20gdg1ljmfoap9 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250114@182311.7931 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.7948 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.7962 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a005086786ab8fc1','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182311.7966 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.7984 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.8018 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a005086786ab8fc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,40000,?,?,?,?)
20250114@182311.8378 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.8399 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.8429 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.8446 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.8455 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182311.8469 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.8485 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.8500 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a163516786ab8fce','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182311.8505 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.8520 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.8554 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a163516786ab8fce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,50000,?,?,?)
20250114@182311.8834 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.8838 8bbfab91s09i20gdg1ljmfoap9 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250114@182311.8875 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250114@182311.8893 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.8914 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.8947 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.8966 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.8976 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182311.8991 8bbfab91s09i20gdg1ljmfoap9 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250114@182311.9005 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.9021 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.9035 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a907956786ab8fdb','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182311.9042 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.9059 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.9093 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a907956786ab8fdb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,70000,?,?,?,?)
20250114@182311.9395 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.9414 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.9442 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.9458 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.9468 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182311.9481 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.9497 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182311.9512 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a119506786ab8fe7','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182311.9517 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182311.9533 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182311.9564 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a119506786ab8fe7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,80000,?,?,?)
20250114@182311.9958 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182311.9989 8bbfab91s09i20gdg1ljmfoap9 Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20250114@182312.7000 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20250114@182312.2200 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.2430 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.2750 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.2920 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.3020 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182312.3180 8bbfab91s09i20gdg1ljmfoap9 Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2400237100a'
20250114@182312.3340 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3520 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.3670 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a263266786ab9008','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182312.3740 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3920 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.4280 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a263266786ab9008',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,100000,?,?,?,?)
20250114@182312.9660 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182312.2298 8bbfab91s09i20gdg1ljmfoap9 Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20250114@182312.2797 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20250114@182312.3108 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3126 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.3159 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3174 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.3184 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182312.3213 8bbfab91s09i20gdg1ljmfoap9 Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20250114@182312.3229 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3245 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.3259 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a724196786ab904e','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182312.3264 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3279 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.3312 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a724196786ab904e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,110000,?,?,?,?)
20250114@182312.3613 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3633 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.3663 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3678 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.3689 8bbfab91s09i20gdg1ljmfoap9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182312.3703 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3720 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.3734 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a175216786ab905a','aut6786a216226786ab8f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182312.3741 8bbfab91s09i20gdg1ljmfoap9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.3759 8bbfab91s09i20gdg1ljmfoap9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.3800 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a175216786ab905a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a216226786ab8f60' ,0,0 ,2,23.00,120000,?,?,?)
20250114@182312.4076 8bbfab91s09i20gdg1ljmfoap9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786a216226786ab8f60','2500364','wait',39,'adm09112754980.682000002')
20250114@182312.4161 8bbfab91s09i20gdg1ljmfoap9 Query : use flama_phc
20250114@182312.4165 8bbfab91s09i20gdg1ljmfoap9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@182312.4203 8bbfab91s09i20gdg1ljmfoap9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4608';
20250114@182312.4252 8bbfab91s09i20gdg1ljmfoap9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4608';
20250114@182312.4313 8bbfab91s09i20gdg1ljmfoap9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4608';
20250114@182312.4350 8bbfab91s09i20gdg1ljmfoap9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4608';
20250114@182312.4890 obe7ibaj1d86bu84tjmp4oo03t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@182312.4902 obe7ibaj1d86bu84tjmp4oo03t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@182312.4979 obe7ibaj1d86bu84tjmp4oo03t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4609';
20250114@182312.5049 obe7ibaj1d86bu84tjmp4oo03t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4609';
20250114@182312.5122 obe7ibaj1d86bu84tjmp4oo03t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4609';
20250114@182312.5156 obe7ibaj1d86bu84tjmp4oo03t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4609';
20250114@182312.5218 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.5223 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@182312.5295 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.5298 obe7ibaj1d86bu84tjmp4oo03t Query : select no, estab,szadrsdesc from szadrs where u_coddest=8923
20250114@182312.5398 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20250114@182312.5428 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20250114@182312.5457 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20250114@182312.5488 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20250114@182312.5516 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20250114@182312.5915 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20250114@182312.6090 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20250114@182312.6117 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20250114@182312.6140 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20250114@182312.6306 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.6310 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@182312.6349 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.6353 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 1 valor from td where td.ndoc = 39
20250114@182312.6387 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.6390 obe7ibaj1d86bu84tjmp4oo03t 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')
20250114@182312.6421 obe7ibaj1d86bu84tjmp4oo03t 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
20250114@182312.6456 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.6460 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250114@182312.6604 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.6607 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@182312.6639 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.6642 obe7ibaj1d86bu84tjmp4oo03t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@182312.6685 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.6688 obe7ibaj1d86bu84tjmp4oo03t Query : select szadrsstamp valor from szadrs where szadrsdesc='jom- gondomar'
20250114@182312.6810 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.6814 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from td where ndoc = 39
20250114@182312.6828 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@182312.6845 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.6864 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182312.6886 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.6903 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182312.6934 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.6952 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182312.6966 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182312.7188 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182312.7204 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.7225 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182312.7245 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@182312.7438 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.7456 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182312.7491 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@182312.7518 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@182312.7531 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@182312.7545 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@182312.7558 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@182312.7571 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@182312.7585 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786a181476786ab90aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@182312.7869 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 fno valor from wsftdata order by fno desc
20250114@182312.7902 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.7918 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182312.7942 obe7ibaj1d86bu84tjmp4oo03t Query : select 'normal' from dummy
20250114@182312.7958 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786a181476786ab90aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2986,101621,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@182312.8301 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.8305 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20250114@182312.8332 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20250114@182312.8354 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.8370 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.8397 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.8412 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.8421 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182312.8433 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20250114@182312.8445 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.8460 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.8473 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a197286786ab90ce','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182312.8478 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.8494 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.8524 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a197286786ab90ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@182312.8862 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.8895 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20250114@182312.8919 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20250114@182312.8941 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.8963 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.8996 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.9010 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.9019 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182312.9033 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20250114@182312.9047 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.9061 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.9076 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a684526786ab90dc','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182312.9081 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.9099 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.9128 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a684526786ab90dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,20000,?,?,?,?)
20250114@182312.9427 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.9430 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20250114@182312.9449 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20250114@182312.9471 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.9489 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.9516 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.9534 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.9543 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182312.9556 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20250114@182312.9569 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.9585 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182312.9597 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a985566786ab90e9','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182312.9601 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182312.9616 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182312.9646 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a985566786ab90e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,30000,?,?,?,?)
20250114@182312.9927 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182312.9930 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20250114@182312.9958 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20250114@182312.9991 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.1000 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.3700 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.5300 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.6100 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182313.7400 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301280100a'
20250114@182313.8800 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.1030 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.1140 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a383866786ab9102','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182313.1190 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.1340 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.1630 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a383866786ab9102',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,40000,?,?,?,?)
20250114@182313.4930 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182313.4970 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20250114@182313.5190 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4962.00.1'
20250114@182313.6880 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.7050 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.7330 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.7480 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.7560 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182313.7700 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20250114@182313.7840 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.8000 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.8140 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a740396786ab9113','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182313.8180 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.8340 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.8650 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a740396786ab9113',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,50000,?,?,?,?)
20250114@182313.2223 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182313.2233 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20250114@182313.2257 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20250114@182313.2433 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.2451 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.2476 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.2491 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.2502 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182313.2514 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301280100a'
20250114@182313.2529 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.2546 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.2560 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a323236786ab913d','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182313.2565 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.2580 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.2613 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a323236786ab913d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,60000,?,?,?,?)
20250114@182313.2903 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182313.2906 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20250114@182313.2930 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4963.00.1'
20250114@182313.2953 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.2971 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.2997 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.3014 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.3025 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182313.3040 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20250114@182313.3054 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.3069 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.3083 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a207136786ab914a','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182313.3087 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.3105 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.3137 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a207136786ab914a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,70000,?,?,?,?)
20250114@182313.3470 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182313.3474 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20250114@182313.3497 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20250114@182313.3513 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.3531 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.3571 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.3587 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.3598 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182313.3613 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20250114@182313.3630 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.3657 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.3680 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a183246786ab9158','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182313.3685 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.3705 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.3738 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a183246786ab9158',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,80000,?,?,?,?)
20250114@182313.4119 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182313.4123 obe7ibaj1d86bu84tjmp4oo03t Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20250114@182313.4149 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20250114@182313.4365 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.4384 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.4414 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.4430 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.4441 obe7ibaj1d86bu84tjmp4oo03t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182313.4456 obe7ibaj1d86bu84tjmp4oo03t Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20250114@182313.4472 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.4490 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182313.4504 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a377716786ab916d','aut6786a181476786ab90aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182313.4508 obe7ibaj1d86bu84tjmp4oo03t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.4525 obe7ibaj1d86bu84tjmp4oo03t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182313.4556 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a377716786ab916d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a181476786ab90aa' ,0,0 ,2,23.00,90000,?,?,?,?)
20250114@182313.4857 obe7ibaj1d86bu84tjmp4oo03t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786a181476786ab90aa','2500365','wait',39,'adm09112754980.682000002')
20250114@182313.4940 obe7ibaj1d86bu84tjmp4oo03t Query : use flama_phc
20250114@182313.4943 obe7ibaj1d86bu84tjmp4oo03t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@182313.4978 obe7ibaj1d86bu84tjmp4oo03t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4609';
20250114@182313.5026 obe7ibaj1d86bu84tjmp4oo03t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4609';
20250114@182313.5090 obe7ibaj1d86bu84tjmp4oo03t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4609';
20250114@182313.5131 obe7ibaj1d86bu84tjmp4oo03t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4609';
20250114@182313.5703 ed6jbp7pt3jm0euakdlbi31lab Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@182313.5717 ed6jbp7pt3jm0euakdlbi31lab Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250114@182313.5825 ed6jbp7pt3jm0euakdlbi31lab Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4610';
20250114@182313.5907 ed6jbp7pt3jm0euakdlbi31lab Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4610';
20250114@182313.5979 ed6jbp7pt3jm0euakdlbi31lab Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4610';
20250114@182313.6019 ed6jbp7pt3jm0euakdlbi31lab Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4610';
20250114@182313.6106 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.6110 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250114@182313.6391 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.6396 ed6jbp7pt3jm0euakdlbi31lab Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250114@182313.6449 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20250114@182313.6635 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20250114@182313.6803 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20250114@182313.6826 ed6jbp7pt3jm0euakdlbi31lab 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'
20250114@182313.6854 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20250114@182313.7274 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20250114@182313.7306 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2028.00.2'
20250114@182313.7504 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20250114@182313.7654 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20250114@182313.7681 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20250114@182313.7704 ed6jbp7pt3jm0euakdlbi31lab 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'
20250114@182313.7732 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.7735 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250114@182313.7772 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.7776 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 1 valor from td where td.ndoc = 39
20250114@182313.7808 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.7811 ed6jbp7pt3jm0euakdlbi31lab 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')
20250114@182313.7840 ed6jbp7pt3jm0euakdlbi31lab 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
20250114@182313.7877 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.7880 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20250114@182313.7934 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.7937 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250114@182313.7971 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.7974 ed6jbp7pt3jm0euakdlbi31lab Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250114@182313.8022 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.8026 ed6jbp7pt3jm0euakdlbi31lab Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20250114@182313.8075 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182313.8079 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from td where ndoc = 39
20250114@182313.8096 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250114@182313.8111 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.8131 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182313.8153 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.8170 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182313.8203 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.8220 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182313.8234 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182313.8370 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250114@182313.8387 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.8406 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250114@182313.8425 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250114@182313.8628 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.8648 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250114@182313.8686 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250114@182313.8701 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250114@182313.8716 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250114@182313.8729 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250114@182313.8743 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250114@182313.8758 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250114@182313.8773 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6786a711056786ab91c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250114@182313.9060 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 fno valor from wsftdata order by fno desc
20250114@182313.9097 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182313.9116 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250114@182313.9142 ed6jbp7pt3jm0euakdlbi31lab Query : select 'normal' from dummy
20250114@182313.9160 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6786a711056786ab91c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2987,102943,0,'2025-01-14',39,'euro',0,0,2025 ,?,?)
20250114@182314.4930 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.4970 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20250114@182314.5560 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20250114@182314.7270 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.7460 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.7740 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.7910 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.8010 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.8160 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400922200a'
20250114@182314.8310 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.1004 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.1078 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a504016786ab9214','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.1085 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.1146 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.1180 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a504016786ab9214',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,10000,?,?,?,?)
20250114@182314.1508 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.1528 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.1561 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.1578 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.1590 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.1605 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.1623 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.1637 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a962526786ab9227','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.1643 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.1660 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.1691 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a962526786ab9227',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,20000,?,?,?)
20250114@182314.2002 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.2006 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20250114@182314.2032 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20250114@182314.2213 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.2233 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.2265 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.2285 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.2297 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.2312 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20250114@182314.2330 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.2351 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.2366 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a382496786ab9238','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.2372 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.2392 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.2424 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a382496786ab9238',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,40000,?,?,?,?)
20250114@182314.2707 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.2710 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20250114@182314.2733 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20250114@182314.2750 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.2769 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.2800 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.2818 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.2828 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.2842 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20250114@182314.2858 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.2880 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.2894 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a094756786ab9245','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.2898 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.2915 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.2951 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a094756786ab9245',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,50000,?,?,?,?)
20250114@182314.3233 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.3237 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20250114@182314.3261 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20250114@182314.3286 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.3305 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.3341 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.3358 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.3368 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.3384 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2400703100a'
20250114@182314.3398 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.3413 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.3426 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a419126786ab9252','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.3439 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.3455 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.3494 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a419126786ab9252',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,60000,?,?,?,?)
20250114@182314.3813 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.3855 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20250114@182314.3878 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1705.00.1'
20250114@182314.4072 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.4092 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.4123 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.4140 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.4151 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.4164 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400926200a'
20250114@182314.4178 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.4197 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.4211 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a880826786ab9266','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.4215 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.4232 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.4265 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a880826786ab9266',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,70000,?,?,?,?)
20250114@182314.4566 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.4570 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20250114@182314.4595 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1416.00.1'
20250114@182314.4625 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.4646 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.4674 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.4690 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.4700 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.4714 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20250114@182314.4728 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.4744 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.4757 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a564056786ab9273','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.4762 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.4783 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.4816 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a564056786ab9273',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,80000,?,?,?,?)
20250114@182314.5353 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.5373 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.5404 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.5420 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.5429 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.5444 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.5463 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.5478 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a860626786ab9284','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.5483 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.5500 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.5534 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a860626786ab9284',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,90000,?,?,?)
20250114@182314.5832 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.5835 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.2028.00.2'
20250114@182314.5900 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2028.00.2'
20250114@182314.6082 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.6100 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.6129 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.6145 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.6157 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.6195 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.2028.00.2' and lote = 'r2100875100a'
20250114@182314.6226 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.6244 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.6260 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a294546786ab9298','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.6266 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.6285 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.6317 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a294546786ab9298',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,110000,?,?,?,?)
20250114@182314.6626 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.6645 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.6676 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.6694 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.6705 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.6719 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.6738 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.6766 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a704036786ab92a4','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.6772 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.6793 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.6823 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a704036786ab92a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,120000,?,?,?)
20250114@182314.7110 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.7115 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20250114@182314.7148 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20250114@182314.7394 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.7416 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.7444 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.7472 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.7481 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.7496 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2400095600a'
20250114@182314.7515 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.7538 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.7551 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a621756786ab92b7','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.7556 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.7573 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.7647 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a621756786ab92b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,140000,?,?,?,?)
20250114@182314.7947 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182314.7952 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20250114@182314.7976 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20250114@182314.7998 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.8017 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.8080 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.8099 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.8109 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.8122 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400923100a'
20250114@182314.8136 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.8154 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.8168 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a951406786ab92c6','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.8173 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.8192 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.8241 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a951406786ab92c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,150000,?,?,?,?)
20250114@182314.8546 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.8566 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.8599 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.8616 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.8626 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182314.8641 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.8658 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182314.8673 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a328106786ab92d2','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182314.8678 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182314.8698 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182314.8731 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a328106786ab92d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,160000,?,?,?)
20250114@182315.2690 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182315.2740 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20250114@182315.2960 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20250114@182315.3110 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.3290 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182315.3560 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.3710 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182315.3800 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182315.4310 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400923100a'
20250114@182315.4460 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.4610 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182315.4730 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a227896786ab930a','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182315.4780 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.4940 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182315.5230 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a227896786ab930a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,180000,?,?,?,?)
20250114@182315.8530 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.8720 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182315.9830 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.1150 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182315.1166 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182315.1181 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.1199 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182315.1256 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a839546786ab931c','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182315.1262 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.1279 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182315.1312 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6786a839546786ab931c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,190000,?,?,?)
20250114@182315.1658 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182315.1662 ed6jbp7pt3jm0euakdlbi31lab Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250114@182315.1685 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20250114@182315.1706 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.1724 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182315.1752 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.1767 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182315.1777 ed6jbp7pt3jm0euakdlbi31lab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250114@182315.1789 ed6jbp7pt3jm0euakdlbi31lab Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250114@182315.1803 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.1818 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250114@182315.1831 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6786a408576786ab932c','aut6786a711056786ab91c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250114@182315.1835 ed6jbp7pt3jm0euakdlbi31lab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250114@182315.1851 ed6jbp7pt3jm0euakdlbi31lab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250114@182315.1881 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6786a408576786ab932c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6786a711056786ab91c9' ,0,0 ,2,23.00,210000,?,?,?,?)
20250114@182315.2177 ed6jbp7pt3jm0euakdlbi31lab Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6786a711056786ab91c9','2500366','wait',39,'adm09112754980.682000002')
20250114@182315.2256 ed6jbp7pt3jm0euakdlbi31lab Query : use flama_phc
20250114@182315.2260 ed6jbp7pt3jm0euakdlbi31lab Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250114@182315.2292 ed6jbp7pt3jm0euakdlbi31lab Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4610';
20250114@182315.2340 ed6jbp7pt3jm0euakdlbi31lab Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4610';
20250114@182315.2396 ed6jbp7pt3jm0euakdlbi31lab Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4610';
20250114@182315.2435 ed6jbp7pt3jm0euakdlbi31lab Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4610';
20250114@182315.2992 515ednd28ukjpjb541l1646lga Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250114@182315.3003 515ednd28ukjpjb541l1646lga Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
