20241004@184430.9493 hhpnomo6te1s61d7h8pfg85tb5 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241004@184430.9492 hhpnomo6te1s61d7h8pfg85tb5 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20241004@184430.9522 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184430.9544 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184430.9557 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002032526700297ee8','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184430.9561 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184430.9576 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184430.9604 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002032526700297ee8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184430.9869 hhpnomo6te1s61d7h8pfg85tb5 Query : use flama_phc
20241004@184430.9873 hhpnomo6te1s61d7h8pfg85tb5 Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20241004@184430.9896 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184431.4900 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.6800 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.1140 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.1340 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.1470 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184431.1630 hhpnomo6te1s61d7h8pfg85tb5 Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20241004@184431.1910 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.2100 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.2230 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002914526700297f04','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184431.2280 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.2450 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.2980 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002914526700297f04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,20000,?,?,?,?)
20241004@184431.5500 hhpnomo6te1s61d7h8pfg85tb5 Query : use flama_phc
20241004@184431.5550 hhpnomo6te1s61d7h8pfg85tb5 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20241004@184431.5810 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184431.7460 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.7880 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.8200 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.8490 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.8590 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184431.8730 hhpnomo6te1s61d7h8pfg85tb5 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20241004@184431.8960 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.9160 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.9310 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002105166700297f15','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184431.9350 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.9520 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.9870 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002105166700297f15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,30000,?,?,?,?)
20241004@184431.1262 hhpnomo6te1s61d7h8pfg85tb5 Query : use flama_phc
20241004@184431.1265 hhpnomo6te1s61d7h8pfg85tb5 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20241004@184431.1287 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184431.1304 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.1323 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.1384 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.1404 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.1417 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184431.1434 hhpnomo6te1s61d7h8pfg85tb5 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20241004@184431.1451 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.1472 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.1490 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002028306700297f23','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184431.1496 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.1518 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.1555 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002028306700297f23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,40000,?,?,?,?)
20241004@184431.2128 hhpnomo6te1s61d7h8pfg85tb5 Query : use flama_phc
20241004@184431.2529 hhpnomo6te1s61d7h8pfg85tb5 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20241004@184431.3147 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184431.3663 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.3787 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.3817 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.3858 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.3875 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184431.3889 hhpnomo6te1s61d7h8pfg85tb5 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20241004@184431.3903 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.3965 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.4031 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002606786700297f5f','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184431.4040 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.4076 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.4109 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002606786700297f5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,50000,?,?,?,?)
20241004@184431.4404 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.4421 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.4447 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.4472 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.4480 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184431.4497 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.4511 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.4522 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002904956700297f6d','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184431.4526 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.4541 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.4589 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002904956700297f6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,60000,?,?,?)
20241004@184431.4841 hhpnomo6te1s61d7h8pfg85tb5 Query : use flama_phc
20241004@184431.4844 hhpnomo6te1s61d7h8pfg85tb5 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20241004@184431.4868 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184431.4882 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.4922 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.4949 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.4968 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.4976 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184431.4988 hhpnomo6te1s61d7h8pfg85tb5 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20241004@184431.5157 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.5351 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.5379 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002862216700297f7d','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184431.5383 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.5632 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.5663 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002862216700297f7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,80000,?,?,?,?)
20241004@184431.5952 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.5969 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.5996 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.6020 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.6030 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184431.6049 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.6066 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.6085 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002211076700297f93','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184431.6090 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.6108 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.6145 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002211076700297f93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,90000,?,?,?)
20241004@184431.6455 hhpnomo6te1s61d7h8pfg85tb5 Query : use flama_phc
20241004@184431.6459 hhpnomo6te1s61d7h8pfg85tb5 Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20241004@184431.6493 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184431.6647 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.6664 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.6703 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.6719 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.6727 hhpnomo6te1s61d7h8pfg85tb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184431.6749 hhpnomo6te1s61d7h8pfg85tb5 Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20241004@184431.6762 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.6785 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184431.6797 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002103616700297fa5','aut67002677106700297ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184431.6801 hhpnomo6te1s61d7h8pfg85tb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.6818 hhpnomo6te1s61d7h8pfg85tb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184431.6852 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002103616700297fa5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67002677106700297ea4' ,0,0 ,2,23.00,110000,?,?,?,?)
20241004@184431.7103 hhpnomo6te1s61d7h8pfg85tb5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002677106700297ea4','2406434','wait',39,'adm09112754980.682000002')
20241004@184431.7179 hhpnomo6te1s61d7h8pfg85tb5 Query : use flama_phc
20241004@184431.7182 hhpnomo6te1s61d7h8pfg85tb5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184431.7224 hhpnomo6te1s61d7h8pfg85tb5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2419';
20241004@184431.7257 hhpnomo6te1s61d7h8pfg85tb5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2419';
20241004@184431.7309 hhpnomo6te1s61d7h8pfg85tb5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2419';
20241004@184431.7339 hhpnomo6te1s61d7h8pfg85tb5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2419';
20241004@184431.7860 8k6skrsq8drap77d7b08uepdt0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184431.7872 8k6skrsq8drap77d7b08uepdt0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184431.7945 8k6skrsq8drap77d7b08uepdt0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2420';
20241004@184431.8024 8k6skrsq8drap77d7b08uepdt0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2420';
20241004@184431.8093 8k6skrsq8drap77d7b08uepdt0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2420';
20241004@184431.8119 8k6skrsq8drap77d7b08uepdt0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2420';
20241004@184431.8187 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8191 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184431.8272 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8275 8k6skrsq8drap77d7b08uepdt0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20241004@184431.8331 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20241004@184431.8501 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8505 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184431.8545 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8550 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184431.8587 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8591 8k6skrsq8drap77d7b08uepdt0 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')
20241004@184431.8626 8k6skrsq8drap77d7b08uepdt0 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
20241004@184431.8663 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8666 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20241004@184431.8721 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8724 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184431.8755 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8759 8k6skrsq8drap77d7b08uepdt0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184431.8802 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8805 8k6skrsq8drap77d7b08uepdt0 Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20241004@184431.8855 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184431.8860 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from td where ndoc = 39
20241004@184431.8873 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184431.8892 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.8930 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184431.8981 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.9007 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184431.9043 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.9058 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184431.9073 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184431.9138 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184431.9172 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.9186 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184431.9201 8k6skrsq8drap77d7b08uepdt0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002913336700297fdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184431.9375 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.9392 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184431.9454 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184431.9469 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184431.9485 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184431.9497 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184431.9509 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184431.9521 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184431.9542 8k6skrsq8drap77d7b08uepdt0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002913336700297fdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184431.9785 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184431.9809 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184431.9828 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184431.9853 8k6skrsq8drap77d7b08uepdt0 Query : select 'normal' from dummy
20241004@184431.9869 8k6skrsq8drap77d7b08uepdt0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002913336700297fdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1087,199510,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184432.1610 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184432.1650 8k6skrsq8drap77d7b08uepdt0 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241004@184432.1910 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20241004@184432.3750 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.3950 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.4490 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.4770 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.4850 8k6skrsq8drap77d7b08uepdt0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.5040 8k6skrsq8drap77d7b08uepdt0 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241004'
20241004@184432.5200 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5360 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.6120 8k6skrsq8drap77d7b08uepdt0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700282529670029800c','aut67002913336700297fdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.6170 8k6skrsq8drap77d7b08uepdt0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6340 8k6skrsq8drap77d7b08uepdt0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.6660 8k6skrsq8drap77d7b08uepdt0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700282529670029800c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut67002913336700297fdd' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184432.9190 8k6skrsq8drap77d7b08uepdt0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002913336700297fdd','2406436','wait',39,'adm09112754980.682000002')
20241004@184432.1049 8k6skrsq8drap77d7b08uepdt0 Query : use flama_phc
20241004@184432.1052 8k6skrsq8drap77d7b08uepdt0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184432.1087 8k6skrsq8drap77d7b08uepdt0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2420';
20241004@184432.1126 8k6skrsq8drap77d7b08uepdt0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2420';
20241004@184432.1170 8k6skrsq8drap77d7b08uepdt0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2420';
20241004@184432.1195 8k6skrsq8drap77d7b08uepdt0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2420';
20241004@184432.2585 64aaof1p0j0299meuvjtfukcpv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184432.2596 64aaof1p0j0299meuvjtfukcpv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184432.2651 64aaof1p0j0299meuvjtfukcpv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2421';
20241004@184432.2721 64aaof1p0j0299meuvjtfukcpv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2421';
20241004@184432.2772 64aaof1p0j0299meuvjtfukcpv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2421';
20241004@184432.2797 64aaof1p0j0299meuvjtfukcpv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2421';
20241004@184432.2846 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.2849 64aaof1p0j0299meuvjtfukcpv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184432.2908 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.2911 64aaof1p0j0299meuvjtfukcpv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20241004@184432.2952 64aaof1p0j0299meuvjtfukcpv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20241004@184432.3115 64aaof1p0j0299meuvjtfukcpv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20241004@184432.3133 64aaof1p0j0299meuvjtfukcpv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20241004@184432.3153 64aaof1p0j0299meuvjtfukcpv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20241004@184432.3176 64aaof1p0j0299meuvjtfukcpv 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'
20241004@184432.3320 64aaof1p0j0299meuvjtfukcpv 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'
20241004@184432.3339 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.3342 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184432.3373 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.3376 64aaof1p0j0299meuvjtfukcpv Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184432.3405 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.3408 64aaof1p0j0299meuvjtfukcpv 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')
20241004@184432.3435 64aaof1p0j0299meuvjtfukcpv 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
20241004@184432.3469 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.3473 64aaof1p0j0299meuvjtfukcpv Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20241004@184432.3503 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.3506 64aaof1p0j0299meuvjtfukcpv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184432.3536 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.3540 64aaof1p0j0299meuvjtfukcpv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184432.3580 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.3603 64aaof1p0j0299meuvjtfukcpv Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20241004@184432.3650 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.3653 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from td where ndoc = 39
20241004@184432.3676 64aaof1p0j0299meuvjtfukcpv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184432.3689 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.3708 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184432.3727 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.3743 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184432.3788 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.3803 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184432.3815 64aaof1p0j0299meuvjtfukcpv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184432.3878 64aaof1p0j0299meuvjtfukcpv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184432.3890 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.3912 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184432.3931 64aaof1p0j0299meuvjtfukcpv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184432.4116 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.4146 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184432.4182 64aaof1p0j0299meuvjtfukcpv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184432.4194 64aaof1p0j0299meuvjtfukcpv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184432.4205 64aaof1p0j0299meuvjtfukcpv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184432.4239 64aaof1p0j0299meuvjtfukcpv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184432.4254 64aaof1p0j0299meuvjtfukcpv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184432.4280 64aaof1p0j0299meuvjtfukcpv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184432.4291 64aaof1p0j0299meuvjtfukcpv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6700214649670029805d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184432.4540 64aaof1p0j0299meuvjtfukcpv Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184432.4565 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.4583 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184432.4604 64aaof1p0j0299meuvjtfukcpv Query : select 'normal' from dummy
20241004@184432.4647 64aaof1p0j0299meuvjtfukcpv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6700214649670029805d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1088,199510,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184432.4936 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.4939 64aaof1p0j0299meuvjtfukcpv Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241004@184432.4965 64aaof1p0j0299meuvjtfukcpv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241004@184432.5109 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5125 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.5152 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5167 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.5176 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.5189 64aaof1p0j0299meuvjtfukcpv Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241004@184432.5211 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5228 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.5240 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700244848670029807f','aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.5244 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5260 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.5293 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700244848670029807f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6700214649670029805d' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184432.5614 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.5617 64aaof1p0j0299meuvjtfukcpv Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241004@184432.5638 64aaof1p0j0299meuvjtfukcpv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241004@184432.5652 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5667 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.5692 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5730 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.5738 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.5754 64aaof1p0j0299meuvjtfukcpv Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241004@184432.5767 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5781 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.5794 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700242845670029808c','aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.5798 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.5816 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.5844 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700242845670029808c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6700214649670029805d' ,0,0 ,2,23.00,20000,?,?,?,?)
20241004@184432.6103 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.6106 64aaof1p0j0299meuvjtfukcpv Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241004@184432.6125 64aaof1p0j0299meuvjtfukcpv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241004@184432.6140 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6156 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.6182 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6207 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.6216 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.6234 64aaof1p0j0299meuvjtfukcpv Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241004@184432.6246 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6262 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.6274 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002630506700298098','aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.6278 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6293 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.6333 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002630506700298098',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6700214649670029805d' ,0,0 ,2,23.00,30000,?,?,?,?)
20241004@184432.6611 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.6614 64aaof1p0j0299meuvjtfukcpv Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241004@184432.6636 64aaof1p0j0299meuvjtfukcpv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241004@184432.6655 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6671 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.6721 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6738 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.6748 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.6762 64aaof1p0j0299meuvjtfukcpv Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241004@184432.6781 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6797 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.6810 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670021705867002980a5','aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.6815 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.6833 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.6896 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670021705867002980a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6700214649670029805d' ,0,0 ,2,23.00,40000,?,?,?,?)
20241004@184432.7223 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.7261 64aaof1p0j0299meuvjtfukcpv Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20241004@184432.7555 64aaof1p0j0299meuvjtfukcpv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184432.7707 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.7723 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.7747 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.7761 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.7770 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.7806 64aaof1p0j0299meuvjtfukcpv Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20241004@184432.7826 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.7845 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.7857 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670022584967002980bf','aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.7860 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.7874 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.7901 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670022584967002980bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6700214649670029805d' ,0,0 ,2,23.00,50000,?,?,?,?)
20241004@184432.8180 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.8197 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.8226 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.8241 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.8250 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.8262 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.8296 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.8308 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670022138667002980c9','aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.8313 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.8329 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.8362 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670022138667002980c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6700214649670029805d' ,0,0 ,2,23.00,60000,?,?,?)
20241004@184432.8636 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.8639 64aaof1p0j0299meuvjtfukcpv Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20241004@184432.8665 64aaof1p0j0299meuvjtfukcpv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184432.8692 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.8728 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.8752 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.8777 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.8785 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.8811 64aaof1p0j0299meuvjtfukcpv Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20241004@184432.8823 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.8878 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.8908 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670029087267002980d7','aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.8937 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.8954 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.9038 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670029087267002980d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6700214649670029805d' ,0,0 ,2,23.00,80000,?,?,?,?)
20241004@184432.9316 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.9335 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.9390 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.9409 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.9430 64aaof1p0j0299meuvjtfukcpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184432.9444 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.9462 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184432.9475 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670028691367002980e6','aut6700214649670029805d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184432.9481 64aaof1p0j0299meuvjtfukcpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184432.9503 64aaof1p0j0299meuvjtfukcpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184432.9534 64aaof1p0j0299meuvjtfukcpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670028691367002980e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6700214649670029805d' ,0,0 ,2,23.00,90000,?,?,?)
20241004@184432.9826 64aaof1p0j0299meuvjtfukcpv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6700214649670029805d','2406437','wait',39,'adm09112754980.682000002')
20241004@184432.9899 64aaof1p0j0299meuvjtfukcpv Query : use flama_phc
20241004@184432.9903 64aaof1p0j0299meuvjtfukcpv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184432.9932 64aaof1p0j0299meuvjtfukcpv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2421';
20241004@184432.9962 64aaof1p0j0299meuvjtfukcpv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2421';
20241004@184433.9000 64aaof1p0j0299meuvjtfukcpv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2421';
20241004@184433.4200 64aaof1p0j0299meuvjtfukcpv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2421';
20241004@184433.5830 e1l877bdcl9put22ua29rbh732 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184433.5930 e1l877bdcl9put22ua29rbh732 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184433.6760 e1l877bdcl9put22ua29rbh732 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2422';
20241004@184433.7400 e1l877bdcl9put22ua29rbh732 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2422';
20241004@184433.7970 e1l877bdcl9put22ua29rbh732 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2422';
20241004@184433.8300 e1l877bdcl9put22ua29rbh732 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2422';
20241004@184433.8940 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.9290 e1l877bdcl9put22ua29rbh732 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184433.1001 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.1009 e1l877bdcl9put22ua29rbh732 Query : select no, estab,szadrsdesc from szadrs where u_coddest=9128
20241004@184433.1113 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241004@184433.1304 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241004@184433.1470 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20241004@184433.1495 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20241004@184433.1656 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20241004@184433.1695 e1l877bdcl9put22ua29rbh732 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'
20241004@184433.1716 e1l877bdcl9put22ua29rbh732 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'
20241004@184433.1871 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20241004@184433.2039 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20241004@184433.2234 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20241004@184433.2455 e1l877bdcl9put22ua29rbh732 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'
20241004@184433.2686 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241004@184433.2959 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20241004@184433.3075 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241004@184433.3271 e1l877bdcl9put22ua29rbh732 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'
20241004@184433.3295 e1l877bdcl9put22ua29rbh732 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'
20241004@184433.3492 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241004@184433.4849 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20241004@184433.5008 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20241004@184433.5211 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20241004@184433.5365 e1l877bdcl9put22ua29rbh732 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'
20241004@184433.5497 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20241004@184433.5663 e1l877bdcl9put22ua29rbh732 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'
20241004@184433.5814 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2366.00.1'
20241004@184433.5973 e1l877bdcl9put22ua29rbh732 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2366.00.1'
20241004@184433.6013 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.6017 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184433.6055 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.6058 e1l877bdcl9put22ua29rbh732 Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184433.6090 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.6093 e1l877bdcl9put22ua29rbh732 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')
20241004@184433.6123 e1l877bdcl9put22ua29rbh732 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
20241004@184433.6159 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.6162 e1l877bdcl9put22ua29rbh732 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241004@184433.6286 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.6289 e1l877bdcl9put22ua29rbh732 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184433.6324 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.6326 e1l877bdcl9put22ua29rbh732 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184433.6393 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.6397 e1l877bdcl9put22ua29rbh732 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - v. castelo (nova)'
20241004@184433.6452 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.6455 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from td where ndoc = 39
20241004@184433.6470 e1l877bdcl9put22ua29rbh732 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184433.6485 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.6512 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184433.6536 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.6562 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184433.6595 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.6610 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184433.6624 e1l877bdcl9put22ua29rbh732 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184433.6715 e1l877bdcl9put22ua29rbh732 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184433.6733 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.6750 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184433.6779 e1l877bdcl9put22ua29rbh732 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184433.6960 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.6975 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184433.7016 e1l877bdcl9put22ua29rbh732 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184433.7028 e1l877bdcl9put22ua29rbh732 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184433.7039 e1l877bdcl9put22ua29rbh732 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184433.7051 e1l877bdcl9put22ua29rbh732 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184433.7063 e1l877bdcl9put22ua29rbh732 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184433.7075 e1l877bdcl9put22ua29rbh732 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184433.7086 e1l877bdcl9put22ua29rbh732 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670026640767002981a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184433.7323 e1l877bdcl9put22ua29rbh732 Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184433.7362 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.7550 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184433.7588 e1l877bdcl9put22ua29rbh732 Query : select 'normal' from dummy
20241004@184433.7613 e1l877bdcl9put22ua29rbh732 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670026640767002981a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1089,101621,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184433.7955 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.7959 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241004@184433.8006 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.8253.00.1'
20241004@184433.8165 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.8186 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184433.8212 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.8226 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184433.8234 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184433.8245 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2301073100a'
20241004@184433.8275 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.8290 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184433.8315 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670028440967002981ca','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184433.8319 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.8338 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184433.8372 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670028440967002981ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184433.8741 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.8842 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184433.9069 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.9106 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184433.9140 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184433.9154 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.9174 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184433.9188 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670029418467002981df','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184433.9193 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184433.9217 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184433.9253 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670029418467002981df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670026640767002981a1' ,0,0 ,2,23.00,20000,?,?,?)
20241004@184433.9597 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184433.9607 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241004@184433.9723 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241004@184434.4300 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.1420 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.3620 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.3850 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.3990 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.4170 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241004@184434.4480 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.4670 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.4810 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700210454670029820a','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.4850 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.5030 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.5630 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700210454670029820a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,40000,?,?,?,?)
20241004@184434.8960 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.9270 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.1204 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.1336 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.1421 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.1523 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.1647 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.1771 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002246316700298225','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.1776 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.1847 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.2024 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002246316700298225',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670026640767002981a1' ,0,0 ,2,23.00,50000,?,?,?)
20241004@184434.2362 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184434.2368 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20241004@184434.2412 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20241004@184434.2434 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.2475 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.2533 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.2553 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.2583 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.2604 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20241004@184434.2661 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.2681 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.3257 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002681446700298240','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.3402 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.3794 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.3823 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002681446700298240',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,70000,?,?,?,?)
20241004@184434.4115 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.4136 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.4169 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.4187 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.4197 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.4217 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.4234 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.4250 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002205346700298266','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.4257 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.4275 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.4311 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002205346700298266',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670026640767002981a1' ,0,0 ,2,23.00,80000,?,?,?)
20241004@184434.4603 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184434.4608 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20241004@184434.4707 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20241004@184434.4865 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.4882 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.4915 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.4933 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.4945 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.4961 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20241004@184434.4996 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.5017 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.5029 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002720256700298279','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.5033 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.5050 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.5089 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002720256700298279',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,100000,?,?,?,?)
20241004@184434.5350 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184434.5353 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20241004@184434.5378 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20241004@184434.5393 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.5411 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.5443 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.5478 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.5490 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.5504 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20241004@184434.5521 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.5546 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.5564 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002757936700298286','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.5568 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.5595 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.5623 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002757936700298286',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,110000,?,?,?,?)
20241004@184434.5905 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184434.5908 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241004@184434.5927 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184434.5940 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.5955 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.5991 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.6005 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.6013 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.6031 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20241004@184434.6043 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.6059 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.6071 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002753266700298293','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.6078 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.6092 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.6140 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002753266700298293',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,120000,?,?,?,?)
20241004@184434.6397 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184434.6401 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20241004@184434.6422 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184434.6589 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.6611 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.6645 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.6663 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.6674 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.6712 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20241004@184434.6755 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.6776 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.6787 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670029051867002982a4','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.6791 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.6805 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.6850 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670029051867002982a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,130000,?,?,?,?)
20241004@184434.7121 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184434.7124 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20241004@184434.7155 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20241004@184434.7298 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.7314 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.7499 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.7523 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.7535 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.7550 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20241004@184434.7587 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.7604 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.7620 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670021890067002982b9','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.7624 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.7641 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.7678 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670021890067002982b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,140000,?,?,?,?)
20241004@184434.7949 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.7966 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.7997 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.8015 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.8025 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.8040 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.8056 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.8079 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670026706567002982c4','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.8087 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.8108 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.8139 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670026706567002982c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670026640767002981a1' ,0,0 ,2,23.00,150000,?,?,?)
20241004@184434.8398 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184434.8407 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241004@184434.8605 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20241004@184434.8833 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.8901 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.8942 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.8986 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.8998 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184434.9041 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241004@184434.9072 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.9119 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184434.9264 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670024230367002982dd','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184434.9275 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184434.9339 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184434.9583 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670024230367002982dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,170000,?,?,?,?)
20241004@184434.9926 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.2900 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.9400 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.1130 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.1250 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.1760 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.1930 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.2100 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002260246700298304','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.2200 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.2610 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.4260 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002260246700298304',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670026640767002981a1' ,0,0 ,2,23.00,180000,?,?,?)
20241004@184435.7070 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184435.7360 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20241004@184435.8380 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.642.00.01'
20241004@184435.1832 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.2537 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.3242 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.3259 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.3269 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.3309 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20241004@184435.3340 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.3355 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.3416 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002761506700298351','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.3420 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.3434 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.3461 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002761506700298351',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,200000,?,?,?,?)
20241004@184435.3729 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184435.3732 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241004@184435.3757 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184435.3931 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.3958 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.3986 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.4006 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.4015 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.4029 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400481200a'
20241004@184435.4045 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.4081 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.4114 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002077786700298362','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.4118 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.4199 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.4250 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002077786700298362',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,210000,?,?,?,?)
20241004@184435.4536 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.4581 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.4608 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.4624 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.4633 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.4648 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.4667 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.4679 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002544646700298371','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.4683 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.4708 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.4771 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002544646700298371',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670026640767002981a1' ,0,0 ,2,23.00,220000,?,?,?)
20241004@184435.5054 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184435.5057 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241004@184435.5082 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241004@184435.5239 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.5272 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.5309 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.5328 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.5337 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.5356 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241004@184435.5376 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.5416 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.5428 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002726116700298383','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.5432 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.5457 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.5510 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002726116700298383',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,240000,?,?,?,?)
20241004@184435.5781 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.5834 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.5920 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.5938 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.5948 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.5962 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.6000 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.6016 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002701036700298391','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.6020 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.6055 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.6103 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002701036700298391',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670026640767002981a1' ,0,0 ,2,23.00,250000,?,?,?)
20241004@184435.6368 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184435.6374 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20241004@184435.6401 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1716.00.1'
20241004@184435.6419 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.6436 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.6464 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.6482 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.6492 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.6505 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20241004@184435.6533 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.6554 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.6568 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700263957670029839f','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.6573 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.6593 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.6639 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700263957670029839f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,270000,?,?,?,?)
20241004@184435.6930 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184435.6956 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241004@184435.6983 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241004@184435.7149 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.7221 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.7287 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.7315 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.7327 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.7342 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241004@184435.7378 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.7531 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.7563 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670024911667002983b4','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.7568 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.7608 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.7645 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670024911667002983b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,280000,?,?,?,?)
20241004@184435.7900 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184435.7903 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20241004@184435.7947 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184435.7976 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.7992 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.8029 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.8045 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.8069 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.8104 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20241004@184435.8117 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.8161 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.8215 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670022305967002983c6','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.8243 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.8277 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.8332 e1l877bdcl9put22ua29rbh732 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670022305967002983c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670026640767002981a1' ,0,0 ,2,23.00,290000,?,?,?,?)
20241004@184435.8585 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184435.8588 e1l877bdcl9put22ua29rbh732 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20241004@184435.8609 e1l877bdcl9put22ua29rbh732 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184435.8764 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.8781 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184435.8811 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.8830 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.8839 e1l877bdcl9put22ua29rbh732 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184435.8852 e1l877bdcl9put22ua29rbh732 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r230053420'
20241004@184435.8869 e1l877bdcl9put22ua29rbh732 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184435.8890 e1l877bdcl9put22ua29rbh732 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184435.8903 e1l877bdcl9put22ua29rbh732 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670022511467002983d8','aut670026640767002981a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184435.8931 e1l877bdcl9put22ua29rbh732 Query : use flama_phc
20241004@184435.8935 e1l877bdcl9put22ua29rbh732 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241004@184435.9012 e1l877bdcl9put22ua29rbh732 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2422';
20241004@184435.9049 e1l877bdcl9put22ua29rbh732 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2422';
20241004@184435.9591 9p3if9imkujo608d5scd70utfd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184435.9602 9p3if9imkujo608d5scd70utfd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184435.9656 9p3if9imkujo608d5scd70utfd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2423';
20241004@184435.9710 9p3if9imkujo608d5scd70utfd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2423';
20241004@184435.9763 9p3if9imkujo608d5scd70utfd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2423';
20241004@184435.9792 9p3if9imkujo608d5scd70utfd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2423';
20241004@184435.9850 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184435.9853 9p3if9imkujo608d5scd70utfd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184435.9919 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184435.9922 9p3if9imkujo608d5scd70utfd Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20241004@184436.7000 9p3if9imkujo608d5scd70utfd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241004@184436.1770 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.1800 9p3if9imkujo608d5scd70utfd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184436.2130 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.2170 9p3if9imkujo608d5scd70utfd Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184436.2520 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.2550 9p3if9imkujo608d5scd70utfd 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')
20241004@184436.2900 9p3if9imkujo608d5scd70utfd 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
20241004@184436.3350 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.3490 9p3if9imkujo608d5scd70utfd Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241004@184436.3980 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.4010 9p3if9imkujo608d5scd70utfd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184436.4360 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.4490 9p3if9imkujo608d5scd70utfd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184436.5340 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.5370 9p3if9imkujo608d5scd70utfd Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20241004@184436.5890 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.5950 9p3if9imkujo608d5scd70utfd Query : select 1 valor from td where ndoc = 39
20241004@184436.6080 9p3if9imkujo608d5scd70utfd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184436.6460 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.6870 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184436.7170 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.7430 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184436.8600 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8790 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184436.8920 9p3if9imkujo608d5scd70utfd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184436.9590 9p3if9imkujo608d5scd70utfd Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184436.9760 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.9960 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184436.1028 9p3if9imkujo608d5scd70utfd Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002450606700298415' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184436.1209 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.1245 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184436.1293 9p3if9imkujo608d5scd70utfd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184436.1305 9p3if9imkujo608d5scd70utfd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184436.1318 9p3if9imkujo608d5scd70utfd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184436.1329 9p3if9imkujo608d5scd70utfd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184436.1340 9p3if9imkujo608d5scd70utfd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184436.1358 9p3if9imkujo608d5scd70utfd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184436.1369 9p3if9imkujo608d5scd70utfd Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002450606700298415',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184436.1623 9p3if9imkujo608d5scd70utfd Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184436.1646 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.1663 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184436.1712 9p3if9imkujo608d5scd70utfd Query : select 'normal' from dummy
20241004@184436.1727 9p3if9imkujo608d5scd70utfd Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002450606700298415',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1089,101621,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184436.2027 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.2031 9p3if9imkujo608d5scd70utfd Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241004@184436.3031 9p3if9imkujo608d5scd70utfd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9902.00.1'
20241004@184436.3467 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.3482 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184436.3608 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.3676 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184436.3686 9p3if9imkujo608d5scd70utfd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184436.3732 9p3if9imkujo608d5scd70utfd Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20241004@184436.3745 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.3760 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184436.3782 9p3if9imkujo608d5scd70utfd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700299193670029845b','aut67002450606700298415' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184436.3786 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.3800 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184436.3833 9p3if9imkujo608d5scd70utfd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700299193670029845b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67002450606700298415' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184436.4164 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.4180 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184436.4209 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.4222 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184436.4230 9p3if9imkujo608d5scd70utfd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184436.4241 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.4255 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184436.4266 9p3if9imkujo608d5scd70utfd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002490996700298467','aut67002450606700298415' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184436.4270 9p3if9imkujo608d5scd70utfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.4295 9p3if9imkujo608d5scd70utfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184436.4332 9p3if9imkujo608d5scd70utfd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002490996700298467',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67002450606700298415' ,0,0 ,2,23.00,20000,?,?,?)
20241004@184436.4594 9p3if9imkujo608d5scd70utfd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002450606700298415','2406440','wait',39,'adm09112754980.682000002')
20241004@184436.4678 9p3if9imkujo608d5scd70utfd Query : use flama_phc
20241004@184436.4682 9p3if9imkujo608d5scd70utfd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184436.4729 9p3if9imkujo608d5scd70utfd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2423';
20241004@184436.4765 9p3if9imkujo608d5scd70utfd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2423';
20241004@184436.4814 9p3if9imkujo608d5scd70utfd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2423';
20241004@184436.4844 9p3if9imkujo608d5scd70utfd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2423';
20241004@184436.5370 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184436.5383 3ljpgfobb4d3ro1s86tiook7g9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184436.5441 3ljpgfobb4d3ro1s86tiook7g9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2424';
20241004@184436.5510 3ljpgfobb4d3ro1s86tiook7g9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2424';
20241004@184436.5571 3ljpgfobb4d3ro1s86tiook7g9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2424';
20241004@184436.5603 3ljpgfobb4d3ro1s86tiook7g9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2424';
20241004@184436.5679 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.5682 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184436.5769 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.5772 3ljpgfobb4d3ro1s86tiook7g9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6600
20241004@184436.5879 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241004@184436.5903 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.5911 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184436.5953 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.5966 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184436.6055 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.6058 3ljpgfobb4d3ro1s86tiook7g9 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')
20241004@184436.6134 3ljpgfobb4d3ro1s86tiook7g9 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
20241004@184436.6183 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.6189 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241004@184436.6218 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.6221 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184436.6326 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.6331 3ljpgfobb4d3ro1s86tiook7g9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184436.6424 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.6428 3ljpgfobb4d3ro1s86tiook7g9 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. braga retail'
20241004@184436.6492 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.6495 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from td where ndoc = 39
20241004@184436.6546 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184436.6592 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.6610 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184436.6634 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.6654 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184436.6685 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.6703 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184436.6728 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184436.6806 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184436.6825 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.6905 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184436.6935 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670023062367002984a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184436.7128 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.7149 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184436.7181 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184436.7203 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184436.7215 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184436.7234 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184436.7246 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184436.7264 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184436.7275 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670023062367002984a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184436.7713 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184436.7739 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.7759 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184436.7788 3ljpgfobb4d3ro1s86tiook7g9 Query : select 'normal' from dummy
20241004@184436.7804 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670023062367002984a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1090,101621,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184436.8097 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.8100 3ljpgfobb4d3ro1s86tiook7g9 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241004@184436.8127 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9902.00.1'
20241004@184436.8168 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8200 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184436.8256 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8289 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184436.8297 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184436.8313 3ljpgfobb4d3ro1s86tiook7g9 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20241004@184436.8325 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8354 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184436.8367 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670028770067002984cb','aut670023062367002984a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184436.8375 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8396 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184436.8456 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670028770067002984cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut670023062367002984a4' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184436.8759 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8782 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184436.8812 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8829 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184436.8840 3ljpgfobb4d3ro1s86tiook7g9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184436.8871 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8887 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184436.8899 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670026507367002984d8','aut670023062367002984a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184436.8903 3ljpgfobb4d3ro1s86tiook7g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184436.8919 3ljpgfobb4d3ro1s86tiook7g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184436.8956 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670026507367002984d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670023062367002984a4' ,0,0 ,2,23.00,20000,?,?,?)
20241004@184436.9279 3ljpgfobb4d3ro1s86tiook7g9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670023062367002984a4','2406441','wait',39,'adm09112754980.682000002')
20241004@184436.9348 3ljpgfobb4d3ro1s86tiook7g9 Query : use flama_phc
20241004@184436.9351 3ljpgfobb4d3ro1s86tiook7g9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184436.9412 3ljpgfobb4d3ro1s86tiook7g9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2424';
20241004@184436.9458 3ljpgfobb4d3ro1s86tiook7g9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2424';
20241004@184436.9525 3ljpgfobb4d3ro1s86tiook7g9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2424';
20241004@184436.9551 3ljpgfobb4d3ro1s86tiook7g9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2424';
20241004@184437.4600 b64jq07ol0l3slmtppr91dbijr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184437.6800 b64jq07ol0l3slmtppr91dbijr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184437.1240 b64jq07ol0l3slmtppr91dbijr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2425';
20241004@184437.1890 b64jq07ol0l3slmtppr91dbijr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2425';
20241004@184437.2550 b64jq07ol0l3slmtppr91dbijr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2425';
20241004@184437.3380 b64jq07ol0l3slmtppr91dbijr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2425';
20241004@184437.4170 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.4200 b64jq07ol0l3slmtppr91dbijr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184437.5410 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.5490 b64jq07ol0l3slmtppr91dbijr Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20241004@184437.6760 b64jq07ol0l3slmtppr91dbijr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241004@184437.6970 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.7140 b64jq07ol0l3slmtppr91dbijr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184437.7590 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.7850 b64jq07ol0l3slmtppr91dbijr Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184437.8380 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.8490 b64jq07ol0l3slmtppr91dbijr 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')
20241004@184437.8820 b64jq07ol0l3slmtppr91dbijr 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
20241004@184437.9500 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.9530 b64jq07ol0l3slmtppr91dbijr Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241004@184437.9820 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.9840 b64jq07ol0l3slmtppr91dbijr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184437.1042 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.1049 b64jq07ol0l3slmtppr91dbijr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184437.1096 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.1099 b64jq07ol0l3slmtppr91dbijr Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20241004@184437.1160 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.1163 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from td where ndoc = 39
20241004@184437.1176 b64jq07ol0l3slmtppr91dbijr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184437.1192 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.1208 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184437.1226 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.1252 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184437.1284 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.1298 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184437.1315 b64jq07ol0l3slmtppr91dbijr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184437.1394 b64jq07ol0l3slmtppr91dbijr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184437.1418 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.1433 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184437.1461 b64jq07ol0l3slmtppr91dbijr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002446476700298520' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184437.1647 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.1690 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184437.1751 b64jq07ol0l3slmtppr91dbijr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184437.1764 b64jq07ol0l3slmtppr91dbijr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184437.1776 b64jq07ol0l3slmtppr91dbijr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184437.1787 b64jq07ol0l3slmtppr91dbijr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184437.1823 b64jq07ol0l3slmtppr91dbijr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184437.1850 b64jq07ol0l3slmtppr91dbijr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184437.1861 b64jq07ol0l3slmtppr91dbijr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002446476700298520',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184437.2111 b64jq07ol0l3slmtppr91dbijr Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184437.2142 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.2179 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184437.2208 b64jq07ol0l3slmtppr91dbijr Query : select 'normal' from dummy
20241004@184437.2224 b64jq07ol0l3slmtppr91dbijr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002446476700298520',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1091,101621,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184437.2525 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.2528 b64jq07ol0l3slmtppr91dbijr Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241004@184437.2553 b64jq07ol0l3slmtppr91dbijr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9902.00.1'
20241004@184437.2568 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.2584 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184437.2636 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.2650 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184437.2659 b64jq07ol0l3slmtppr91dbijr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184437.2687 b64jq07ol0l3slmtppr91dbijr Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20241004@184437.2699 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.2739 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184437.2755 b64jq07ol0l3slmtppr91dbijr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002594536700298541','aut67002446476700298520' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184437.2761 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.2776 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184437.2803 b64jq07ol0l3slmtppr91dbijr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002594536700298541',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67002446476700298520' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184437.3122 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.3138 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184437.3162 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.3187 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184437.3196 b64jq07ol0l3slmtppr91dbijr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184437.3215 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.3229 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184437.3241 b64jq07ol0l3slmtppr91dbijr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700234411670029854e','aut67002446476700298520' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184437.3245 b64jq07ol0l3slmtppr91dbijr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.3260 b64jq07ol0l3slmtppr91dbijr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184437.3339 b64jq07ol0l3slmtppr91dbijr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6700234411670029854e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67002446476700298520' ,0,0 ,2,23.00,20000,?,?,?)
20241004@184437.3639 b64jq07ol0l3slmtppr91dbijr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002446476700298520','2406442','wait',39,'adm09112754980.682000002')
20241004@184437.3765 b64jq07ol0l3slmtppr91dbijr Query : use flama_phc
20241004@184437.3773 b64jq07ol0l3slmtppr91dbijr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184437.3834 b64jq07ol0l3slmtppr91dbijr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2425';
20241004@184437.3899 b64jq07ol0l3slmtppr91dbijr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2425';
20241004@184437.3948 b64jq07ol0l3slmtppr91dbijr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2425';
20241004@184437.3977 b64jq07ol0l3slmtppr91dbijr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2425';
20241004@184437.5627 s4sa93onqneab3ruq7gl9ndjpq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184437.5639 s4sa93onqneab3ruq7gl9ndjpq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184437.5699 s4sa93onqneab3ruq7gl9ndjpq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2426';
20241004@184437.5754 s4sa93onqneab3ruq7gl9ndjpq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2426';
20241004@184437.5837 s4sa93onqneab3ruq7gl9ndjpq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2426';
20241004@184437.5880 s4sa93onqneab3ruq7gl9ndjpq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2426';
20241004@184437.5934 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.5937 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184437.6021 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6024 s4sa93onqneab3ruq7gl9ndjpq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241004@184437.6091 s4sa93onqneab3ruq7gl9ndjpq 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'
20241004@184437.6120 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6129 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184437.6187 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6204 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184437.6244 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6248 s4sa93onqneab3ruq7gl9ndjpq 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')
20241004@184437.6292 s4sa93onqneab3ruq7gl9ndjpq 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
20241004@184437.6382 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6386 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241004@184437.6445 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6448 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184437.6492 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6495 s4sa93onqneab3ruq7gl9ndjpq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184437.6549 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6569 s4sa93onqneab3ruq7gl9ndjpq Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241004@184437.6635 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.6638 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from td where ndoc = 39
20241004@184437.6669 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184437.6695 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.6724 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184437.7928 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.7954 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184437.7997 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.8015 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184437.8032 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184437.8118 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184437.8136 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.8155 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184437.8174 s4sa93onqneab3ruq7gl9ndjpq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670021762467002985c4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184437.8355 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.8380 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184437.8444 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184437.8478 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184437.8519 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184437.8536 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184437.8561 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184437.8574 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184437.8595 s4sa93onqneab3ruq7gl9ndjpq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670021762467002985c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184437.8845 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184437.8879 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.8942 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184437.8967 s4sa93onqneab3ruq7gl9ndjpq Query : select 'normal' from dummy
20241004@184437.9009 s4sa93onqneab3ruq7gl9ndjpq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670021762467002985c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1092,100810,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184437.9341 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184437.9345 s4sa93onqneab3ruq7gl9ndjpq Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20241004@184437.9393 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184437.9465 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.9523 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184437.9671 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.9735 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184437.9764 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184437.9808 s4sa93onqneab3ruq7gl9ndjpq Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20241004@184437.9862 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184437.9907 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184437.9954 s4sa93onqneab3ruq7gl9ndjpq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670027471967002985f0','aut670021762467002985c4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184437.9959 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5000 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.1800 s4sa93onqneab3ruq7gl9ndjpq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670027471967002985f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut670021762467002985c4' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184438.5280 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.6060 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.7430 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.8100 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.8420 s4sa93onqneab3ruq7gl9ndjpq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184438.8770 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.9300 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.9660 s4sa93onqneab3ruq7gl9ndjpq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002312376700298615','aut670021762467002985c4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184438.9830 s4sa93onqneab3ruq7gl9ndjpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.1005 s4sa93onqneab3ruq7gl9ndjpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.1043 s4sa93onqneab3ruq7gl9ndjpq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002312376700298615',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670021762467002985c4' ,0,0 ,2,23.00,20000,?,?,?)
20241004@184438.1345 s4sa93onqneab3ruq7gl9ndjpq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670021762467002985c4','2406443','wait',39,'adm09112754980.682000002')
20241004@184438.1453 s4sa93onqneab3ruq7gl9ndjpq Query : use flama_phc
20241004@184438.1463 s4sa93onqneab3ruq7gl9ndjpq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184438.1511 s4sa93onqneab3ruq7gl9ndjpq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2426';
20241004@184438.1556 s4sa93onqneab3ruq7gl9ndjpq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2426';
20241004@184438.1622 s4sa93onqneab3ruq7gl9ndjpq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2426';
20241004@184438.1660 s4sa93onqneab3ruq7gl9ndjpq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2426';
20241004@184438.2173 udeid9v14jt6ck09tmafat9bm3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184438.2185 udeid9v14jt6ck09tmafat9bm3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184438.2257 udeid9v14jt6ck09tmafat9bm3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2427';
20241004@184438.2312 udeid9v14jt6ck09tmafat9bm3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2427';
20241004@184438.2381 udeid9v14jt6ck09tmafat9bm3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2427';
20241004@184438.2413 udeid9v14jt6ck09tmafat9bm3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2427';
20241004@184438.2479 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2482 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184438.2555 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2558 udeid9v14jt6ck09tmafat9bm3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241004@184438.2599 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241004@184438.2624 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241004@184438.2644 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9345.00.1'
20241004@184438.2666 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2669 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184438.2704 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2707 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184438.2738 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2741 udeid9v14jt6ck09tmafat9bm3 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')
20241004@184438.2774 udeid9v14jt6ck09tmafat9bm3 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
20241004@184438.2816 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2820 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241004@184438.2860 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2863 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184438.2896 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2899 udeid9v14jt6ck09tmafat9bm3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184438.2943 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2946 udeid9v14jt6ck09tmafat9bm3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241004@184438.2995 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.2998 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from td where ndoc = 39
20241004@184438.3012 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184438.3031 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.3073 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184438.3093 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.3118 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184438.3170 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.3186 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184438.3202 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184438.3285 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184438.3298 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.3313 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184438.3343 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6700213871670029864e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184438.3517 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.3537 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184438.3608 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184438.3641 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184438.3658 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184438.3677 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184438.3693 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184438.3704 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184438.3716 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6700213871670029864e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184438.3972 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184438.3995 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.4011 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184438.4040 udeid9v14jt6ck09tmafat9bm3 Query : select 'normal' from dummy
20241004@184438.4062 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6700213871670029864e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1093,100810,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184438.4389 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.4392 udeid9v14jt6ck09tmafat9bm3 Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20241004@184438.4448 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20241004@184438.4464 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.4486 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.4519 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.4534 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.4589 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184438.4616 udeid9v14jt6ck09tmafat9bm3 Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20241004@184438.4633 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.4647 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.4659 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002190066700298671','aut6700213871670029864e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184438.4663 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.4678 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.4728 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002190066700298671',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6700213871670029864e' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184438.5016 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5032 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.5070 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5116 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.5128 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184438.5140 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5176 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.5208 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700298806670029867d','aut6700213871670029864e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184438.5228 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5246 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.5304 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6700298806670029867d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6700213871670029864e' ,0,0 ,2,23.00,20000,?,?,?)
20241004@184438.5622 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.5625 udeid9v14jt6ck09tmafat9bm3 Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20241004@184438.5645 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20241004@184438.5658 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5743 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.5769 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5804 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.5815 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184438.5828 udeid9v14jt6ck09tmafat9bm3 Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20241004@184438.5849 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5868 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.5887 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700211791670029868e','aut6700213871670029864e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184438.5892 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.5907 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.5967 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700211791670029868e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6700213871670029864e' ,0,0 ,2,23.00,40000,?,?,?,?)
20241004@184438.6425 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.6443 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.6542 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.6560 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.6568 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184438.6750 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.6974 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.7045 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670021886367002986a4','aut6700213871670029864e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184438.7050 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.7072 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.7138 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670021886367002986a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6700213871670029864e' ,0,0 ,2,23.00,50000,?,?,?)
20241004@184438.7519 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.7522 udeid9v14jt6ck09tmafat9bm3 Query : select st.usalote valor from st where st.ref = '328.9345.00.1'
20241004@184438.7541 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9345.00.1'
20241004@184438.7557 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.7586 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.7614 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.7632 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.7640 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184438.7659 udeid9v14jt6ck09tmafat9bm3 Query : select sestamp valor from se where ref ='328.9345.00.1' and lote = 'r2101101300a'
20241004@184438.7672 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.7686 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.7699 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670021818467002986bb','aut6700213871670029864e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184438.7703 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.7719 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.7748 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670021818467002986bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6700213871670029864e' ,0,0 ,2,23.00,70000,?,?,?,?)
20241004@184438.8017 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.8035 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.8068 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.8084 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.8093 udeid9v14jt6ck09tmafat9bm3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184438.8107 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.8123 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184438.8136 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670025044567002986c5','aut6700213871670029864e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184438.8140 udeid9v14jt6ck09tmafat9bm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184438.9268 udeid9v14jt6ck09tmafat9bm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184438.9353 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670025044567002986c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6700213871670029864e' ,0,0 ,2,23.00,80000,?,?,?)
20241004@184438.9637 udeid9v14jt6ck09tmafat9bm3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6700213871670029864e','2406444','wait',39,'adm09112754980.682000002')
20241004@184438.9713 udeid9v14jt6ck09tmafat9bm3 Query : use flama_phc
20241004@184438.9716 udeid9v14jt6ck09tmafat9bm3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184438.9759 udeid9v14jt6ck09tmafat9bm3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2427';
20241004@184438.9790 udeid9v14jt6ck09tmafat9bm3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2427';
20241004@184438.9834 udeid9v14jt6ck09tmafat9bm3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2427';
20241004@184438.9863 udeid9v14jt6ck09tmafat9bm3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2427';
20241004@184439.3610 d509fci3e9733dja636671d7oj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184439.3730 d509fci3e9733dja636671d7oj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184439.4280 d509fci3e9733dja636671d7oj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2428';
20241004@184439.4820 d509fci3e9733dja636671d7oj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2428';
20241004@184439.5370 d509fci3e9733dja636671d7oj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2428';
20241004@184439.5690 d509fci3e9733dja636671d7oj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2428';
20241004@184439.6200 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.6230 d509fci3e9733dja636671d7oj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184439.6880 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.6910 d509fci3e9733dja636671d7oj Query : select no, estab,szadrsdesc from szadrs where u_coddest=78
20241004@184439.7830 d509fci3e9733dja636671d7oj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241004@184439.8030 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.8060 d509fci3e9733dja636671d7oj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184439.8430 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.8510 d509fci3e9733dja636671d7oj Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184439.8820 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.8840 d509fci3e9733dja636671d7oj 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')
20241004@184439.9130 d509fci3e9733dja636671d7oj 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
20241004@184439.9700 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.9730 d509fci3e9733dja636671d7oj Query : select top 1 ~inactivo valor from cl where no = '100317' and estab = 0 order by inactivo desc
20241004@184439.1097 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.1100 d509fci3e9733dja636671d7oj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184439.1131 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.1133 d509fci3e9733dja636671d7oj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184439.1184 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.1187 d509fci3e9733dja636671d7oj Query : select szadrsstamp valor from szadrs where szadrsdesc='santos & fernandes-arm.util.prolar, lda'
20241004@184439.1241 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.1244 d509fci3e9733dja636671d7oj Query : select 1 valor from td where ndoc = 39
20241004@184439.1256 d509fci3e9733dja636671d7oj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184439.1276 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.1291 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184439.1311 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.1325 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184439.1356 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.1372 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184439.1384 d509fci3e9733dja636671d7oj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184439.1448 d509fci3e9733dja636671d7oj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184439.1462 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.1476 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184439.1498 d509fci3e9733dja636671d7oj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002114526700298721' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184439.1689 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.1711 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184439.1751 d509fci3e9733dja636671d7oj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184439.1764 d509fci3e9733dja636671d7oj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184439.1776 d509fci3e9733dja636671d7oj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184439.1788 d509fci3e9733dja636671d7oj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184439.1801 d509fci3e9733dja636671d7oj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184439.1813 d509fci3e9733dja636671d7oj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184439.1829 d509fci3e9733dja636671d7oj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002114526700298721',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184439.2076 d509fci3e9733dja636671d7oj Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184439.2107 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.2124 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184439.2151 d509fci3e9733dja636671d7oj Query : select 'normal' from dummy
20241004@184439.2196 d509fci3e9733dja636671d7oj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002114526700298721',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1094,100317,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184439.2504 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.2507 d509fci3e9733dja636671d7oj Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241004@184439.2529 d509fci3e9733dja636671d7oj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241004@184439.2543 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.2560 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184439.2601 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.2621 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184439.2629 d509fci3e9733dja636671d7oj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184439.2641 d509fci3e9733dja636671d7oj Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241004@184439.2654 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.2669 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184439.2692 d509fci3e9733dja636671d7oj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002207516700298740','aut67002114526700298721' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184439.2697 d509fci3e9733dja636671d7oj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.2713 d509fci3e9733dja636671d7oj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184439.2746 d509fci3e9733dja636671d7oj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002207516700298740',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67002114526700298721' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184439.3013 d509fci3e9733dja636671d7oj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002114526700298721','2406471','wait',39,'adm09112754980.682000002')
20241004@184439.3110 d509fci3e9733dja636671d7oj Query : use flama_phc
20241004@184439.3113 d509fci3e9733dja636671d7oj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184439.3158 d509fci3e9733dja636671d7oj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2428';
20241004@184439.3191 d509fci3e9733dja636671d7oj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2428';
20241004@184439.3278 d509fci3e9733dja636671d7oj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2428';
20241004@184439.3315 d509fci3e9733dja636671d7oj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2428';
20241004@184439.4178 60islg33hlo9q9cksffac7rkmb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184439.4192 60islg33hlo9q9cksffac7rkmb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184439.4325 60islg33hlo9q9cksffac7rkmb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2429';
20241004@184439.4380 60islg33hlo9q9cksffac7rkmb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2429';
20241004@184439.4433 60islg33hlo9q9cksffac7rkmb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2429';
20241004@184439.4477 60islg33hlo9q9cksffac7rkmb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2429';
20241004@184439.4527 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.4529 60islg33hlo9q9cksffac7rkmb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184439.4611 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.4619 60islg33hlo9q9cksffac7rkmb Query : select no, estab,szadrsdesc from szadrs where u_coddest=707
20241004@184439.4707 60islg33hlo9q9cksffac7rkmb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20241004@184439.4881 60islg33hlo9q9cksffac7rkmb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20241004@184439.5365 60islg33hlo9q9cksffac7rkmb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20241004@184439.5405 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.5409 60islg33hlo9q9cksffac7rkmb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184439.5440 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.5443 60islg33hlo9q9cksffac7rkmb Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184439.5476 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.5479 60islg33hlo9q9cksffac7rkmb 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')
20241004@184439.5510 60islg33hlo9q9cksffac7rkmb 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
20241004@184439.5547 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.5550 60islg33hlo9q9cksffac7rkmb Query : select top 1 ~inactivo valor from cl where no = '100950' and estab = 0 order by inactivo desc
20241004@184439.5682 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.5686 60islg33hlo9q9cksffac7rkmb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184439.5714 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.5717 60islg33hlo9q9cksffac7rkmb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184439.5763 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.5804 60islg33hlo9q9cksffac7rkmb Query : select szadrsstamp valor from szadrs where szadrsdesc='valentim rafael machado, lda.'
20241004@184439.5959 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.5962 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from td where ndoc = 39
20241004@184439.5974 60islg33hlo9q9cksffac7rkmb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184439.5987 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.6003 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184439.6033 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.6047 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184439.6086 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.6101 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184439.6114 60islg33hlo9q9cksffac7rkmb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184439.6189 60islg33hlo9q9cksffac7rkmb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184439.6201 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.6215 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184439.6231 60islg33hlo9q9cksffac7rkmb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002452026700298795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184439.6420 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.6451 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184439.6490 60islg33hlo9q9cksffac7rkmb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184439.6502 60islg33hlo9q9cksffac7rkmb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184439.6524 60islg33hlo9q9cksffac7rkmb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184439.6536 60islg33hlo9q9cksffac7rkmb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184439.6547 60islg33hlo9q9cksffac7rkmb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184439.6566 60islg33hlo9q9cksffac7rkmb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184439.6578 60islg33hlo9q9cksffac7rkmb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002452026700298795',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184439.6844 60islg33hlo9q9cksffac7rkmb Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184439.6870 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.6889 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184439.6929 60islg33hlo9q9cksffac7rkmb Query : select 'normal' from dummy
20241004@184439.6944 60islg33hlo9q9cksffac7rkmb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002452026700298795',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1095,100950,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184439.7250 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.7253 60islg33hlo9q9cksffac7rkmb Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241004@184439.7279 60islg33hlo9q9cksffac7rkmb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20241004@184439.7577 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.7600 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184439.7637 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.7656 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184439.7668 60islg33hlo9q9cksffac7rkmb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184439.7682 60islg33hlo9q9cksffac7rkmb Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241004@184439.7723 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.7743 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184439.7755 60islg33hlo9q9cksffac7rkmb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670023944067002987bc','aut67002452026700298795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184439.7759 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.7773 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184439.7811 60islg33hlo9q9cksffac7rkmb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670023944067002987bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67002452026700298795' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184439.8075 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.8078 60islg33hlo9q9cksffac7rkmb Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20241004@184439.8098 60islg33hlo9q9cksffac7rkmb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1685.00.1'
20241004@184439.8263 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.8279 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184439.8320 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.8335 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184439.8343 60islg33hlo9q9cksffac7rkmb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184439.8355 60islg33hlo9q9cksffac7rkmb Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20241004@184439.8376 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.8401 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184439.8412 60islg33hlo9q9cksffac7rkmb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670025679067002987cc','aut67002452026700298795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184439.8416 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.8431 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184439.8476 60islg33hlo9q9cksffac7rkmb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670025679067002987cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67002452026700298795' ,0,0 ,2,23.00,20000,?,?,?,?)
20241004@184439.8738 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.8741 60islg33hlo9q9cksffac7rkmb Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20241004@184439.8769 60islg33hlo9q9cksffac7rkmb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1685.00.1'
20241004@184439.8790 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.8805 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184439.8832 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.8847 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184439.8858 60islg33hlo9q9cksffac7rkmb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184439.8870 60islg33hlo9q9cksffac7rkmb Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20241004@184439.8881 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.8896 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184439.8907 60islg33hlo9q9cksffac7rkmb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670026252767002987d8','aut67002452026700298795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184439.8911 60islg33hlo9q9cksffac7rkmb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184439.8925 60islg33hlo9q9cksffac7rkmb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184439.8974 60islg33hlo9q9cksffac7rkmb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut670026252767002987d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67002452026700298795' ,0,0 ,2,23.00,30000,?,?,?,?)
20241004@184439.9239 60islg33hlo9q9cksffac7rkmb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002452026700298795','2406475','wait',39,'adm09112754980.682000002')
20241004@184439.9335 60islg33hlo9q9cksffac7rkmb Query : use flama_phc
20241004@184439.9338 60islg33hlo9q9cksffac7rkmb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184439.9369 60islg33hlo9q9cksffac7rkmb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2429';
20241004@184439.9411 60islg33hlo9q9cksffac7rkmb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2429';
20241004@184439.9456 60islg33hlo9q9cksffac7rkmb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2429';
20241004@184439.9486 60islg33hlo9q9cksffac7rkmb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2429';
20241004@184439.9971 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184439.9982 7bsnd4osgolh4t8q4eqsnu0f9o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184440.5400 7bsnd4osgolh4t8q4eqsnu0f9o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2430';
20241004@184440.1120 7bsnd4osgolh4t8q4eqsnu0f9o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2430';
20241004@184440.1690 7bsnd4osgolh4t8q4eqsnu0f9o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2430';
20241004@184440.2090 7bsnd4osgolh4t8q4eqsnu0f9o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2430';
20241004@184440.2680 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.2710 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184440.3390 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.3420 7bsnd4osgolh4t8q4eqsnu0f9o Query : select no, estab,szadrsdesc from szadrs where u_coddest=2158
20241004@184440.4330 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241004@184440.5930 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241004@184440.6140 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20241004@184440.6360 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.6390 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184440.6700 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.6730 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184440.7160 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.7190 7bsnd4osgolh4t8q4eqsnu0f9o 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')
20241004@184440.7460 7bsnd4osgolh4t8q4eqsnu0f9o 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
20241004@184440.7910 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.7940 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 ~inactivo valor from cl where no = '100402' and estab = 0 order by inactivo desc
20241004@184440.9330 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.9370 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184440.9710 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.9740 7bsnd4osgolh4t8q4eqsnu0f9o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184440.1040 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.1044 7bsnd4osgolh4t8q4eqsnu0f9o Query : select szadrsstamp valor from szadrs where szadrsdesc='perola da portela, lda.'
20241004@184440.1096 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.1099 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from td where ndoc = 39
20241004@184440.1118 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184440.1132 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.1414 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184440.1518 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.1583 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184440.1622 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.1640 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184440.1655 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184440.1723 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184440.1756 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.1776 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184440.1796 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002843126700298828' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184440.1984 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.2004 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184440.2101 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184440.2129 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184440.2348 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184440.2531 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184440.2547 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184440.2560 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184440.2571 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002843126700298828',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184440.2947 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184440.3051 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.3086 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184440.3109 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 'normal' from dummy
20241004@184440.3163 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002843126700298828',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1096,100402,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184440.3489 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.3493 7bsnd4osgolh4t8q4eqsnu0f9o Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241004@184440.3517 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20241004@184440.3708 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.3725 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184440.3753 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.3768 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184440.3783 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184440.3795 7bsnd4osgolh4t8q4eqsnu0f9o Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241004@184440.3810 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.3833 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184440.3844 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700268779670029885d','aut67002843126700298828' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184440.3849 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.3881 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184440.3915 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700268779670029885d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut67002843126700298828' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184440.4197 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.4201 7bsnd4osgolh4t8q4eqsnu0f9o Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241004@184440.4221 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20241004@184440.4249 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.4302 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184440.4342 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.4372 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184440.4452 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184440.4465 7bsnd4osgolh4t8q4eqsnu0f9o Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241004@184440.4486 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.4514 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184440.4538 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700251849670029886d','aut67002843126700298828' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184440.4542 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.4557 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184440.4600 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700251849670029886d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67002843126700298828' ,0,0 ,2,23.00,20000,?,?,?,?)
20241004@184440.5254 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.5266 7bsnd4osgolh4t8q4eqsnu0f9o Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241004@184440.5316 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20241004@184440.6258 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.6276 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184440.6309 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.6326 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184440.6345 7bsnd4osgolh4t8q4eqsnu0f9o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184440.6402 7bsnd4osgolh4t8q4eqsnu0f9o Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241004@184440.6416 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.6434 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184440.6447 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700219023670029889c','aut67002843126700298828' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184440.6452 7bsnd4osgolh4t8q4eqsnu0f9o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.6467 7bsnd4osgolh4t8q4eqsnu0f9o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184440.6503 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700219023670029889c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67002843126700298828' ,0,0 ,2,23.00,30000,?,?,?,?)
20241004@184440.6791 7bsnd4osgolh4t8q4eqsnu0f9o Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002843126700298828','2406479','wait',39,'adm09112754980.682000002')
20241004@184440.6865 7bsnd4osgolh4t8q4eqsnu0f9o Query : use flama_phc
20241004@184440.6869 7bsnd4osgolh4t8q4eqsnu0f9o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184440.6916 7bsnd4osgolh4t8q4eqsnu0f9o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2430';
20241004@184440.6950 7bsnd4osgolh4t8q4eqsnu0f9o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2430';
20241004@184440.7000 7bsnd4osgolh4t8q4eqsnu0f9o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2430';
20241004@184440.7047 7bsnd4osgolh4t8q4eqsnu0f9o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2430';
20241004@184440.7546 rg7q403spmf1q2rp0ob50vtdip Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184440.7561 rg7q403spmf1q2rp0ob50vtdip Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184440.7620 rg7q403spmf1q2rp0ob50vtdip Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2431';
20241004@184440.7710 rg7q403spmf1q2rp0ob50vtdip Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2431';
20241004@184440.7792 rg7q403spmf1q2rp0ob50vtdip Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2431';
20241004@184440.7835 rg7q403spmf1q2rp0ob50vtdip Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2431';
20241004@184440.7887 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.7891 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184440.7956 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.7959 rg7q403spmf1q2rp0ob50vtdip Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20241004@184440.8071 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241004@184440.8251 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.8254 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184440.8295 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.8300 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184440.8329 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.8332 rg7q403spmf1q2rp0ob50vtdip 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')
20241004@184440.8367 rg7q403spmf1q2rp0ob50vtdip 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
20241004@184440.8408 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.8412 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241004@184440.8455 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.8458 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184440.8488 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.8517 rg7q403spmf1q2rp0ob50vtdip Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184440.8561 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.8582 rg7q403spmf1q2rp0ob50vtdip Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20241004@184440.8666 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184440.8669 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from td where ndoc = 39
20241004@184440.8692 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184440.8740 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.8765 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184440.8786 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.8828 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184440.8891 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.8913 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184440.8927 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184440.8996 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184440.9012 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.9064 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184440.9089 rg7q403spmf1q2rp0ob50vtdip Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670020926767002988d9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184440.9279 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.9321 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184440.9385 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184440.9398 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184440.9434 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184440.9459 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184440.9472 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184440.9492 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184440.9509 rg7q403spmf1q2rp0ob50vtdip Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670020926767002988d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184440.9757 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184440.9792 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184440.9816 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184440.9884 rg7q403spmf1q2rp0ob50vtdip Query : select 'normal' from dummy
20241004@184440.9938 rg7q403spmf1q2rp0ob50vtdip Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670020926767002988d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1097,101621,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184441.3180 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184441.3650 rg7q403spmf1q2rp0ob50vtdip Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241004@184441.4930 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241004@184441.7800 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.8000 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184441.8450 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.8630 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184441.8800 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184441.8990 rg7q403spmf1q2rp0ob50vtdip Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241004@184441.9140 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.9730 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184441.1021 rg7q403spmf1q2rp0ob50vtdip Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002837306700298916','aut670020926767002988d9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184441.1026 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.1085 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184441.1151 rg7q403spmf1q2rp0ob50vtdip Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002837306700298916',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut670020926767002988d9' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184441.1423 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.1453 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184441.1492 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.1507 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184441.1541 rg7q403spmf1q2rp0ob50vtdip Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184441.1556 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.1572 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184441.1585 rg7q403spmf1q2rp0ob50vtdip Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002204996700298926','aut670020926767002988d9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184441.1589 rg7q403spmf1q2rp0ob50vtdip Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.1621 rg7q403spmf1q2rp0ob50vtdip Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184441.1698 rg7q403spmf1q2rp0ob50vtdip Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67002204996700298926',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670020926767002988d9' ,0,0 ,2,23.00,20000,?,?,?)
20241004@184441.1965 rg7q403spmf1q2rp0ob50vtdip Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670020926767002988d9','2406482','wait',39,'adm09112754980.682000002')
20241004@184441.2090 rg7q403spmf1q2rp0ob50vtdip Query : use flama_phc
20241004@184441.2094 rg7q403spmf1q2rp0ob50vtdip Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184441.2129 rg7q403spmf1q2rp0ob50vtdip Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2431';
20241004@184441.2164 rg7q403spmf1q2rp0ob50vtdip Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2431';
20241004@184441.2220 rg7q403spmf1q2rp0ob50vtdip Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2431';
20241004@184441.2298 rg7q403spmf1q2rp0ob50vtdip Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2431';
20241004@184441.2857 54gaeapdgot6230q6dkb453n31 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184441.2870 54gaeapdgot6230q6dkb453n31 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184441.2929 54gaeapdgot6230q6dkb453n31 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2432';
20241004@184441.2998 54gaeapdgot6230q6dkb453n31 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2432';
20241004@184441.3084 54gaeapdgot6230q6dkb453n31 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2432';
20241004@184441.3111 54gaeapdgot6230q6dkb453n31 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2432';
20241004@184441.3164 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3170 54gaeapdgot6230q6dkb453n31 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184441.3270 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3273 54gaeapdgot6230q6dkb453n31 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2926
20241004@184441.3402 54gaeapdgot6230q6dkb453n31 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241004@184441.3443 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3479 54gaeapdgot6230q6dkb453n31 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184441.3521 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3526 54gaeapdgot6230q6dkb453n31 Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184441.3568 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3581 54gaeapdgot6230q6dkb453n31 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')
20241004@184441.3647 54gaeapdgot6230q6dkb453n31 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
20241004@184441.3710 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3713 54gaeapdgot6230q6dkb453n31 Query : select top 1 ~inactivo valor from cl where no = '102454' and estab = 0 order by inactivo desc
20241004@184441.3856 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3864 54gaeapdgot6230q6dkb453n31 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184441.3895 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3898 54gaeapdgot6230q6dkb453n31 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184441.3970 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.3974 54gaeapdgot6230q6dkb453n31 Query : select szadrsstamp valor from szadrs where szadrsdesc='carlos oliveira & cristina oliveira - electr. lda'
20241004@184441.4062 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.4065 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from td where ndoc = 39
20241004@184441.4095 54gaeapdgot6230q6dkb453n31 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184441.4110 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.4152 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184441.4183 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.4204 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184441.4251 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.4270 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184441.4289 54gaeapdgot6230q6dkb453n31 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184441.4410 54gaeapdgot6230q6dkb453n31 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184441.4428 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.4445 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184441.4463 54gaeapdgot6230q6dkb453n31 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002565226700298968' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184441.4638 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.4662 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184441.4704 54gaeapdgot6230q6dkb453n31 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184441.4733 54gaeapdgot6230q6dkb453n31 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184441.4755 54gaeapdgot6230q6dkb453n31 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184441.4770 54gaeapdgot6230q6dkb453n31 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184441.4784 54gaeapdgot6230q6dkb453n31 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184441.4801 54gaeapdgot6230q6dkb453n31 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184441.4830 54gaeapdgot6230q6dkb453n31 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002565226700298968',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184441.5083 54gaeapdgot6230q6dkb453n31 Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184441.5106 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.5135 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184441.5196 54gaeapdgot6230q6dkb453n31 Query : select 'normal' from dummy
20241004@184441.5225 54gaeapdgot6230q6dkb453n31 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002565226700298968',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1098,102454,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184441.5536 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.5539 54gaeapdgot6230q6dkb453n31 Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241004@184441.5568 54gaeapdgot6230q6dkb453n31 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241004@184441.5589 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.5615 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184441.5649 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.5672 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184441.5682 54gaeapdgot6230q6dkb453n31 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184441.5701 54gaeapdgot6230q6dkb453n31 Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241004@184441.5725 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.5756 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184441.5767 54gaeapdgot6230q6dkb453n31 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6700278374670029898b','aut67002565226700298968' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184441.5772 54gaeapdgot6230q6dkb453n31 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.5804 54gaeapdgot6230q6dkb453n31 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184441.5835 54gaeapdgot6230q6dkb453n31 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6700278374670029898b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67002565226700298968' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184441.6129 54gaeapdgot6230q6dkb453n31 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002565226700298968','2406490','wait',39,'adm09112754980.682000002')
20241004@184441.6970 54gaeapdgot6230q6dkb453n31 Query : use flama_phc
20241004@184441.6974 54gaeapdgot6230q6dkb453n31 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184441.7005 54gaeapdgot6230q6dkb453n31 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2432';
20241004@184441.7056 54gaeapdgot6230q6dkb453n31 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2432';
20241004@184441.7101 54gaeapdgot6230q6dkb453n31 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2432';
20241004@184441.7130 54gaeapdgot6230q6dkb453n31 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2432';
20241004@184441.7650 gr4f9n3802nu1ftrqd6j23dud2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184441.7662 gr4f9n3802nu1ftrqd6j23dud2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184441.7720 gr4f9n3802nu1ftrqd6j23dud2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2433';
20241004@184441.7783 gr4f9n3802nu1ftrqd6j23dud2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2433';
20241004@184441.7837 gr4f9n3802nu1ftrqd6j23dud2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2433';
20241004@184441.7866 gr4f9n3802nu1ftrqd6j23dud2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2433';
20241004@184441.7915 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.7938 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184441.8002 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8005 gr4f9n3802nu1ftrqd6j23dud2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2114
20241004@184441.8090 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241004@184441.8111 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8114 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184441.8146 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8148 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184441.8178 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8180 gr4f9n3802nu1ftrqd6j23dud2 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')
20241004@184441.8208 gr4f9n3802nu1ftrqd6j23dud2 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
20241004@184441.8258 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8262 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 ~inactivo valor from cl where no = '101850' and estab = 0 order by inactivo desc
20241004@184441.8389 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8392 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184441.8425 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8428 gr4f9n3802nu1ftrqd6j23dud2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184441.8467 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8470 gr4f9n3802nu1ftrqd6j23dud2 Query : select szadrsstamp valor from szadrs where szadrsdesc='os jerÓnimos-ind.e com.de mÓveis,lda.'
20241004@184441.8520 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184441.8524 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from td where ndoc = 39
20241004@184441.8537 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184441.8551 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.8570 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184441.8593 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.8610 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184441.8645 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.8664 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184441.8681 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184441.8815 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184441.8836 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184441.8861 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184441.8882 gr4f9n3802nu1ftrqd6j23dud2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670025470267002989d3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184441.9178 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.3740 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184442.4080 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184442.4200 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184442.4320 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184442.4450 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184442.4580 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184442.4700 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184442.4830 gr4f9n3802nu1ftrqd6j23dud2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670025470267002989d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184442.7460 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184442.7710 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.7860 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184442.8220 gr4f9n3802nu1ftrqd6j23dud2 Query : select 'normal' from dummy
20241004@184442.8370 gr4f9n3802nu1ftrqd6j23dud2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670025470267002989d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1099,101850,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184442.1137 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184442.1140 gr4f9n3802nu1ftrqd6j23dud2 Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241004@184442.1170 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241004@184442.1184 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.1201 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184442.1233 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.1247 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184442.1256 gr4f9n3802nu1ftrqd6j23dud2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184442.1279 gr4f9n3802nu1ftrqd6j23dud2 Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241004@184442.1296 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.1311 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184442.1325 gr4f9n3802nu1ftrqd6j23dud2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002705446700298a1f','aut670025470267002989d3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184442.1329 gr4f9n3802nu1ftrqd6j23dud2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.1344 gr4f9n3802nu1ftrqd6j23dud2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184442.1393 gr4f9n3802nu1ftrqd6j23dud2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002705446700298a1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut670025470267002989d3' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184442.1667 gr4f9n3802nu1ftrqd6j23dud2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670025470267002989d3','2406491','wait',39,'adm09112754980.682000002')
20241004@184442.1740 gr4f9n3802nu1ftrqd6j23dud2 Query : use flama_phc
20241004@184442.1743 gr4f9n3802nu1ftrqd6j23dud2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184442.1778 gr4f9n3802nu1ftrqd6j23dud2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2433';
20241004@184442.1818 gr4f9n3802nu1ftrqd6j23dud2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2433';
20241004@184442.1862 gr4f9n3802nu1ftrqd6j23dud2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2433';
20241004@184442.1900 gr4f9n3802nu1ftrqd6j23dud2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2433';
20241004@184442.2418 e36i7a4nscini6f591fere3aan Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184442.2429 e36i7a4nscini6f591fere3aan Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184442.2493 e36i7a4nscini6f591fere3aan Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2434';
20241004@184442.2551 e36i7a4nscini6f591fere3aan Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2434';
20241004@184442.2608 e36i7a4nscini6f591fere3aan Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2434';
20241004@184442.2639 e36i7a4nscini6f591fere3aan Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2434';
20241004@184442.2691 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.2698 e36i7a4nscini6f591fere3aan Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184442.2775 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.2778 e36i7a4nscini6f591fere3aan Query : select no, estab,szadrsdesc from szadrs where u_coddest=2155
20241004@184442.2860 e36i7a4nscini6f591fere3aan Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241004@184442.2882 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.2885 e36i7a4nscini6f591fere3aan Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184442.2917 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.2926 e36i7a4nscini6f591fere3aan Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184442.2962 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.2965 e36i7a4nscini6f591fere3aan 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')
20241004@184442.2995 e36i7a4nscini6f591fere3aan 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
20241004@184442.3034 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.3037 e36i7a4nscini6f591fere3aan Query : select top 1 ~inactivo valor from cl where no = '102137' and estab = 0 order by inactivo desc
20241004@184442.3170 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.3184 e36i7a4nscini6f591fere3aan Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184442.3278 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.3281 e36i7a4nscini6f591fere3aan Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184442.3329 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.3332 e36i7a4nscini6f591fere3aan Query : select szadrsstamp valor from szadrs where szadrsdesc='mafricentro electrodomÉsticos,lda.'
20241004@184442.3399 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.3402 e36i7a4nscini6f591fere3aan Query : select 1 valor from td where ndoc = 39
20241004@184442.3414 e36i7a4nscini6f591fere3aan Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184442.3430 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.3457 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184442.3482 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.3497 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184442.3529 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.3560 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184442.3587 e36i7a4nscini6f591fere3aan Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184442.3661 e36i7a4nscini6f591fere3aan Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184442.3673 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.3693 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184442.3708 e36i7a4nscini6f591fere3aan Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002267606700298a57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184442.3886 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.3902 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184442.3947 e36i7a4nscini6f591fere3aan Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184442.3967 e36i7a4nscini6f591fere3aan Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184442.3978 e36i7a4nscini6f591fere3aan Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184442.4040 e36i7a4nscini6f591fere3aan Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184442.4054 e36i7a4nscini6f591fere3aan Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184442.4085 e36i7a4nscini6f591fere3aan Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184442.4468 e36i7a4nscini6f591fere3aan Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002267606700298a57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184442.4884 e36i7a4nscini6f591fere3aan Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184442.4964 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.5009 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184442.5059 e36i7a4nscini6f591fere3aan Query : select 'normal' from dummy
20241004@184442.5075 e36i7a4nscini6f591fere3aan Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002267606700298a57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1100,102137,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184442.5394 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.5407 e36i7a4nscini6f591fere3aan Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241004@184442.5427 e36i7a4nscini6f591fere3aan Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241004@184442.5447 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.5463 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184442.5494 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.5518 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184442.5526 e36i7a4nscini6f591fere3aan Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184442.5537 e36i7a4nscini6f591fere3aan Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241004@184442.5551 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.5567 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184442.5579 e36i7a4nscini6f591fere3aan Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002348676700298a87','aut67002267606700298a57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184442.5583 e36i7a4nscini6f591fere3aan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.5598 e36i7a4nscini6f591fere3aan Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184442.5648 e36i7a4nscini6f591fere3aan Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002348676700298a87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67002267606700298a57' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184442.5912 e36i7a4nscini6f591fere3aan Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002267606700298a57','2406492','wait',39,'adm09112754980.682000002')
20241004@184442.6000 e36i7a4nscini6f591fere3aan Query : use flama_phc
20241004@184442.6004 e36i7a4nscini6f591fere3aan Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184442.6054 e36i7a4nscini6f591fere3aan Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2434';
20241004@184442.6093 e36i7a4nscini6f591fere3aan Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2434';
20241004@184442.6139 e36i7a4nscini6f591fere3aan Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2434';
20241004@184442.6166 e36i7a4nscini6f591fere3aan Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2434';
20241004@184442.6654 u9ckst73kerc0fpp5g4flramfd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184442.6665 u9ckst73kerc0fpp5g4flramfd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184442.6730 u9ckst73kerc0fpp5g4flramfd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2435';
20241004@184442.6795 u9ckst73kerc0fpp5g4flramfd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2435';
20241004@184442.6852 u9ckst73kerc0fpp5g4flramfd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2435';
20241004@184442.6879 u9ckst73kerc0fpp5g4flramfd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2435';
20241004@184442.6928 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.6931 u9ckst73kerc0fpp5g4flramfd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184442.7005 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7008 u9ckst73kerc0fpp5g4flramfd Query : select no, estab,szadrsdesc from szadrs where u_coddest=2117
20241004@184442.7097 u9ckst73kerc0fpp5g4flramfd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241004@184442.7117 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7129 u9ckst73kerc0fpp5g4flramfd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184442.7256 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7260 u9ckst73kerc0fpp5g4flramfd Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184442.7309 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7312 u9ckst73kerc0fpp5g4flramfd 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')
20241004@184442.7378 u9ckst73kerc0fpp5g4flramfd 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
20241004@184442.7422 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7425 u9ckst73kerc0fpp5g4flramfd Query : select top 1 ~inactivo valor from cl where no = '102420' and estab = 0 order by inactivo desc
20241004@184442.7561 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7564 u9ckst73kerc0fpp5g4flramfd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184442.7615 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7618 u9ckst73kerc0fpp5g4flramfd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184442.7663 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7672 u9ckst73kerc0fpp5g4flramfd Query : select szadrsstamp valor from szadrs where szadrsdesc='ri - eletrodomesticos lda'
20241004@184442.7725 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184442.7728 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from td where ndoc = 39
20241004@184442.7742 u9ckst73kerc0fpp5g4flramfd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184442.7756 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.7791 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184442.7813 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.7841 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184442.7886 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.7901 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184442.7916 u9ckst73kerc0fpp5g4flramfd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184442.7994 u9ckst73kerc0fpp5g4flramfd Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184442.8010 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.8051 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184442.8078 u9ckst73kerc0fpp5g4flramfd Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002859946700298ac1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184442.8334 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.8365 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184442.8408 u9ckst73kerc0fpp5g4flramfd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184442.8420 u9ckst73kerc0fpp5g4flramfd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184442.8433 u9ckst73kerc0fpp5g4flramfd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184442.8464 u9ckst73kerc0fpp5g4flramfd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184442.8479 u9ckst73kerc0fpp5g4flramfd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184442.8496 u9ckst73kerc0fpp5g4flramfd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184442.8508 u9ckst73kerc0fpp5g4flramfd Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002859946700298ac1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184442.8756 u9ckst73kerc0fpp5g4flramfd Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184442.8781 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184442.8798 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184442.8823 u9ckst73kerc0fpp5g4flramfd Query : select 'normal' from dummy
20241004@184442.8858 u9ckst73kerc0fpp5g4flramfd Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002859946700298ac1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1101,102420,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184442.9814 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184443.1224 u9ckst73kerc0fpp5g4flramfd Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241004@184443.1266 u9ckst73kerc0fpp5g4flramfd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241004@184443.1289 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.1326 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184443.1377 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.1401 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184443.1410 u9ckst73kerc0fpp5g4flramfd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184443.1424 u9ckst73kerc0fpp5g4flramfd Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241004@184443.1439 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.1467 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184443.1480 u9ckst73kerc0fpp5g4flramfd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002931656700298b23','aut67002859946700298ac1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184443.1485 u9ckst73kerc0fpp5g4flramfd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.1509 u9ckst73kerc0fpp5g4flramfd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184443.1545 u9ckst73kerc0fpp5g4flramfd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002931656700298b23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67002859946700298ac1' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184443.1912 u9ckst73kerc0fpp5g4flramfd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002859946700298ac1','2406493','wait',39,'adm09112754980.682000002')
20241004@184443.1999 u9ckst73kerc0fpp5g4flramfd Query : use flama_phc
20241004@184443.2009 u9ckst73kerc0fpp5g4flramfd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184443.2042 u9ckst73kerc0fpp5g4flramfd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2435';
20241004@184443.2080 u9ckst73kerc0fpp5g4flramfd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2435';
20241004@184443.2155 u9ckst73kerc0fpp5g4flramfd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2435';
20241004@184443.2193 u9ckst73kerc0fpp5g4flramfd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2435';
20241004@184443.2725 tq8g86uvja6n5id0933c2bm4bo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184443.2737 tq8g86uvja6n5id0933c2bm4bo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184443.2801 tq8g86uvja6n5id0933c2bm4bo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2436';
20241004@184443.2871 tq8g86uvja6n5id0933c2bm4bo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2436';
20241004@184443.2932 tq8g86uvja6n5id0933c2bm4bo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2436';
20241004@184443.2959 tq8g86uvja6n5id0933c2bm4bo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2436';
20241004@184443.3008 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3011 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184443.3077 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3080 tq8g86uvja6n5id0933c2bm4bo Query : select no, estab,szadrsdesc from szadrs where u_coddest=489
20241004@184443.3199 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241004@184443.3222 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3225 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184443.3258 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3261 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184443.3291 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3295 tq8g86uvja6n5id0933c2bm4bo 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')
20241004@184443.3326 tq8g86uvja6n5id0933c2bm4bo 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
20241004@184443.3365 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3368 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 ~inactivo valor from cl where no = '101665' and estab = 0 order by inactivo desc
20241004@184443.3493 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3496 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184443.3528 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3531 tq8g86uvja6n5id0933c2bm4bo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184443.3571 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3574 tq8g86uvja6n5id0933c2bm4bo Query : select szadrsstamp valor from szadrs where szadrsdesc='armando faria fernandes, lda'
20241004@184443.3623 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.3626 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from td where ndoc = 39
20241004@184443.3640 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184443.3655 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.3670 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184443.3690 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.3705 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184443.3734 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.3749 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184443.3762 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184443.3826 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184443.3841 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.3859 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184443.3877 tq8g86uvja6n5id0933c2bm4bo Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002673356700298b5b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184443.4052 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.4072 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184443.4110 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184443.4123 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184443.4138 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184443.4152 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184443.4185 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184443.4198 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184443.4212 tq8g86uvja6n5id0933c2bm4bo Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002673356700298b5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184443.4775 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184443.4804 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.4824 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184443.4853 tq8g86uvja6n5id0933c2bm4bo Query : select 'normal' from dummy
20241004@184443.4869 tq8g86uvja6n5id0933c2bm4bo Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002673356700298b5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1102,101665,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184443.5182 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.5186 tq8g86uvja6n5id0933c2bm4bo Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241004@184443.5208 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241004@184443.5222 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.5238 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184443.5279 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.5297 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184443.5306 tq8g86uvja6n5id0933c2bm4bo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184443.5317 tq8g86uvja6n5id0933c2bm4bo Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241004@184443.5330 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.5344 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184443.5357 tq8g86uvja6n5id0933c2bm4bo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002321956700298b82','aut67002673356700298b5b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184443.5362 tq8g86uvja6n5id0933c2bm4bo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.5380 tq8g86uvja6n5id0933c2bm4bo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184443.5415 tq8g86uvja6n5id0933c2bm4bo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002321956700298b82',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67002673356700298b5b' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184443.5683 tq8g86uvja6n5id0933c2bm4bo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002673356700298b5b','2406494','wait',39,'adm09112754980.682000002')
20241004@184443.5753 tq8g86uvja6n5id0933c2bm4bo Query : use flama_phc
20241004@184443.5757 tq8g86uvja6n5id0933c2bm4bo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184443.5789 tq8g86uvja6n5id0933c2bm4bo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2436';
20241004@184443.5824 tq8g86uvja6n5id0933c2bm4bo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2436';
20241004@184443.5873 tq8g86uvja6n5id0933c2bm4bo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2436';
20241004@184443.5905 tq8g86uvja6n5id0933c2bm4bo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2436';
20241004@184443.6417 agssjrueq9b9c5vc2mpim8ju3b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184443.6428 agssjrueq9b9c5vc2mpim8ju3b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184443.6484 agssjrueq9b9c5vc2mpim8ju3b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2437';
20241004@184443.6541 agssjrueq9b9c5vc2mpim8ju3b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2437';
20241004@184443.6595 agssjrueq9b9c5vc2mpim8ju3b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2437';
20241004@184443.6621 agssjrueq9b9c5vc2mpim8ju3b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2437';
20241004@184443.6668 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.6671 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184443.6733 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.6736 agssjrueq9b9c5vc2mpim8ju3b Query : select no, estab,szadrsdesc from szadrs where u_coddest=557
20241004@184443.6832 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241004@184443.6854 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.6857 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184443.6887 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.6890 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184443.6919 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.6921 agssjrueq9b9c5vc2mpim8ju3b 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')
20241004@184443.6948 agssjrueq9b9c5vc2mpim8ju3b 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
20241004@184443.6983 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.6985 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 ~inactivo valor from cl where no = '101732' and estab = 0 order by inactivo desc
20241004@184443.7107 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.7110 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184443.7138 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.7141 agssjrueq9b9c5vc2mpim8ju3b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184443.7177 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.7180 agssjrueq9b9c5vc2mpim8ju3b Query : select szadrsstamp valor from szadrs where szadrsdesc='rosalar -r.s.&santos, distr. elect.,lda'
20241004@184443.7223 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.7226 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from td where ndoc = 39
20241004@184443.7238 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184443.7251 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.7267 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184443.7285 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.7300 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184443.7330 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.7344 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184443.7358 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184443.7430 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184443.7443 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.7459 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184443.7474 agssjrueq9b9c5vc2mpim8ju3b Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002094486700298bb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184443.7650 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.7666 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184443.7700 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184443.7711 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184443.7722 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184443.7734 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184443.7746 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184443.7757 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184443.7768 agssjrueq9b9c5vc2mpim8ju3b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002094486700298bb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184443.8047 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184443.8069 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.8085 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184443.8106 agssjrueq9b9c5vc2mpim8ju3b Query : select 'normal' from dummy
20241004@184443.8120 agssjrueq9b9c5vc2mpim8ju3b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002094486700298bb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1103,101732,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184443.8431 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184443.8433 agssjrueq9b9c5vc2mpim8ju3b Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241004@184443.8455 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241004@184443.8588 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.9808 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184443.9842 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.9862 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184443.9872 agssjrueq9b9c5vc2mpim8ju3b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184443.9886 agssjrueq9b9c5vc2mpim8ju3b Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241004@184443.9901 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.9918 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184443.9931 agssjrueq9b9c5vc2mpim8ju3b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002958706700298bf1','aut67002094486700298bb3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184443.9937 agssjrueq9b9c5vc2mpim8ju3b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184443.9955 agssjrueq9b9c5vc2mpim8ju3b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184443.9986 agssjrueq9b9c5vc2mpim8ju3b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002958706700298bf1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67002094486700298bb3' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184444.2920 agssjrueq9b9c5vc2mpim8ju3b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002094486700298bb3','2406495','wait',39,'adm09112754980.682000002')
20241004@184444.3640 agssjrueq9b9c5vc2mpim8ju3b Query : use flama_phc
20241004@184444.3670 agssjrueq9b9c5vc2mpim8ju3b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184444.4020 agssjrueq9b9c5vc2mpim8ju3b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2437';
20241004@184444.4400 agssjrueq9b9c5vc2mpim8ju3b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2437';
20241004@184444.4870 agssjrueq9b9c5vc2mpim8ju3b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2437';
20241004@184444.5180 agssjrueq9b9c5vc2mpim8ju3b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2437';
20241004@184444.1013 t50ch67ef6fcdcb9fgeqhu4e5k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184444.1023 t50ch67ef6fcdcb9fgeqhu4e5k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184444.1080 t50ch67ef6fcdcb9fgeqhu4e5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2438';
20241004@184444.1137 t50ch67ef6fcdcb9fgeqhu4e5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2438';
20241004@184444.1189 t50ch67ef6fcdcb9fgeqhu4e5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2438';
20241004@184444.1215 t50ch67ef6fcdcb9fgeqhu4e5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2438';
20241004@184444.1264 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1267 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184444.1328 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1332 t50ch67ef6fcdcb9fgeqhu4e5k Query : select no, estab,szadrsdesc from szadrs where u_coddest=1124
20241004@184444.1414 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241004@184444.1436 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1439 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241004@184444.1470 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1473 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 1 valor from td where td.ndoc = 39
20241004@184444.1503 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1506 t50ch67ef6fcdcb9fgeqhu4e5k 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')
20241004@184444.1535 t50ch67ef6fcdcb9fgeqhu4e5k 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
20241004@184444.1589 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1593 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 ~inactivo valor from cl where no = '101928' and estab = 0 order by inactivo desc
20241004@184444.1718 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1721 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241004@184444.1755 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1758 t50ch67ef6fcdcb9fgeqhu4e5k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184444.1801 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1804 t50ch67ef6fcdcb9fgeqhu4e5k Query : select szadrsstamp valor from szadrs where szadrsdesc='albino novais da venda & filhos, lda.'
20241004@184444.1850 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.1853 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from td where ndoc = 39
20241004@184444.1865 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241004@184444.1879 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.1895 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184444.1913 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.1927 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184444.1955 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.1970 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184444.1982 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184444.2046 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241004@184444.2059 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.2073 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241004@184444.2087 t50ch67ef6fcdcb9fgeqhu4e5k Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67002409836700298c30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241004@184444.2271 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.2287 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241004@184444.2320 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241004@184444.2335 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241004@184444.2347 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241004@184444.2359 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241004@184444.2370 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241004@184444.2382 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241004@184444.2394 t50ch67ef6fcdcb9fgeqhu4e5k Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67002409836700298c30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241004@184444.2669 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 fno valor from wsftdata order by fno desc
20241004@184444.2696 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.2712 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241004@184444.2736 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 'normal' from dummy
20241004@184444.3716 t50ch67ef6fcdcb9fgeqhu4e5k Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67002409836700298c30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1104,101928,0,'2024-10-04',39,'euro',0,0,2024 ,?,?)
20241004@184444.4163 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.4166 t50ch67ef6fcdcb9fgeqhu4e5k Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241004@184444.4187 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241004@184444.4200 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.4216 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184444.4240 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.4256 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184444.4264 t50ch67ef6fcdcb9fgeqhu4e5k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184444.4278 t50ch67ef6fcdcb9fgeqhu4e5k Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241004@184444.4294 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.4312 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241004@184444.4323 t50ch67ef6fcdcb9fgeqhu4e5k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002818006700298c68','aut67002409836700298c30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241004@184444.4328 t50ch67ef6fcdcb9fgeqhu4e5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184444.4348 t50ch67ef6fcdcb9fgeqhu4e5k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241004@184444.4374 t50ch67ef6fcdcb9fgeqhu4e5k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67002818006700298c68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67002409836700298c30' ,0,0 ,2,23.00,10000,?,?,?,?)
20241004@184444.4655 t50ch67ef6fcdcb9fgeqhu4e5k Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67002409836700298c30','2406496','wait',39,'adm09112754980.682000002')
20241004@184444.4725 t50ch67ef6fcdcb9fgeqhu4e5k Query : use flama_phc
20241004@184444.4729 t50ch67ef6fcdcb9fgeqhu4e5k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241004@184444.4759 t50ch67ef6fcdcb9fgeqhu4e5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2438';
20241004@184444.4794 t50ch67ef6fcdcb9fgeqhu4e5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2438';
20241004@184444.4839 t50ch67ef6fcdcb9fgeqhu4e5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2438';
20241004@184444.4866 t50ch67ef6fcdcb9fgeqhu4e5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2438';
20241004@184444.5377 sht65nrd1q4f0v16qp1udb4ang Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184444.5400 sht65nrd1q4f0v16qp1udb4ang Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184444.5457 sht65nrd1q4f0v16qp1udb4ang Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2439';
20241004@184444.5512 sht65nrd1q4f0v16qp1udb4ang Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2439';
20241004@184444.5567 sht65nrd1q4f0v16qp1udb4ang Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2439';
20241004@184444.5608 sht65nrd1q4f0v16qp1udb4ang Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2439';
20241004@184444.6496 4nmsf4990vkgvmqc0akjlht63m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241004@184444.6512 4nmsf4990vkgvmqc0akjlht63m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241004@184444.6567 4nmsf4990vkgvmqc0akjlht63m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2440';
20241004@184444.6627 4nmsf4990vkgvmqc0akjlht63m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2440';
20241004@184444.6697 4nmsf4990vkgvmqc0akjlht63m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2440';
20241004@184444.6731 4nmsf4990vkgvmqc0akjlht63m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2440';
20241004@184444.6774 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184444.6778 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241004@184444.6862 4nmsf4990vkgvmqc0akjlht63m Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20241004@184444.6956 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4521.00.1'
20241004@184444.7084 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.4521.00.1' and bi.lordem =10000
20241004@184444.7449 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139380,946000001 ' 
20241004@184444.7785 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4521.00.1'
20241004@184444.7813 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.4521.00.1' and bi.lordem =10000
20241004@184444.7835 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139380,946000001 ' 
20241004@184444.7857 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4961.00.1'
20241004@184444.7977 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.4961.00.1' and bi.lordem =20000
20241004@184444.8355 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139407,936000002 ' 
20241004@184444.8708 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4988.00.1'
20241004@184444.8823 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.4988.00.1' and bi.lordem =40000
20241004@184444.9273 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139423,091000004 ' 
20241004@184444.9625 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.497.00.01'
20241004@184444.9770 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.497.00.01' and bi.lordem =50000
20241004@184445.1450 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139432,479000005 ' 
20241004@184445.4570 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4906.00.1'
20241004@184445.5870 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.4906.00.1' and bi.lordem =60000
20241004@184445.2334 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139438,079000006 ' 
20241004@184445.2653 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4902.00.1'
20241004@184445.2769 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.4902.00.1' and bi.lordem =70000
20241004@184445.3111 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139444,697000007 ' 
20241004@184445.3477 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.958.00.01'
20241004@184445.3612 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.958.00.01' and bi.lordem =80000
20241004@184445.3948 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139452,434000008 ' 
20241004@184445.4246 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.988.00.01'
20241004@184445.4392 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.988.00.01' and bi.lordem =90000
20241004@184445.4720 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139458,218000009 ' 
20241004@184445.5074 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.988.00.01'
20241004@184445.5096 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.988.00.01' and bi.lordem =90000
20241004@184445.5118 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139458,218000009 ' 
20241004@184445.5152 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.948.00.01'
20241004@184445.5266 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.948.00.01' and bi.lordem =100000
20241004@184445.5596 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139470,772000010 ' 
20241004@184445.5896 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.946.00.01'
20241004@184445.6011 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.946.00.01' and bi.lordem =110000
20241004@184445.6337 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139478,161000011 ' 
20241004@184445.6662 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1317.00.1'
20241004@184445.6781 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.1317.00.1' and bi.lordem =120000
20241004@184445.7127 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139485,802000012 ' 
20241004@184445.7555 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.645.00.01'
20241004@184445.7784 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.645.00.01' and bi.lordem =130000
20241004@184445.8126 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139491,702000013 ' 
20241004@184445.8505 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.657.00.01'
20241004@184446.8000 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.657.00.01' and bi.lordem =140000
20241004@184446.1241 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139497,326000014 ' 
20241004@184446.1605 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.657.00.01'
20241004@184446.1648 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.657.00.01' and bi.lordem =140000
20241004@184446.1673 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139497,326000014 ' 
20241004@184446.1698 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.681.00.01'
20241004@184446.1852 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.681.00.01' and bi.lordem =150000
20241004@184446.2240 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139506,283000015 ' 
20241004@184446.2558 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.682.00.01'
20241004@184446.2677 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.682.00.01' and bi.lordem =160000
20241004@184446.3044 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139515,091000016 ' 
20241004@184446.3357 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.682.00.01'
20241004@184446.3376 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.682.00.01' and bi.lordem =160000
20241004@184446.3408 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139515,091000016 ' 
20241004@184446.3427 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.646.00.01'
20241004@184446.3541 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.646.00.01' and bi.lordem =170000
20241004@184446.3912 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139523,693000017 ' 
20241004@184446.4224 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.646.00.01'
20241004@184446.4243 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.646.00.01' and bi.lordem =170000
20241004@184446.4264 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139523,693000017 ' 
20241004@184446.4291 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1536.00.1'
20241004@184446.4416 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.1536.00.1' and bi.lordem =180000
20241004@184446.4751 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139545,907000018 ' 
20241004@184446.5051 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1536.00.1'
20241004@184446.5076 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.1536.00.1' and bi.lordem =180000
20241004@184446.5099 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139545,907000018 ' 
20241004@184446.5118 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1834.00.1'
20241004@184446.5234 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.1834.00.1' and bi.lordem =190000
20241004@184446.5564 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139552,841000019 ' 
20241004@184446.5898 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.692.00.01'
20241004@184446.6027 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.692.00.01' and bi.lordem =200000
20241004@184446.6364 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139560,215000020 ' 
20241004@184446.6746 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.692.00.01'
20241004@184446.6773 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.692.00.01' and bi.lordem =200000
20241004@184446.6799 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139560,215000020 ' 
20241004@184446.6823 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1406.00.1'
20241004@184446.6967 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.1406.00.1' and bi.lordem =210000
20241004@184446.7300 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139567,688000021 ' 
20241004@184446.7718 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5365.00.1'
20241004@184446.7886 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.5365.00.1' and bi.lordem =220000
20241004@184446.8223 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139576,655000022 ' 
20241004@184446.9708 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5342.00.1'
20241004@184446.9831 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.5342.00.1' and bi.lordem =230000
20241004@184447.2050 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139589,489000023 ' 
20241004@184447.5900 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5343.00.1'
20241004@184447.7600 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.5343.00.1' and bi.lordem =250000
20241004@184447.1099 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139603,874000025 ' 
20241004@184447.1444 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5500.00.1'
20241004@184447.1556 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.5500.00.1' and bi.lordem =260000
20241004@184447.1890 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139624,026000026 ' 
20241004@184447.2234 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5501.00.1'
20241004@184447.2359 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.5501.00.1' and bi.lordem =270000
20241004@184447.2686 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139631,824000027 ' 
20241004@184447.2984 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1706.00.1'
20241004@184447.3102 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.1706.00.1' and bi.lordem =280000
20241004@184447.3421 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139638,989000028 ' 
20241004@184447.3722 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1256.00.1'
20241004@184447.3854 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.1256.00.1' and bi.lordem =290000
20241004@184447.4186 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139647,781000029 ' 
20241004@184447.4527 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1266.00.1'
20241004@184447.4647 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.1266.00.1' and bi.lordem =300000
20241004@184447.4972 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139656,165000030 ' 
20241004@184447.5279 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.966.00.01'
20241004@184447.5397 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002259 and bi.ref ='324.966.00.01' and bi.lordem =330000
20241004@184447.5734 4nmsf4990vkgvmqc0akjlht63m 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 = 'av24100139688,340000033 ' 
20241004@184447.6089 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.6093 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 1 valor from ts where ts.ndos = 5
20241004@184447.6193 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.6196 4nmsf4990vkgvmqc0akjlht63m 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')
20241004@184447.6225 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20241004@184447.6421 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.6425 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20241004@184447.6549 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.6552 4nmsf4990vkgvmqc0akjlht63m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241004@184447.6592 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.6596 4nmsf4990vkgvmqc0akjlht63m Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20241004@184447.6647 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.6650 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from ts where ndos = 5
20241004@184447.6731 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.6756 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20241004@184447.6769 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.6784 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20241004@184447.6792 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.6809 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20241004@184447.6819 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20241004@184447.6955 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20241004@184447.7110 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20241004@184447.7209 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.7215 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20241004@184447.7310 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.7331 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20241004@184447.7343 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67002984576700298faf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241004@184447.7419 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.7437 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20241004@184447.7449 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut67002984576700298faf','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20241004','19:14',?,?)
20241004@184447.7811 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.7829 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20241004@184447.7851 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbodata (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut67002984576700298faf','trf entre armazéns a','2024-10-04',5,485,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20241004@184447.8432 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.8435 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241004@184447.8449 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.8455 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4521.00.1'
20241004@184447.8569 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.8573 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4521.00.1' and sa.armazem = 133 
20241004@184447.8644 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.8647 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4521.00.1'
20241004@184447.8674 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20241004@184447.8689 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.8707 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184447.8723 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.8740 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184447.8750 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241004@184447.8764 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184447.8776 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.8792 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184447.8805 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67002281666700298fd6','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184447.9116 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.9136 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184447.9153 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67002281666700298fd6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,41.6,41.6*200.48,41.6,41.6*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,41.6*4.000,41.6*4.000*200.48 ,15.785000,15.785000*200.48 ,15.785000,15.785000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,41.6,41.6*200.48,41.6*4.000,41.6*4.000*200.48,'av24100139380,946000001 ',41.6,41.6*4.000,41.6,41.6*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184447.9783 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.9788 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241004@184447.9823 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.9827 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4521.00.1'
20241004@184447.9850 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.9854 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4521.00.1' and sa.armazem = 133 
20241004@184447.9885 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184447.9888 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4521.00.1'
20241004@184447.9913 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20241004@184447.9929 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.9948 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184447.9962 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184447.9979 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184447.9988 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241004@184448.2000 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.1400 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.3000 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.4900 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67002204056700299000','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.3580 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.7760 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.1264 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67002204056700299000',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,41.6,41.6*200.48,41.6,41.6*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,41.6*4.000,41.6*4.000*200.48 ,15.785000,15.785000*200.48 ,15.785000,15.785000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,41.6,41.6*200.48,41.6*4.000,41.6*4.000*200.48,'av24100139380,946000001 ',41.6,41.6*4.000,41.6,41.6*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.1584 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.1588 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241004@184448.1609 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.1612 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4961.00.1'
20241004@184448.1629 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.1631 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4961.00.1' and sa.armazem = 133 
20241004@184448.1700 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.1703 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4961.00.1'
20241004@184448.1721 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184448.1735 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.1751 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.1764 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.1779 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.1793 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241004@184448.1805 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.1820 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.1835 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.1848 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6700222267670029902c','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.2009 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.2037 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.2058 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6700222267670029902c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,32,32*200.48,32,32*200.48 ,0,0,'un ','' ,bo.marcada,1 ,32*12.000,32*12.000*200.48 ,13.698000,13.698000*200.48 ,13.698000,13.698000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32,32*200.48,32*12.000,32*12.000*200.48,'av24100139407,936000002 ',32,32*12.000,32,32*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.2367 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.2373 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20241004@184448.2388 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.2391 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4988.00.1'
20241004@184448.2408 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.2411 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4988.00.1' and sa.armazem = 133 
20241004@184448.2477 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.2480 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4988.00.1'
20241004@184448.2506 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20241004@184448.2645 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.2661 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.2683 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.2697 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.2705 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20241004@184448.2724 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.2737 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.2753 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.2771 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67002374056700299042','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.2951 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.2968 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.2983 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67002374056700299042',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,28.8,28.8*200.48,28.8,28.8*200.48 ,0,0,'un ','' ,bo.marcada,1 ,28.8*4.000,28.8*4.000*200.48 ,8.445000,8.445000*200.48 ,8.445000,8.445000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,28.8,28.8*200.48,28.8*4.000,28.8*4.000*200.48,'av24100139423,091000004 ',28.8,28.8*4.000,28.8,28.8*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.3288 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.3292 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241004@184448.3313 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.3315 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.497.00.01'
20241004@184448.3344 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.3347 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.497.00.01' and sa.armazem = 133 
20241004@184448.3422 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.3425 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.497.00.01'
20241004@184448.3444 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20241004@184448.3597 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.3613 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.3643 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.3659 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.3671 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241004@184448.3699 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.3722 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.3738 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.3751 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6700241884670029905a','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.3912 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.3928 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.3944 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6700241884670029905a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,19.2,19.2*200.48,19.2,19.2*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,19.2*8.000,19.2*8.000*200.48 ,8.279000,8.279000*200.48 ,8.279000,8.279000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,19.2,19.2*200.48,19.2*8.000,19.2*8.000*200.48,'av24100139432,479000005 ',19.2,19.2*8.000,19.2,19.2*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.4239 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.4243 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20241004@184448.4258 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.4261 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4906.00.1'
20241004@184448.4278 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.4281 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4906.00.1' and sa.armazem = 133 
20241004@184448.4347 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.4350 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4906.00.1'
20241004@184448.4369 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20241004@184448.4383 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.4398 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.4418 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.4449 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.4457 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20241004@184448.4470 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.4485 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.4499 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.4510 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6700290978670029906d','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.4668 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.4684 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.4705 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6700290978670029906d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,41.6,41.6*200.48,41.6,41.6*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,41.6*8.000,41.6*8.000*200.48 ,19.270000,19.270000*200.48 ,19.270000,19.270000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,41.6,41.6*200.48,41.6*8.000,41.6*8.000*200.48,'av24100139438,079000006 ',41.6,41.6*8.000,41.6,41.6*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.5026 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.5030 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20241004@184448.5043 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.5046 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4902.00.1'
20241004@184448.5063 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.5065 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4902.00.1' and sa.armazem = 133 
20241004@184448.5134 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.5137 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.4902.00.1'
20241004@184448.5156 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20241004@184448.5170 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.5186 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.5199 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.5215 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.5224 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20241004@184448.5239 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.5251 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.5267 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.5279 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67002601246700299080','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.5473 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.5491 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.5507 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67002601246700299080',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,70000 ,32,32*200.48,32,32*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,32*4.000,32*4.000*200.48 ,13.536000,13.536000*200.48 ,13.536000,13.536000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32,32*200.48,32*4.000,32*4.000*200.48,'av24100139444,697000007 ',32,32*4.000,32,32*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.5814 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.5817 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20241004@184448.5848 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.5850 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.958.00.01'
20241004@184448.5872 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.5875 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.958.00.01' and sa.armazem = 133 
20241004@184448.5946 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.5949 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.958.00.01'
20241004@184448.5974 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184448.5988 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.6006 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.6019 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.6034 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.6042 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20241004@184448.6056 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.6068 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.6085 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.6098 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67002788586700299094','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.6279 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.6298 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.6316 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67002788586700299094',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 20.000, 20.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,80000 ,19.2,19.2*200.48,19.2,19.2*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,19.2*20.000,19.2*20.000*200.48 ,6.705000,6.705000*200.48 ,6.705000,6.705000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,19.2,19.2*200.48,19.2*20.000,19.2*20.000*200.48,'av24100139452,434000008 ',19.2,19.2*20.000,19.2,19.2*20.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.6684 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.6689 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20241004@184448.6708 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.6711 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.988.00.01'
20241004@184448.6732 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.6736 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.988.00.01' and sa.armazem = 133 
20241004@184448.6817 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.6820 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.988.00.01'
20241004@184448.6842 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20241004@184448.7005 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.7023 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.7037 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.7085 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.7096 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20241004@184448.7118 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.7133 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.7150 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.7163 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut670024112667002990ae','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.7343 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.7365 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.7380 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut670024112667002990ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 36.000, 36.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,90000 ,32,32*200.48,32,32*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,32*36.000,32*36.000*200.48 ,12.395000,12.395000*200.48 ,12.395000,12.395000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32,32*200.48,32*36.000,32*36.000*200.48,'av24100139458,218000009 ',32,32*36.000,32,32*36.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.7723 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.7727 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20241004@184448.7741 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.7744 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.988.00.01'
20241004@184448.7760 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.7762 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.988.00.01' and sa.armazem = 133 
20241004@184448.7786 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.7789 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.988.00.01'
20241004@184448.7809 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20241004@184448.7823 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.7838 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.7850 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.7866 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.7875 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20241004@184448.7890 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.7907 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.7921 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.7933 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut670024573967002990c1','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.8087 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.8108 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.8125 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut670024573967002990c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,100000 ,32,32*200.48,32,32*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,32*4.000,32*4.000*200.48 ,12.395000,12.395000*200.48 ,12.395000,12.395000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32,32*200.48,32*4.000,32*4.000*200.48,'av24100139458,218000009 ',32,32*4.000,32,32*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.8430 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.8436 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20241004@184448.8468 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.8470 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.948.00.01'
20241004@184448.8486 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.8489 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.948.00.01' and sa.armazem = 133 
20241004@184448.8556 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.8715 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.948.00.01'
20241004@184448.8737 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241004@184448.8897 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.8913 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.8927 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.8944 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.8953 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20241004@184448.8971 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184448.8984 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.9000 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184448.9012 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut670028948467002990db','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.9168 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184448.9186 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184448.9208 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut670028948467002990db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,110000 ,30.1,30.1*200.48,30.1,30.1*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,30.1*10.000,30.1*10.000*200.48 ,10.808000,10.808000*200.48 ,10.808000,10.808000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,30.1,30.1*200.48,30.1*10.000,30.1*10.000*200.48,'av24100139470,772000010 ',30.1,30.1*10.000,30.1,30.1*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184448.9522 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.9526 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20241004@184448.9541 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.9548 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.946.00.01'
20241004@184448.9565 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.9568 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.946.00.01' and sa.armazem = 133 
20241004@184448.9634 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184448.9637 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.946.00.01'
20241004@184448.9654 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.946.00.01'
20241004@184449.8920 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184449.9130 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184449.9260 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184449.9410 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184449.9500 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20241004@184449.9700 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184449.9830 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184449.9990 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184449.1011 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67002052026700299118','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184449.1177 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184449.1196 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184449.1212 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67002052026700299118',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,120000 ,17.3,17.3*200.48,17.3,17.3*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,17.3*12.000,17.3*12.000*200.48 ,6.081000,6.081000*200.48 ,6.081000,6.081000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,17.3,17.3*200.48,17.3*12.000,17.3*12.000*200.48,'av24100139478,161000011 ',17.3,17.3*12.000,17.3,17.3*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184449.1569 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184449.1584 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241004@184449.1600 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184449.1602 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.1317.00.1'
20241004@184449.1618 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184449.1621 4nmsf4990vkgvmqc0akjlht63m Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1317.00.1' and sa.armazem = 133 
20241004@184449.1694 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184449.1697 4nmsf4990vkgvmqc0akjlht63m Query : select st.stns valor from st where st.ref = '324.1317.00.1'
20241004@184449.2019 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1317.00.1'
20241004@184449.2941 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184449.2964 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184449.2979 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184449.2997 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184449.3007 4nmsf4990vkgvmqc0akjlht63m Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20241004@184449.3022 4nmsf4990vkgvmqc0akjlht63m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241004@184449.3036 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184449.3054 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241004@184449.3066 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6700207833670029914a','aut67002984576700298faf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184449.3228 4nmsf4990vkgvmqc0akjlht63m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241004@184449.3266 4nmsf4990vkgvmqc0akjlht63m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241004@184449.3286 4nmsf4990vkgvmqc0akjlht63m Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6700207833670029914a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,130000 ,115.2,115.2*200.48,115.2,115.2*200.48 ,0,0,'un ','' ,bo.marcada,1 ,115.2*10.000,115.2*10.000*200.48 ,51.816000,51.816000*200.48 ,51.816000,51.816000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,115.2,115.2*200.48,115.2*10.000,115.2*10.000*200.48,'av24100139485,802000012 ',115.2,115.2*10.000,115.2,115.2*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67002984576700298faf'
20241004@184449.3606 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
20241004@184449.3619 4nmsf4990vkgvmqc0akjlht63m Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241004@184449.3634 4nmsf4990vkgvmqc0akjlht63m Query : use flama_phc
