20240514@080326.7390 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080326.7420 kahuvdg176s90cshvht8p6ee44 Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240514@080326.7520 kahuvdg176s90cshvht8p6ee44 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20240514@080326.7650 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.7780 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.8010 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.8130 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.8170 kahuvdg176s90cshvht8p6ee44 Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240514@080326.8270 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.8370 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.8490 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.8700 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305622966430cbe14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240514@080326.1084 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.1098 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.1102 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305622966430cbe14','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.1106 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080326.1109 kahuvdg176s90cshvht8p6ee44 Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240514@080326.1120 kahuvdg176s90cshvht8p6ee44 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20240514@080326.1268 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.1282 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.1311 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.1327 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.1332 kahuvdg176s90cshvht8p6ee44 Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2200658200a'
20240514@080326.1351 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.1362 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.1377 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.1404 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664304223666430cbe21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080326.1635 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.1650 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.1654 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664304223666430cbe21','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.1658 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080326.1661 kahuvdg176s90cshvht8p6ee44 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240514@080326.1672 kahuvdg176s90cshvht8p6ee44 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20240514@080326.1684 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.1698 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.1722 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.1735 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.1739 kahuvdg176s90cshvht8p6ee44 Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240514@080326.1749 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.1759 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.1771 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.1793 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307653866430cbe2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240514@080326.2183 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.2480 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.2561 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307653866430cbe2a','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.2646 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080326.2687 kahuvdg176s90cshvht8p6ee44 Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240514@080326.2976 kahuvdg176s90cshvht8p6ee44 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240514@080326.3021 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.3036 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.3229 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.3242 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.3247 kahuvdg176s90cshvht8p6ee44 Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240514@080326.3256 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.3265 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.3277 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.3301 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303935166430cbe4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240514@080326.3515 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.3529 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.3533 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303935166430cbe4f','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.3537 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080326.3540 kahuvdg176s90cshvht8p6ee44 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240514@080326.3550 kahuvdg176s90cshvht8p6ee44 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20240514@080326.3560 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.3571 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.3592 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.3603 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.3607 kahuvdg176s90cshvht8p6ee44 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20240514@080326.3615 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.3625 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.3636 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.3662 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307638666430cbe58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240514@080326.3870 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.3885 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.3889 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307638666430cbe58','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.3893 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080326.3896 kahuvdg176s90cshvht8p6ee44 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240514@080326.3907 kahuvdg176s90cshvht8p6ee44 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240514@080326.4052 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.4064 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.4087 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.4103 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.4107 kahuvdg176s90cshvht8p6ee44 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240514@080326.4118 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.4127 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.4138 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.4161 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664308655166430cbe64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240514@080326.4377 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.4532 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.4538 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308655166430cbe64','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.4544 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.4568 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.4593 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.4654 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.4659 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.4670 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.4684 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.4735 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664303130466430cbe72',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,90000,?,?,?)
20240514@080326.4991 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.5007 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.5012 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303130466430cbe72','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.5058 kahuvdg176s90cshvht8p6ee44 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664306206166430cbddd','2403310','wait',39,'ari17112337378,753000005')
20240514@080326.5128 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080326.5132 kahuvdg176s90cshvht8p6ee44 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080326.5145 kahuvdg176s90cshvht8p6ee44 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1612';
20240514@080326.5165 kahuvdg176s90cshvht8p6ee44 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1612';
20240514@080326.5184 kahuvdg176s90cshvht8p6ee44 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1612';
20240514@080326.5212 kahuvdg176s90cshvht8p6ee44 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1612';
20240514@080326.5677 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080326.5691 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080326.5712 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1613';
20240514@080326.5866 4vdh7jqm4gmpkeqlghvf8rtvfe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1613';
20240514@080326.5889 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1613';
20240514@080326.5930 4vdh7jqm4gmpkeqlghvf8rtvfe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1613';
20240514@080326.5984 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.6014 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080326.6029 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.6033 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20240514@080326.6116 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240514@080326.6128 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403311 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240514@080326.6533 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240514@080326.6554 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403311 and bi.ref ='324.4970.00.1' and bi.lordem =2
20240514@080326.6964 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240514@080326.6982 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403311 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240514@080326.7324 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240514@080326.7476 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403311 and bi.ref ='324.1470.00.1' and bi.lordem =4
20240514@080326.7789 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240514@080326.7799 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403311 and bi.ref ='324.1470.00.1' and bi.lordem =4
20240514@080326.7805 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240514@080326.7816 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403311 and bi.ref ='324.4902.00.1' and bi.lordem =5
20240514@080326.8141 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240514@080326.8158 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403311 and bi.ref ='324.4990.00.1' and bi.lordem =6
20240514@080326.8486 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.8490 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080326.8503 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.8506 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080326.8517 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.8520 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080326.8531 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080326.8546 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.8549 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20240514@080326.8650 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.8653 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080326.8663 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.8666 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080326.8676 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.8679 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20240514@080326.8691 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.8693 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from td where ndoc = 39
20240514@080326.8702 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080326.8712 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080326.8725 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080326.8740 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080326.8752 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080326.8776 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080326.8788 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080326.8797 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080326.8872 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080326.8881 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080326.8893 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080326.8903 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080326.9042 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080326.9056 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080326.9082 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080326.9086 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080326.9091 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080326.9095 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080326.9099 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080326.9104 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080326.9108 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664306386966430cbed6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080326.9316 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080326.9332 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080326.9345 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080326.9362 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664306386966430cbed6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1288,101846,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080326.9613 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.9617 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240514@080326.9627 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240514@080326.9638 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.9652 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.9676 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.9689 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.9693 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240514@080326.9702 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.9711 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.9722 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.9748 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307640466430cbeed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut664306386966430cbed6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080326.9964 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.9978 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.9982 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307640466430cbeed','aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.9986 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080326.9990 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240514@080326.9999 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240514@080327.9000 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.2100 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.5100 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.6200 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.6600 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240514@080327.8200 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.9100 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.1020 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.1330 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301539566430cbf02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut664306386966430cbed6' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080327.3530 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.3690 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080327.3780 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301539566430cbf02','aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080327.3820 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080327.3850 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240514@080327.3950 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20240514@080327.4070 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.4200 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.4430 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.4550 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.4600 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240514@080327.4690 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.4780 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.4900 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.5130 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301403566430cbf0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664306386966430cbed6' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240514@080327.7300 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.7440 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080327.7480 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301403566430cbf0b','aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080327.7520 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080327.7550 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240514@080327.7660 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240514@080327.9080 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.9210 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.9670 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.9800 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.9840 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240514@080327.1056 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.1065 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.1083 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.1141 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303125166430cbf1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut664306386966430cbed6' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080327.1367 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.1604 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080327.1629 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303125166430cbf1a','aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080327.1634 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080327.1637 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240514@080327.1648 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240514@080327.1659 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.1674 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.1696 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.1749 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.1754 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240514@080327.1764 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.1776 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.1857 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.1963 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664308357666430cbf2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut664306386966430cbed6' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240514@080327.2189 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.2203 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080327.2208 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308357666430cbf2b','aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080327.2221 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080327.2225 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240514@080327.2235 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240514@080327.2246 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.2262 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.2308 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.2321 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.2327 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240514@080327.2337 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.2346 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.2359 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.2416 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305633266430cbf39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664306386966430cbed6' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240514@080327.2642 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.2659 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080327.2664 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305633266430cbf39','aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080327.2669 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.2683 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.2718 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.2731 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.2736 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.2760 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.2774 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.2804 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664301195566430cbf43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664306386966430cbed6' ,0,0 ,2,23.00,70000,?,?,?)
20240514@080327.3101 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.3117 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080327.3122 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301195566430cbf43','aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080327.3206 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080327.3272 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240514@080327.3305 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240514@080327.3317 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.3331 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.3384 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.3400 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.3412 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240514@080327.3429 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.3440 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.3474 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.3502 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306171266430cbf53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664306386966430cbed6' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240514@080327.3714 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.3729 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080327.3734 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306171266430cbf53','aut664306386966430cbed6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080327.3739 4vdh7jqm4gmpkeqlghvf8rtvfe Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664306386966430cbed6','2403311','wait',39,'ari17112337378,753000005')
20240514@080327.3756 4vdh7jqm4gmpkeqlghvf8rtvfe Query : use flama_phc
20240514@080327.3760 4vdh7jqm4gmpkeqlghvf8rtvfe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080327.3770 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1613';
20240514@080327.3786 4vdh7jqm4gmpkeqlghvf8rtvfe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1613';
20240514@080327.3803 4vdh7jqm4gmpkeqlghvf8rtvfe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1613';
20240514@080327.3817 4vdh7jqm4gmpkeqlghvf8rtvfe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1613';
20240514@080327.4188 otm7dedhfrk7e3kk077b170mgh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080327.4202 otm7dedhfrk7e3kk077b170mgh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080327.4223 otm7dedhfrk7e3kk077b170mgh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1614';
20240514@080327.4265 otm7dedhfrk7e3kk077b170mgh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1614';
20240514@080327.4283 otm7dedhfrk7e3kk077b170mgh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1614';
20240514@080327.4297 otm7dedhfrk7e3kk077b170mgh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1614';
20240514@080327.4312 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4316 otm7dedhfrk7e3kk077b170mgh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080327.4329 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4332 otm7dedhfrk7e3kk077b170mgh Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080327.4360 otm7dedhfrk7e3kk077b170mgh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20240514@080327.4507 otm7dedhfrk7e3kk077b170mgh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403313 and bi.ref ='324.2223.00.1' and bi.lordem =1
20240514@080327.4816 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4820 otm7dedhfrk7e3kk077b170mgh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080327.4836 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4840 otm7dedhfrk7e3kk077b170mgh Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080327.4851 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4855 otm7dedhfrk7e3kk077b170mgh Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080327.4867 otm7dedhfrk7e3kk077b170mgh Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080327.4882 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4886 otm7dedhfrk7e3kk077b170mgh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080327.4899 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4902 otm7dedhfrk7e3kk077b170mgh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080327.4914 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4917 otm7dedhfrk7e3kk077b170mgh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080327.4928 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4931 otm7dedhfrk7e3kk077b170mgh Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080327.4944 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.4948 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from td where ndoc = 39
20240514@080327.4958 otm7dedhfrk7e3kk077b170mgh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080327.4971 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080327.4993 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080327.5011 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080327.5025 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080327.5054 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080327.5068 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080327.5079 otm7dedhfrk7e3kk077b170mgh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080327.5162 otm7dedhfrk7e3kk077b170mgh Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080327.5172 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080327.5189 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080327.5201 otm7dedhfrk7e3kk077b170mgh Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664305768066430cbf7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080327.5337 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080327.5352 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080327.5383 otm7dedhfrk7e3kk077b170mgh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080327.5389 otm7dedhfrk7e3kk077b170mgh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080327.5396 otm7dedhfrk7e3kk077b170mgh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080327.5402 otm7dedhfrk7e3kk077b170mgh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080327.5407 otm7dedhfrk7e3kk077b170mgh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080327.5412 otm7dedhfrk7e3kk077b170mgh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080327.5417 otm7dedhfrk7e3kk077b170mgh Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664305768066430cbf7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080327.5617 otm7dedhfrk7e3kk077b170mgh Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080327.5634 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080327.5648 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080327.5668 otm7dedhfrk7e3kk077b170mgh Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664305768066430cbf7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1289,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080327.5908 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.5912 otm7dedhfrk7e3kk077b170mgh Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20240514@080327.5926 otm7dedhfrk7e3kk077b170mgh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20240514@080327.6064 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.6079 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.6104 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.6118 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.6122 otm7dedhfrk7e3kk077b170mgh Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301281500a'
20240514@080327.6134 otm7dedhfrk7e3kk077b170mgh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.6147 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.6160 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.6185 otm7dedhfrk7e3kk077b170mgh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664302514566430cbf96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut664305768066430cbf7b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080327.6448 otm7dedhfrk7e3kk077b170mgh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.6505 otm7dedhfrk7e3kk077b170mgh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080327.6529 otm7dedhfrk7e3kk077b170mgh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664302514566430cbf96','aut664305768066430cbf7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080327.6540 otm7dedhfrk7e3kk077b170mgh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664305768066430cbf7b','2403313','wait',39,'ari17112337378,753000005')
20240514@080327.6557 otm7dedhfrk7e3kk077b170mgh Query : use flama_phc
20240514@080327.6560 otm7dedhfrk7e3kk077b170mgh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080327.6571 otm7dedhfrk7e3kk077b170mgh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1614';
20240514@080327.6590 otm7dedhfrk7e3kk077b170mgh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1614';
20240514@080327.6684 otm7dedhfrk7e3kk077b170mgh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1614';
20240514@080327.6702 otm7dedhfrk7e3kk077b170mgh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1614';
20240514@080327.7164 50h002r1b6572jgtj56ta8so66 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080327.7177 50h002r1b6572jgtj56ta8so66 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080327.7197 50h002r1b6572jgtj56ta8so66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1615';
20240514@080327.7237 50h002r1b6572jgtj56ta8so66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1615';
20240514@080327.7256 50h002r1b6572jgtj56ta8so66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1615';
20240514@080327.7269 50h002r1b6572jgtj56ta8so66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1615';
20240514@080327.7285 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7289 50h002r1b6572jgtj56ta8so66 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080327.7303 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7306 50h002r1b6572jgtj56ta8so66 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080327.7336 50h002r1b6572jgtj56ta8so66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240514@080327.7498 50h002r1b6572jgtj56ta8so66 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403323 and bi.ref ='324.4840.00.1' and bi.lordem =1
20240514@080327.7806 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7811 50h002r1b6572jgtj56ta8so66 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080327.7825 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7829 50h002r1b6572jgtj56ta8so66 Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080327.7840 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7843 50h002r1b6572jgtj56ta8so66 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080327.7856 50h002r1b6572jgtj56ta8so66 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080327.7871 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7874 50h002r1b6572jgtj56ta8so66 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080327.7885 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7888 50h002r1b6572jgtj56ta8so66 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080327.7903 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7906 50h002r1b6572jgtj56ta8so66 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080327.7919 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7922 50h002r1b6572jgtj56ta8so66 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080327.7936 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.7939 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from td where ndoc = 39
20240514@080327.7950 50h002r1b6572jgtj56ta8so66 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080327.7963 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080327.7979 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080327.7999 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080327.8013 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080327.8042 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080327.8056 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080327.8066 50h002r1b6572jgtj56ta8so66 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080327.8143 50h002r1b6572jgtj56ta8so66 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080327.8154 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080327.8168 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080327.8180 50h002r1b6572jgtj56ta8so66 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664305112866430cbfc4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080327.8331 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080327.8347 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080327.8380 50h002r1b6572jgtj56ta8so66 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080327.8385 50h002r1b6572jgtj56ta8so66 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080327.8390 50h002r1b6572jgtj56ta8so66 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080327.8396 50h002r1b6572jgtj56ta8so66 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080327.8402 50h002r1b6572jgtj56ta8so66 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080327.8407 50h002r1b6572jgtj56ta8so66 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080327.8411 50h002r1b6572jgtj56ta8so66 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664305112866430cbfc4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080327.8617 50h002r1b6572jgtj56ta8so66 Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080327.8634 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080327.8650 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080327.8670 50h002r1b6572jgtj56ta8so66 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664305112866430cbfc4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1290,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080327.8925 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080327.8932 50h002r1b6572jgtj56ta8so66 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20240514@080327.8947 50h002r1b6572jgtj56ta8so66 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20240514@080327.9098 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.9114 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080327.9142 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080327.9157 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080327.9162 50h002r1b6572jgtj56ta8so66 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2101353200a'
20240514@080327.9179 50h002r1b6572jgtj56ta8so66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080327.9191 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080327.9206 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080327.9234 50h002r1b6572jgtj56ta8so66 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301622366430cbfe0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut664305112866430cbfc4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080327.9666 50h002r1b6572jgtj56ta8so66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.4600 50h002r1b6572jgtj56ta8so66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080328.1290 50h002r1b6572jgtj56ta8so66 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301622366430cbfe0','aut664305112866430cbfc4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080328.1720 50h002r1b6572jgtj56ta8so66 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664305112866430cbfc4','2403323','wait',39,'ari17112337378,753000005')
20240514@080328.6040 50h002r1b6572jgtj56ta8so66 Query : use flama_phc
20240514@080328.6090 50h002r1b6572jgtj56ta8so66 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080328.6210 50h002r1b6572jgtj56ta8so66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1615';
20240514@080328.6380 50h002r1b6572jgtj56ta8so66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1615';
20240514@080328.6560 50h002r1b6572jgtj56ta8so66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1615';
20240514@080328.6710 50h002r1b6572jgtj56ta8so66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1615';
20240514@080328.1131 ks3idm6mv8nmpumevjl8rf93td Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080328.1143 ks3idm6mv8nmpumevjl8rf93td Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080328.1163 ks3idm6mv8nmpumevjl8rf93td Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1616';
20240514@080328.1202 ks3idm6mv8nmpumevjl8rf93td Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1616';
20240514@080328.1220 ks3idm6mv8nmpumevjl8rf93td Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1616';
20240514@080328.1232 ks3idm6mv8nmpumevjl8rf93td Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1616';
20240514@080328.1247 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.1250 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080328.1262 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.1265 ks3idm6mv8nmpumevjl8rf93td Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080328.1293 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4161.00.1'
20240514@080328.1441 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403324 and bi.ref ='324.4161.00.1' and bi.lordem =1
20240514@080328.1826 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4161.00.1'
20240514@080328.1864 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403324 and bi.ref ='324.4161.00.1' and bi.lordem =1
20240514@080328.1870 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.1874 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080328.1887 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.1891 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080328.1906 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.1909 ks3idm6mv8nmpumevjl8rf93td Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080328.1919 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080328.1933 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.1936 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080328.1965 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.1969 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080328.1979 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.1982 ks3idm6mv8nmpumevjl8rf93td Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080328.1993 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.2004 ks3idm6mv8nmpumevjl8rf93td Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080328.2017 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.2020 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from td where ndoc = 39
20240514@080328.2030 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080328.2041 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080328.2056 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080328.2072 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080328.2085 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080328.2131 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080328.2147 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080328.2157 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080328.2264 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080328.2275 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080328.2288 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080328.2299 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664303102166430cc034' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080328.2481 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080328.2496 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080328.2531 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080328.2536 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080328.2541 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080328.2578 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080328.2583 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080328.2588 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080328.2593 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664303102166430cc034',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080328.2838 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080328.2870 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080328.2886 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080328.2922 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664303102166430cc034',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1291,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080328.3265 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.3269 ks3idm6mv8nmpumevjl8rf93td Query : select st.usalote valor from st where st.ref = '324.4161.00.1'
20240514@080328.3282 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4161.00.1'
20240514@080328.3426 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.3440 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080328.3464 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.3500 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080328.3504 ks3idm6mv8nmpumevjl8rf93td Query : select sestamp valor from se where ref ='324.4161.00.1' and lote = 'r2100973100a'
20240514@080328.3523 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080328.3533 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.3546 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080328.3571 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305172266430cc056',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut664303102166430cc034' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080328.3790 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.3805 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080328.3810 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305172266430cc056','aut664303102166430cc034' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080328.3815 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.3840 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080328.3865 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.3887 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080328.3892 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080328.3903 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.3917 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080328.3943 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664308318366430cc05f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664303102166430cc034' ,0,0 ,2,23.00,20000,?,?,?)
20240514@080328.4187 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.4206 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080328.4210 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308318366430cc05f','aut664303102166430cc034' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080328.4215 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.4218 ks3idm6mv8nmpumevjl8rf93td Query : select st.usalote valor from st where st.ref = '324.4161.00.1'
20240514@080328.4230 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4161.00.1'
20240514@080328.4242 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.4255 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080328.4279 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.4292 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080328.4300 ks3idm6mv8nmpumevjl8rf93td Query : select sestamp valor from se where ref ='324.4161.00.1' and lote = 'r2100973100a'
20240514@080328.4310 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080328.4320 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.4333 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080328.4356 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307543566430cc069',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut664303102166430cc034' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080328.4571 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.4586 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080328.4591 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307543566430cc069','aut664303102166430cc034' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080328.4597 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.4609 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080328.4633 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.4646 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080328.4651 ks3idm6mv8nmpumevjl8rf93td Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080328.4663 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.4679 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080328.4706 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664309116366430cc071',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664303102166430cc034' ,0,0 ,2,23.00,50000,?,?,?)
20240514@080328.4946 ks3idm6mv8nmpumevjl8rf93td Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.4960 ks3idm6mv8nmpumevjl8rf93td Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080328.4965 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309116366430cc071','aut664303102166430cc034' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080328.4969 ks3idm6mv8nmpumevjl8rf93td Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664303102166430cc034','2403324','wait',39,'ari17112337378,753000005')
20240514@080328.4986 ks3idm6mv8nmpumevjl8rf93td Query : use flama_phc
20240514@080328.4989 ks3idm6mv8nmpumevjl8rf93td Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080328.5000 ks3idm6mv8nmpumevjl8rf93td Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1616';
20240514@080328.5016 ks3idm6mv8nmpumevjl8rf93td Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1616';
20240514@080328.5033 ks3idm6mv8nmpumevjl8rf93td Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1616';
20240514@080328.5045 ks3idm6mv8nmpumevjl8rf93td Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1616';
20240514@080328.5438 iki17ipv9c89kmfa4vfbtgimcr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080328.5451 iki17ipv9c89kmfa4vfbtgimcr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080328.5470 iki17ipv9c89kmfa4vfbtgimcr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1617';
20240514@080328.5521 iki17ipv9c89kmfa4vfbtgimcr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1617';
20240514@080328.5539 iki17ipv9c89kmfa4vfbtgimcr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1617';
20240514@080328.5553 iki17ipv9c89kmfa4vfbtgimcr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1617';
20240514@080328.5568 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.5571 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080328.5584 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.5587 iki17ipv9c89kmfa4vfbtgimcr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080328.5614 iki17ipv9c89kmfa4vfbtgimcr 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'
20240514@080328.5773 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403325 and bi.ref ='304.422.00.07' and bi.lordem =1
20240514@080328.6085 iki17ipv9c89kmfa4vfbtgimcr 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'
20240514@080328.6097 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403325 and bi.ref ='304.422.00.07' and bi.lordem =1
20240514@080328.6102 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.6105 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080328.6118 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.6121 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080328.6130 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.6133 iki17ipv9c89kmfa4vfbtgimcr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080328.6143 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080328.6160 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.6162 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080328.6172 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.6175 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080328.6184 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.6187 iki17ipv9c89kmfa4vfbtgimcr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080328.6197 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.6199 iki17ipv9c89kmfa4vfbtgimcr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080328.6210 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.6213 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from td where ndoc = 39
20240514@080328.6222 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080328.6233 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080328.6246 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080328.6261 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080328.6314 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080328.6380 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080328.6396 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080328.6406 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080328.6481 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080328.6490 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080328.6502 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080328.6511 iki17ipv9c89kmfa4vfbtgimcr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664307099566430cc09c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080328.6678 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080328.6696 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080328.6746 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080328.6751 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080328.6756 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080328.6760 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080328.6765 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080328.6771 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080328.6775 iki17ipv9c89kmfa4vfbtgimcr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664307099566430cc09c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080328.6992 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080328.7007 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080328.7020 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080328.7037 iki17ipv9c89kmfa4vfbtgimcr Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664307099566430cc09c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1292,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080328.7275 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.7279 iki17ipv9c89kmfa4vfbtgimcr Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240514@080328.7292 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240514@080328.7443 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.7457 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080328.7481 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.7495 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080328.7499 iki17ipv9c89kmfa4vfbtgimcr Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240514@080328.7519 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080328.7528 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.7544 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080328.7566 iki17ipv9c89kmfa4vfbtgimcr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307624366430cc0b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut664307099566430cc09c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080328.7802 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.7818 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080328.7823 iki17ipv9c89kmfa4vfbtgimcr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307624366430cc0b7','aut664307099566430cc09c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080328.7827 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.7830 iki17ipv9c89kmfa4vfbtgimcr Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240514@080328.7842 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240514@080328.7861 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.7874 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080328.7901 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.7917 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080328.7922 iki17ipv9c89kmfa4vfbtgimcr Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240514@080328.7932 iki17ipv9c89kmfa4vfbtgimcr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080328.7941 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080328.7956 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080328.7987 iki17ipv9c89kmfa4vfbtgimcr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306119966430cc0c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut664307099566430cc09c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080328.8214 iki17ipv9c89kmfa4vfbtgimcr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080328.8230 iki17ipv9c89kmfa4vfbtgimcr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080328.8234 iki17ipv9c89kmfa4vfbtgimcr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306119966430cc0c1','aut664307099566430cc09c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080328.8238 iki17ipv9c89kmfa4vfbtgimcr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664307099566430cc09c','2403325','wait',39,'ari17112337378,753000005')
20240514@080328.8260 iki17ipv9c89kmfa4vfbtgimcr Query : use flama_phc
20240514@080328.8266 iki17ipv9c89kmfa4vfbtgimcr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080328.8277 iki17ipv9c89kmfa4vfbtgimcr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1617';
20240514@080328.8292 iki17ipv9c89kmfa4vfbtgimcr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1617';
20240514@080328.8308 iki17ipv9c89kmfa4vfbtgimcr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1617';
20240514@080328.8332 iki17ipv9c89kmfa4vfbtgimcr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1617';
20240514@080328.8733 jq7si8vcvgepg3plaiqidqap8n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080328.8747 jq7si8vcvgepg3plaiqidqap8n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080328.8765 jq7si8vcvgepg3plaiqidqap8n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1618';
20240514@080328.8804 jq7si8vcvgepg3plaiqidqap8n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1618';
20240514@080328.8821 jq7si8vcvgepg3plaiqidqap8n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1618';
20240514@080328.8834 jq7si8vcvgepg3plaiqidqap8n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1618';
20240514@080328.8851 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.8854 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080328.8869 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.8872 jq7si8vcvgepg3plaiqidqap8n Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080328.8946 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240514@080328.9128 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403326 and bi.ref ='324.2224.00.1' and bi.lordem =1
20240514@080328.9427 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240514@080328.9438 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403326 and bi.ref ='324.2224.00.1' and bi.lordem =1
20240514@080328.9444 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.9447 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080328.9460 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.9462 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080328.9472 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.9474 jq7si8vcvgepg3plaiqidqap8n Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080328.9485 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080328.9499 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.9502 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080328.9512 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.9515 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080328.9525 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.9528 jq7si8vcvgepg3plaiqidqap8n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080328.9538 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.9541 jq7si8vcvgepg3plaiqidqap8n Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080328.9552 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080328.9555 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from td where ndoc = 39
20240514@080328.9564 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080328.9576 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080328.9591 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080328.9608 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080328.9620 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080328.9647 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080328.9659 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080328.9669 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080328.9745 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080328.9754 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080328.9766 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080328.9774 jq7si8vcvgepg3plaiqidqap8n Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664304331766430cc0ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080328.9937 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080328.9952 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080328.9978 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080328.9983 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080328.9988 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080328.9993 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080328.9997 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080329.2000 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080329.6000 jq7si8vcvgepg3plaiqidqap8n Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664304331766430cc0ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080329.2130 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080329.2300 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080329.2440 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080329.2600 jq7si8vcvgepg3plaiqidqap8n Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664304331766430cc0ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1293,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080329.5090 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080329.5140 jq7si8vcvgepg3plaiqidqap8n Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20240514@080329.5250 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20240514@080329.6770 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.6910 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080329.7120 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.7230 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080329.7270 jq7si8vcvgepg3plaiqidqap8n Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301281600a'
20240514@080329.7380 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080329.7480 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.7600 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080329.7830 jq7si8vcvgepg3plaiqidqap8n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664308041966430cc112',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut664304331766430cc0ec' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080329.9980 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.1012 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080329.1017 jq7si8vcvgepg3plaiqidqap8n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308041966430cc112','aut664304331766430cc0ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080329.1022 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080329.1025 jq7si8vcvgepg3plaiqidqap8n Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20240514@080329.1036 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20240514@080329.1048 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.1061 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080329.1085 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.1097 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080329.1101 jq7si8vcvgepg3plaiqidqap8n Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301281600a'
20240514@080329.1111 jq7si8vcvgepg3plaiqidqap8n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080329.1121 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.1134 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080329.1161 jq7si8vcvgepg3plaiqidqap8n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301531966430cc11b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut664304331766430cc0ec' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080329.1374 jq7si8vcvgepg3plaiqidqap8n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.1390 jq7si8vcvgepg3plaiqidqap8n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080329.1394 jq7si8vcvgepg3plaiqidqap8n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301531966430cc11b','aut664304331766430cc0ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080329.1398 jq7si8vcvgepg3plaiqidqap8n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664304331766430cc0ec','2403326','wait',39,'ari17112337378,753000005')
20240514@080329.1413 jq7si8vcvgepg3plaiqidqap8n Query : use flama_phc
20240514@080329.1416 jq7si8vcvgepg3plaiqidqap8n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080329.1427 jq7si8vcvgepg3plaiqidqap8n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1618';
20240514@080329.1441 jq7si8vcvgepg3plaiqidqap8n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1618';
20240514@080329.1458 jq7si8vcvgepg3plaiqidqap8n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1618';
20240514@080329.1469 jq7si8vcvgepg3plaiqidqap8n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1618';
20240514@080329.1853 judithqpekun7pu0plqot961nr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080329.1865 judithqpekun7pu0plqot961nr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080329.1886 judithqpekun7pu0plqot961nr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1619';
20240514@080329.1928 judithqpekun7pu0plqot961nr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1619';
20240514@080329.1947 judithqpekun7pu0plqot961nr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1619';
20240514@080329.1959 judithqpekun7pu0plqot961nr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1619';
20240514@080329.1974 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.1977 judithqpekun7pu0plqot961nr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080329.1989 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.1991 judithqpekun7pu0plqot961nr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080329.2019 judithqpekun7pu0plqot961nr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4967.00.1'
20240514@080329.2247 judithqpekun7pu0plqot961nr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403328 and bi.ref ='324.4967.00.1' and bi.lordem =1
20240514@080329.2960 judithqpekun7pu0plqot961nr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4967.00.1'
20240514@080329.3283 judithqpekun7pu0plqot961nr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403328 and bi.ref ='324.4967.00.1' and bi.lordem =1
20240514@080329.3348 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.3395 judithqpekun7pu0plqot961nr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080329.3412 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.3415 judithqpekun7pu0plqot961nr Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080329.3425 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.3428 judithqpekun7pu0plqot961nr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080329.3602 judithqpekun7pu0plqot961nr Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080329.3616 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.3620 judithqpekun7pu0plqot961nr Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080329.3630 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.3632 judithqpekun7pu0plqot961nr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080329.3642 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.3647 judithqpekun7pu0plqot961nr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080329.3658 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.3660 judithqpekun7pu0plqot961nr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080329.3672 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.3675 judithqpekun7pu0plqot961nr Query : select 1 valor from td where ndoc = 39
20240514@080329.3684 judithqpekun7pu0plqot961nr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080329.3695 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080329.3708 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080329.3724 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080329.3736 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080329.3762 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080329.3775 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080329.3784 judithqpekun7pu0plqot961nr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080329.3859 judithqpekun7pu0plqot961nr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080329.3868 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080329.3880 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080329.3889 judithqpekun7pu0plqot961nr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664309960566430cc15c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080329.4030 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080329.4044 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080329.4070 judithqpekun7pu0plqot961nr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080329.4074 judithqpekun7pu0plqot961nr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080329.4079 judithqpekun7pu0plqot961nr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080329.4083 judithqpekun7pu0plqot961nr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080329.4088 judithqpekun7pu0plqot961nr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080329.4093 judithqpekun7pu0plqot961nr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080329.4097 judithqpekun7pu0plqot961nr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664309960566430cc15c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080329.4321 judithqpekun7pu0plqot961nr Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080329.4337 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080329.4349 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080329.4365 judithqpekun7pu0plqot961nr Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664309960566430cc15c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1294,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080329.4609 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.4613 judithqpekun7pu0plqot961nr Query : select st.usalote valor from st where st.ref = '324.4967.00.1'
20240514@080329.4625 judithqpekun7pu0plqot961nr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4967.00.1'
20240514@080329.4770 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.4783 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080329.4804 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.4816 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080329.4820 judithqpekun7pu0plqot961nr Query : select sestamp valor from se where ref ='324.4967.00.1' and lote = 'r2300825100a'
20240514@080329.4837 judithqpekun7pu0plqot961nr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080329.4847 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.4867 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080329.4892 judithqpekun7pu0plqot961nr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664308412066430cc176',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut664309960566430cc15c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080329.5107 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.5121 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080329.5125 judithqpekun7pu0plqot961nr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308412066430cc176','aut664309960566430cc15c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080329.5130 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.5133 judithqpekun7pu0plqot961nr Query : select st.usalote valor from st where st.ref = '324.4967.00.1'
20240514@080329.5143 judithqpekun7pu0plqot961nr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4967.00.1'
20240514@080329.5155 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.5168 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080329.5191 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.5203 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080329.5207 judithqpekun7pu0plqot961nr Query : select sestamp valor from se where ref ='324.4967.00.1' and lote = 'r2301277100a'
20240514@080329.5250 judithqpekun7pu0plqot961nr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080329.5261 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.5273 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080329.5307 judithqpekun7pu0plqot961nr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305556766430cc180',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut664309960566430cc15c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080329.5524 judithqpekun7pu0plqot961nr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.5541 judithqpekun7pu0plqot961nr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080329.5546 judithqpekun7pu0plqot961nr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305556766430cc180','aut664309960566430cc15c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080329.5550 judithqpekun7pu0plqot961nr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664309960566430cc15c','2403328','wait',39,'ari17112337378,753000005')
20240514@080329.5566 judithqpekun7pu0plqot961nr Query : use flama_phc
20240514@080329.5568 judithqpekun7pu0plqot961nr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080329.5579 judithqpekun7pu0plqot961nr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1619';
20240514@080329.5594 judithqpekun7pu0plqot961nr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1619';
20240514@080329.5645 judithqpekun7pu0plqot961nr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1619';
20240514@080329.5662 judithqpekun7pu0plqot961nr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1619';
20240514@080329.6273 savk0qbn3bitgp8as5ua9ig5up Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080329.6285 savk0qbn3bitgp8as5ua9ig5up Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080329.6304 savk0qbn3bitgp8as5ua9ig5up Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1620';
20240514@080329.6343 savk0qbn3bitgp8as5ua9ig5up Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1620';
20240514@080329.6362 savk0qbn3bitgp8as5ua9ig5up Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1620';
20240514@080329.6375 savk0qbn3bitgp8as5ua9ig5up Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1620';
20240514@080329.6391 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6394 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080329.6406 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6409 savk0qbn3bitgp8as5ua9ig5up Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080329.6438 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20240514@080329.6585 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403329 and bi.ref ='324.497.00.01' and bi.lordem =1
20240514@080329.6891 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6894 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080329.6906 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6909 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080329.6919 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6921 savk0qbn3bitgp8as5ua9ig5up Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080329.6940 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080329.6953 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6956 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080329.6966 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6968 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080329.6977 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6980 savk0qbn3bitgp8as5ua9ig5up Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080329.6990 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.6993 savk0qbn3bitgp8as5ua9ig5up Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080329.7004 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.7007 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from td where ndoc = 39
20240514@080329.7016 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080329.7028 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080329.7044 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080329.7061 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080329.7073 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080329.7097 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080329.7109 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080329.7122 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080329.7199 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080329.7209 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080329.7222 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080329.7232 savk0qbn3bitgp8as5ua9ig5up Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664302536066430cc1ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080329.7374 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080329.7409 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080329.7436 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080329.7440 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080329.7445 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080329.7449 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080329.7454 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080329.7459 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080329.7463 savk0qbn3bitgp8as5ua9ig5up Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664302536066430cc1ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080329.7834 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080329.7850 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080329.7863 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080329.7880 savk0qbn3bitgp8as5ua9ig5up Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664302536066430cc1ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1295,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080329.8139 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.8142 savk0qbn3bitgp8as5ua9ig5up Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20240514@080329.8153 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20240514@080329.8290 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.8303 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080329.8334 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.8349 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080329.8353 savk0qbn3bitgp8as5ua9ig5up Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20240514@080329.8370 savk0qbn3bitgp8as5ua9ig5up Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080329.8379 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080329.8391 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080329.8413 savk0qbn3bitgp8as5ua9ig5up Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305098966430cc1cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut664302536066430cc1ad' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080329.8628 savk0qbn3bitgp8as5ua9ig5up Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080329.8647 savk0qbn3bitgp8as5ua9ig5up Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080329.8651 savk0qbn3bitgp8as5ua9ig5up Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305098966430cc1cc','aut664302536066430cc1ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080329.8655 savk0qbn3bitgp8as5ua9ig5up Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664302536066430cc1ad','2403329','wait',39,'ari17112337378,753000005')
20240514@080329.8672 savk0qbn3bitgp8as5ua9ig5up Query : use flama_phc
20240514@080329.8674 savk0qbn3bitgp8as5ua9ig5up Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080329.8685 savk0qbn3bitgp8as5ua9ig5up Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1620';
20240514@080329.8709 savk0qbn3bitgp8as5ua9ig5up Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1620';
20240514@080329.8725 savk0qbn3bitgp8as5ua9ig5up Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1620';
20240514@080329.8736 savk0qbn3bitgp8as5ua9ig5up Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1620';
20240514@080329.9134 7acsms3oo8rrktve0mmhgvcnbu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080329.9149 7acsms3oo8rrktve0mmhgvcnbu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080329.9166 7acsms3oo8rrktve0mmhgvcnbu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1621';
20240514@080329.9208 7acsms3oo8rrktve0mmhgvcnbu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1621';
20240514@080329.9225 7acsms3oo8rrktve0mmhgvcnbu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1621';
20240514@080329.9239 7acsms3oo8rrktve0mmhgvcnbu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1621';
20240514@080329.9254 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9257 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080329.9270 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9273 7acsms3oo8rrktve0mmhgvcnbu Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080329.9341 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240514@080329.9487 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403330 and bi.ref ='304.4860.00.1' and bi.lordem =1
20240514@080329.9836 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9839 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080329.9852 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9875 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080329.9885 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9888 7acsms3oo8rrktve0mmhgvcnbu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080329.9902 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080329.9917 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9920 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080329.9930 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9933 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080329.9946 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9949 7acsms3oo8rrktve0mmhgvcnbu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080329.9959 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9962 7acsms3oo8rrktve0mmhgvcnbu Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080329.9973 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080329.9976 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from td where ndoc = 39
20240514@080329.9985 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080329.9997 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080330.1200 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080330.2700 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080330.4000 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080330.6500 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080330.7700 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080330.8700 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080330.1620 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080330.1710 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080330.1840 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080330.1930 7acsms3oo8rrktve0mmhgvcnbu Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664301376366430cc202' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080330.3300 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080330.3450 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080330.3720 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080330.3790 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080330.3840 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080330.3890 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080330.3940 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080330.3990 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080330.4040 7acsms3oo8rrktve0mmhgvcnbu Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664301376366430cc202',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080330.6190 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080330.6350 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080330.6480 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080330.6640 7acsms3oo8rrktve0mmhgvcnbu Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664301376366430cc202',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1296,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080330.9030 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080330.9110 7acsms3oo8rrktve0mmhgvcnbu Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240514@080330.9220 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240514@080330.1065 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.1080 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080330.1107 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.1120 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080330.1124 7acsms3oo8rrktve0mmhgvcnbu Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '240646'
20240514@080330.1151 7acsms3oo8rrktve0mmhgvcnbu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080330.1161 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.1172 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080330.1196 7acsms3oo8rrktve0mmhgvcnbu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664309418066430cc21c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',26.000 ,'aut664301376366430cc202' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080330.1408 7acsms3oo8rrktve0mmhgvcnbu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.1423 7acsms3oo8rrktve0mmhgvcnbu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080330.1427 7acsms3oo8rrktve0mmhgvcnbu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309418066430cc21c','aut664301376366430cc202' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080330.1431 7acsms3oo8rrktve0mmhgvcnbu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664301376366430cc202','2403330','wait',39,'ari17112337378,753000005')
20240514@080330.1446 7acsms3oo8rrktve0mmhgvcnbu Query : use flama_phc
20240514@080330.1449 7acsms3oo8rrktve0mmhgvcnbu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080330.1460 7acsms3oo8rrktve0mmhgvcnbu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1621';
20240514@080330.1475 7acsms3oo8rrktve0mmhgvcnbu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1621';
20240514@080330.1491 7acsms3oo8rrktve0mmhgvcnbu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1621';
20240514@080330.1503 7acsms3oo8rrktve0mmhgvcnbu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1621';
20240514@080330.1884 j52ka5i480h3ge5cpouf3dii57 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080330.1897 j52ka5i480h3ge5cpouf3dii57 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080330.1916 j52ka5i480h3ge5cpouf3dii57 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1622';
20240514@080330.1956 j52ka5i480h3ge5cpouf3dii57 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1622';
20240514@080330.1975 j52ka5i480h3ge5cpouf3dii57 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1622';
20240514@080330.1990 j52ka5i480h3ge5cpouf3dii57 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1622';
20240514@080330.2007 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2010 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080330.2023 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2026 j52ka5i480h3ge5cpouf3dii57 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080330.2056 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240514@080330.2067 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403331 and bi.ref ='324.4906.00.1' and bi.lordem =1
20240514@080330.2373 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240514@080330.2383 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403331 and bi.ref ='324.4906.00.1' and bi.lordem =1
20240514@080330.2388 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2391 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080330.2406 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2409 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080330.2418 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2420 j52ka5i480h3ge5cpouf3dii57 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080330.2430 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080330.2443 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2446 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080330.2456 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2458 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080330.2467 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2470 j52ka5i480h3ge5cpouf3dii57 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080330.2480 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2483 j52ka5i480h3ge5cpouf3dii57 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080330.2493 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.2496 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from td where ndoc = 39
20240514@080330.2521 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080330.2595 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080330.2609 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080330.2625 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080330.2640 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080330.2667 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080330.2681 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080330.2691 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080330.2768 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080330.2778 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080330.2791 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080330.2801 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664304436666430cc241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080330.2941 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080330.2958 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080330.2987 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080330.2992 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080330.2996 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080330.3001 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080330.3005 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080330.3010 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080330.3015 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664304436666430cc241',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080330.3318 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080330.3339 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080330.3354 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080330.3373 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664304436666430cc241',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1297,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080330.3635 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.3675 j52ka5i480h3ge5cpouf3dii57 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240514@080330.3706 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240514@080330.3722 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.3737 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080330.3771 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.3784 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080330.3787 j52ka5i480h3ge5cpouf3dii57 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240514@080330.3796 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080330.3805 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.3816 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080330.3841 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301601666430cc25c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut664304436666430cc241' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080330.4099 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.4116 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080330.4121 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301601666430cc25c','aut664304436666430cc241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080330.4126 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.4141 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080330.4166 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.4178 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080330.4183 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080330.4193 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.4204 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080330.4229 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664304138766430cc266',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664304436666430cc241' ,0,0 ,2,23.00,20000,?,?,?)
20240514@080330.4443 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.4459 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080330.4463 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664304138766430cc266','aut664304436666430cc241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080330.4467 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.4470 j52ka5i480h3ge5cpouf3dii57 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240514@080330.4480 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240514@080330.4491 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.4503 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080330.4527 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.4540 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080330.4546 j52ka5i480h3ge5cpouf3dii57 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240514@080330.4557 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080330.4567 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.4579 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080330.4605 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664300342966430cc26f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut664304436666430cc241' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080330.4813 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.4826 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080330.4830 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664300342966430cc26f','aut664304436666430cc241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080330.4836 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.4850 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080330.4873 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.4884 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080330.4888 j52ka5i480h3ge5cpouf3dii57 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080330.4900 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.4912 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080330.4935 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664304564066430cc277',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664304436666430cc241' ,0,0 ,2,23.00,50000,?,?,?)
20240514@080330.5280 j52ka5i480h3ge5cpouf3dii57 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.5295 j52ka5i480h3ge5cpouf3dii57 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080330.5299 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664304564066430cc277','aut664304436666430cc241' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080330.5303 j52ka5i480h3ge5cpouf3dii57 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664304436666430cc241','2403331','wait',39,'ari17112337378,753000005')
20240514@080330.5322 j52ka5i480h3ge5cpouf3dii57 Query : use flama_phc
20240514@080330.5325 j52ka5i480h3ge5cpouf3dii57 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080330.5336 j52ka5i480h3ge5cpouf3dii57 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1622';
20240514@080330.5351 j52ka5i480h3ge5cpouf3dii57 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1622';
20240514@080330.5367 j52ka5i480h3ge5cpouf3dii57 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1622';
20240514@080330.5379 j52ka5i480h3ge5cpouf3dii57 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1622';
20240514@080330.5760 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080330.5774 8ukc8etq8s46q2h8i82h5u7dpa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080330.5792 8ukc8etq8s46q2h8i82h5u7dpa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1623';
20240514@080330.5833 8ukc8etq8s46q2h8i82h5u7dpa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1623';
20240514@080330.5852 8ukc8etq8s46q2h8i82h5u7dpa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1623';
20240514@080330.5866 8ukc8etq8s46q2h8i82h5u7dpa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1623';
20240514@080330.5882 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.5885 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080330.5897 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.5900 8ukc8etq8s46q2h8i82h5u7dpa Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080330.5927 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2041.00.1'
20240514@080330.6069 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403332 and bi.ref ='324.2041.00.1' and bi.lordem =1
20240514@080330.6369 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.6373 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080330.6387 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.6390 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080330.6401 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.6403 8ukc8etq8s46q2h8i82h5u7dpa Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080330.6414 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080330.6427 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.6430 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080330.6440 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.6443 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080330.6453 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.6455 8ukc8etq8s46q2h8i82h5u7dpa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080330.6466 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.6469 8ukc8etq8s46q2h8i82h5u7dpa Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080330.6481 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.6484 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from td where ndoc = 39
20240514@080330.6495 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080330.6507 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080330.6521 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080330.6538 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080330.6556 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080330.6584 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080330.6596 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080330.6606 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080330.6736 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080330.6746 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080330.6759 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080330.6790 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664302267366430cc2a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080330.6936 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080330.6949 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080330.6977 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080330.6982 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080330.6987 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080330.6992 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080330.6997 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080330.7002 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080330.7006 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664302267366430cc2a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080330.7217 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080330.7234 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080330.7247 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080330.7264 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664302267366430cc2a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1298,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080330.7511 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.7515 8ukc8etq8s46q2h8i82h5u7dpa Query : select st.usalote valor from st where st.ref = '324.2041.00.1'
20240514@080330.7526 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2041.00.1'
20240514@080330.7671 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.7685 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080330.7713 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.7727 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080330.7731 8ukc8etq8s46q2h8i82h5u7dpa Query : select sestamp valor from se where ref ='324.2041.00.1' and lote = 'r2100232100a'
20240514@080330.7772 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080330.7782 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.7794 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080330.7822 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664302066366430cc2bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut664302267366430cc2a1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080330.8052 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.8065 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080330.8069 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664302066366430cc2bd','aut664302267366430cc2a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080330.8073 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.8085 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080330.8105 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.8116 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080330.8120 8ukc8etq8s46q2h8i82h5u7dpa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080330.8128 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080330.8139 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080330.8162 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664306207666430cc2c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664302267366430cc2a1' ,0,0 ,2,23.00,20000,?,?,?)
20240514@080330.8371 8ukc8etq8s46q2h8i82h5u7dpa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080330.8385 8ukc8etq8s46q2h8i82h5u7dpa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080330.8389 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306207666430cc2c6','aut664302267366430cc2a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080330.8393 8ukc8etq8s46q2h8i82h5u7dpa Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664302267366430cc2a1','2403332','wait',39,'ari17112337378,753000005')
20240514@080330.8407 8ukc8etq8s46q2h8i82h5u7dpa Query : use flama_phc
20240514@080330.8410 8ukc8etq8s46q2h8i82h5u7dpa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080330.8420 8ukc8etq8s46q2h8i82h5u7dpa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1623';
20240514@080330.8434 8ukc8etq8s46q2h8i82h5u7dpa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1623';
20240514@080330.8451 8ukc8etq8s46q2h8i82h5u7dpa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1623';
20240514@080330.8462 8ukc8etq8s46q2h8i82h5u7dpa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1623';
20240514@080330.8849 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080330.8861 sr4g40dq9hgdg93eiv5sgrhevm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080330.8878 sr4g40dq9hgdg93eiv5sgrhevm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1624';
20240514@080330.8919 sr4g40dq9hgdg93eiv5sgrhevm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1624';
20240514@080330.8936 sr4g40dq9hgdg93eiv5sgrhevm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1624';
20240514@080330.8948 sr4g40dq9hgdg93eiv5sgrhevm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1624';
20240514@080330.8964 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.8967 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080330.8983 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.8986 sr4g40dq9hgdg93eiv5sgrhevm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080330.9013 sr4g40dq9hgdg93eiv5sgrhevm 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'
20240514@080330.9022 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403333 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240514@080330.9333 sr4g40dq9hgdg93eiv5sgrhevm 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'
20240514@080330.9351 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403333 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240514@080330.9356 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.9359 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080330.9371 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.9374 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080330.9382 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.9385 sr4g40dq9hgdg93eiv5sgrhevm Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080330.9396 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080330.9410 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.9413 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080330.9422 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.9425 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080330.9434 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.9437 sr4g40dq9hgdg93eiv5sgrhevm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080330.9448 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.9451 sr4g40dq9hgdg93eiv5sgrhevm Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080330.9463 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080330.9466 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from td where ndoc = 39
20240514@080330.9476 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080330.9487 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080330.9500 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080330.9526 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080330.9538 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080330.9564 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080330.9576 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080330.9585 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080330.9664 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080330.9674 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080330.9687 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080330.9701 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664305620666430cc2ea' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080330.9839 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080330.9854 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080330.9883 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080330.9888 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080330.9894 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080330.9901 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080330.9907 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080330.9912 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080330.9917 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664305620666430cc2ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080331.1320 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080331.1490 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080331.1630 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080331.1810 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664305620666430cc2ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1299,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080331.4320 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080331.4540 sr4g40dq9hgdg93eiv5sgrhevm Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240514@080331.4650 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20240514@080331.4760 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.4900 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080331.5540 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.8230 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080331.9450 sr4g40dq9hgdg93eiv5sgrhevm Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240514@080331.1320 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080331.1608 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.1732 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080331.1797 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303820966430cc327',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664305620666430cc2ea' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080331.2015 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.2031 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080331.2036 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303820966430cc327','aut664305620666430cc2ea' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080331.2041 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080331.2044 sr4g40dq9hgdg93eiv5sgrhevm Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240514@080331.2054 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20240514@080331.2065 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.2078 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080331.2101 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.2114 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080331.2118 sr4g40dq9hgdg93eiv5sgrhevm Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240514@080331.2128 sr4g40dq9hgdg93eiv5sgrhevm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080331.2137 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.2149 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080331.2171 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301281866430cc334',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut664305620666430cc2ea' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080331.2382 sr4g40dq9hgdg93eiv5sgrhevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.2399 sr4g40dq9hgdg93eiv5sgrhevm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080331.2403 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301281866430cc334','aut664305620666430cc2ea' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080331.2408 sr4g40dq9hgdg93eiv5sgrhevm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664305620666430cc2ea','2403333','wait',39,'ari17112337378,753000005')
20240514@080331.2423 sr4g40dq9hgdg93eiv5sgrhevm Query : use flama_phc
20240514@080331.2425 sr4g40dq9hgdg93eiv5sgrhevm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080331.2437 sr4g40dq9hgdg93eiv5sgrhevm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1624';
20240514@080331.2451 sr4g40dq9hgdg93eiv5sgrhevm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1624';
20240514@080331.2468 sr4g40dq9hgdg93eiv5sgrhevm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1624';
20240514@080331.2479 sr4g40dq9hgdg93eiv5sgrhevm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1624';
20240514@080331.3018 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080331.3031 h8n8t0o2ceed2ltkgsbpcln64q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080331.3049 h8n8t0o2ceed2ltkgsbpcln64q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1625';
20240514@080331.3091 h8n8t0o2ceed2ltkgsbpcln64q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1625';
20240514@080331.3112 h8n8t0o2ceed2ltkgsbpcln64q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1625';
20240514@080331.3125 h8n8t0o2ceed2ltkgsbpcln64q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1625';
20240514@080331.3167 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3170 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080331.3183 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3186 h8n8t0o2ceed2ltkgsbpcln64q Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080331.3214 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240514@080331.3363 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403334 and bi.ref ='324.2222.00.1' and bi.lordem =1
20240514@080331.3664 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240514@080331.3676 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403334 and bi.ref ='324.2222.00.1' and bi.lordem =1
20240514@080331.3682 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3686 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080331.3702 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3705 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080331.3716 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3720 h8n8t0o2ceed2ltkgsbpcln64q Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080331.3731 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080331.3747 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3751 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080331.3762 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3765 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080331.3776 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3779 h8n8t0o2ceed2ltkgsbpcln64q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080331.3791 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3794 h8n8t0o2ceed2ltkgsbpcln64q Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080331.3807 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.3811 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from td where ndoc = 39
20240514@080331.3822 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080331.3834 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080331.3856 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080331.3875 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080331.3888 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080331.3918 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080331.3931 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080331.3943 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080331.4023 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080331.4034 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080331.4049 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080331.4060 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664302932066430cc360' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080331.4198 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080331.4214 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080331.4247 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080331.4253 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080331.4258 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080331.4264 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080331.4270 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080331.4276 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080331.4281 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664302932066430cc360',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080331.4536 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080331.4569 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080331.4586 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080331.4611 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664302932066430cc360',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1300,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080331.4854 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.4861 h8n8t0o2ceed2ltkgsbpcln64q Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20240514@080331.4875 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20240514@080331.5028 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.5042 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080331.5394 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.5417 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080331.5425 h8n8t0o2ceed2ltkgsbpcln64q Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2300829100a'
20240514@080331.5437 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080331.5447 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.5459 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080331.5481 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306853066430cc384',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut664302932066430cc360' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080331.5756 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.5771 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080331.5775 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306853066430cc384','aut664302932066430cc360' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080331.5779 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.5782 h8n8t0o2ceed2ltkgsbpcln64q Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20240514@080331.5793 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20240514@080331.5803 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.5816 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080331.5838 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.5849 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080331.5854 h8n8t0o2ceed2ltkgsbpcln64q Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2300829100a'
20240514@080331.5863 h8n8t0o2ceed2ltkgsbpcln64q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080331.5872 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.5890 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080331.5987 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305977866430cc38f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut664302932066430cc360' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080331.6215 h8n8t0o2ceed2ltkgsbpcln64q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.6260 h8n8t0o2ceed2ltkgsbpcln64q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080331.6265 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305977866430cc38f','aut664302932066430cc360' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080331.6270 h8n8t0o2ceed2ltkgsbpcln64q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664302932066430cc360','2403334','wait',39,'ari17112337378,753000005')
20240514@080331.6291 h8n8t0o2ceed2ltkgsbpcln64q Query : use flama_phc
20240514@080331.6294 h8n8t0o2ceed2ltkgsbpcln64q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080331.6410 h8n8t0o2ceed2ltkgsbpcln64q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1625';
20240514@080331.6428 h8n8t0o2ceed2ltkgsbpcln64q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1625';
20240514@080331.6446 h8n8t0o2ceed2ltkgsbpcln64q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1625';
20240514@080331.6482 h8n8t0o2ceed2ltkgsbpcln64q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1625';
20240514@080331.6877 shv9k2jdkocd7amqvikg6jidlm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080331.6890 shv9k2jdkocd7amqvikg6jidlm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080331.6910 shv9k2jdkocd7amqvikg6jidlm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1626';
20240514@080331.6953 shv9k2jdkocd7amqvikg6jidlm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1626';
20240514@080331.6971 shv9k2jdkocd7amqvikg6jidlm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1626';
20240514@080331.6986 shv9k2jdkocd7amqvikg6jidlm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1626';
20240514@080331.7024 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7027 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080331.7039 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7042 shv9k2jdkocd7amqvikg6jidlm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080331.7069 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20240514@080331.7337 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403335 and bi.ref ='324.946.00.01' and bi.lordem =1
20240514@080331.7646 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20240514@080331.7657 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403335 and bi.ref ='324.946.00.01' and bi.lordem =1
20240514@080331.7662 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7665 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080331.7678 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7681 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080331.7690 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7693 shv9k2jdkocd7amqvikg6jidlm Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080331.7703 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080331.7726 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7729 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080331.7738 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7741 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080331.7751 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7753 shv9k2jdkocd7amqvikg6jidlm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080331.7787 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7791 shv9k2jdkocd7amqvikg6jidlm Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080331.7804 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.7807 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from td where ndoc = 39
20240514@080331.7817 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080331.7829 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080331.7844 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080331.7863 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080331.7877 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080331.7904 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080331.7918 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080331.7928 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080331.8005 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080331.8016 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080331.8030 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080331.8041 shv9k2jdkocd7amqvikg6jidlm Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664300146566430cc3c1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080331.8215 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080331.8233 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080331.8272 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080331.8277 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080331.8283 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080331.8288 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080331.8294 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080331.8299 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080331.8304 shv9k2jdkocd7amqvikg6jidlm Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664300146566430cc3c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080331.8516 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080331.8534 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080331.8549 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080331.8567 shv9k2jdkocd7amqvikg6jidlm Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664300146566430cc3c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1301,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080331.8813 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.8816 shv9k2jdkocd7amqvikg6jidlm Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20240514@080331.8829 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.946.00.01'
20240514@080331.8971 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.8985 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080331.9010 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.9023 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080331.9028 shv9k2jdkocd7amqvikg6jidlm Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20240514@080331.9045 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080331.9055 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.9077 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080331.9101 shv9k2jdkocd7amqvikg6jidlm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306930466430cc3dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut664300146566430cc3c1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080331.9338 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.9357 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080331.9361 shv9k2jdkocd7amqvikg6jidlm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306930466430cc3dd','aut664300146566430cc3c1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080331.9366 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.9369 shv9k2jdkocd7amqvikg6jidlm Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20240514@080331.9381 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.946.00.01'
20240514@080331.9393 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.9407 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080331.9431 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.9443 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080331.9448 shv9k2jdkocd7amqvikg6jidlm Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20240514@080331.9459 shv9k2jdkocd7amqvikg6jidlm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080331.9473 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080331.9486 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080331.9531 shv9k2jdkocd7amqvikg6jidlm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664302450966430cc3e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664300146566430cc3c1' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080331.9767 shv9k2jdkocd7amqvikg6jidlm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080331.9912 shv9k2jdkocd7amqvikg6jidlm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080331.9917 shv9k2jdkocd7amqvikg6jidlm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664302450966430cc3e7','aut664300146566430cc3c1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080331.9921 shv9k2jdkocd7amqvikg6jidlm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664300146566430cc3c1','2403335','wait',39,'ari17112337378,753000005')
20240514@080331.9937 shv9k2jdkocd7amqvikg6jidlm Query : use flama_phc
20240514@080331.9940 shv9k2jdkocd7amqvikg6jidlm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080331.9953 shv9k2jdkocd7amqvikg6jidlm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1626';
20240514@080331.9979 shv9k2jdkocd7amqvikg6jidlm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1626';
20240514@080331.9996 shv9k2jdkocd7amqvikg6jidlm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1626';
20240514@080332.9000 shv9k2jdkocd7amqvikg6jidlm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1626';
20240514@080332.4200 0beltb8ul02jfp1jmp7t3ota3m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080332.4330 0beltb8ul02jfp1jmp7t3ota3m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080332.4540 0beltb8ul02jfp1jmp7t3ota3m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1627';
20240514@080332.4960 0beltb8ul02jfp1jmp7t3ota3m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1627';
20240514@080332.5170 0beltb8ul02jfp1jmp7t3ota3m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1627';
20240514@080332.5300 0beltb8ul02jfp1jmp7t3ota3m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1627';
20240514@080332.5460 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.5500 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080332.5630 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.5660 0beltb8ul02jfp1jmp7t3ota3m Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080332.6020 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240514@080332.6210 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403336 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240514@080332.9630 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240514@080332.9750 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403336 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240514@080332.9800 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.9840 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080332.9960 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.9990 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080332.1008 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.1011 0beltb8ul02jfp1jmp7t3ota3m Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080332.1022 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080332.1038 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.1041 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080332.1053 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.1056 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080332.1066 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.1068 0beltb8ul02jfp1jmp7t3ota3m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080332.1078 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.1081 0beltb8ul02jfp1jmp7t3ota3m Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080332.1092 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.1095 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from td where ndoc = 39
20240514@080332.1107 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080332.1118 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080332.1132 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080332.1155 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080332.1168 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080332.1194 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080332.1209 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080332.1218 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080332.1313 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080332.1322 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080332.1335 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080332.1345 0beltb8ul02jfp1jmp7t3ota3m Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664309339166430cc41d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080332.1493 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080332.1507 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080332.1535 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080332.1539 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080332.1544 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080332.1549 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080332.1553 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080332.1558 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080332.1562 0beltb8ul02jfp1jmp7t3ota3m Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664309339166430cc41d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080332.1781 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080332.1797 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080332.1809 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080332.1827 0beltb8ul02jfp1jmp7t3ota3m Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664309339166430cc41d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1302,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080332.2084 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.2088 0beltb8ul02jfp1jmp7t3ota3m Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240514@080332.2098 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240514@080332.2108 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080332.2123 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080332.2224 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080332.2239 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080332.2243 0beltb8ul02jfp1jmp7t3ota3m Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240514@080332.2253 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080332.2261 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080332.2273 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080332.2296 0beltb8ul02jfp1jmp7t3ota3m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664308643066430cc437',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664309339166430cc41d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080332.2536 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080332.2551 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080332.2555 0beltb8ul02jfp1jmp7t3ota3m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308643066430cc437','aut664309339166430cc41d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080332.2560 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.2563 0beltb8ul02jfp1jmp7t3ota3m Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240514@080332.2575 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240514@080332.2587 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080332.2599 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080332.2624 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080332.2635 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080332.2639 0beltb8ul02jfp1jmp7t3ota3m Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240514@080332.2648 0beltb8ul02jfp1jmp7t3ota3m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080332.2657 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080332.2668 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080332.2689 0beltb8ul02jfp1jmp7t3ota3m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305238566430cc440',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut664309339166430cc41d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080332.2942 0beltb8ul02jfp1jmp7t3ota3m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080332.2957 0beltb8ul02jfp1jmp7t3ota3m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080332.2961 0beltb8ul02jfp1jmp7t3ota3m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305238566430cc440','aut664309339166430cc41d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080332.2967 0beltb8ul02jfp1jmp7t3ota3m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664309339166430cc41d','2403336','wait',39,'ari17112337378,753000005')
20240514@080332.2983 0beltb8ul02jfp1jmp7t3ota3m Query : use flama_phc
20240514@080332.2986 0beltb8ul02jfp1jmp7t3ota3m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080332.2997 0beltb8ul02jfp1jmp7t3ota3m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1627';
20240514@080332.3013 0beltb8ul02jfp1jmp7t3ota3m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1627';
20240514@080332.3029 0beltb8ul02jfp1jmp7t3ota3m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1627';
20240514@080332.3042 0beltb8ul02jfp1jmp7t3ota3m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1627';
20240514@080332.3708 27khqilv6ihvkncdipebksvsmu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080332.3720 27khqilv6ihvkncdipebksvsmu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080332.3739 27khqilv6ihvkncdipebksvsmu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1628';
20240514@080332.3777 27khqilv6ihvkncdipebksvsmu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1628';
20240514@080332.3797 27khqilv6ihvkncdipebksvsmu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1628';
20240514@080332.3810 27khqilv6ihvkncdipebksvsmu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1628';
20240514@080332.3824 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.3828 27khqilv6ihvkncdipebksvsmu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080332.3849 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.3852 27khqilv6ihvkncdipebksvsmu Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080332.3886 27khqilv6ihvkncdipebksvsmu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240514@080332.3968 27khqilv6ihvkncdipebksvsmu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403337 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240514@080332.4366 27khqilv6ihvkncdipebksvsmu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240514@080332.4376 27khqilv6ihvkncdipebksvsmu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403337 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240514@080332.4381 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.4384 27khqilv6ihvkncdipebksvsmu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080332.4396 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.4399 27khqilv6ihvkncdipebksvsmu Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080332.4420 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.4423 27khqilv6ihvkncdipebksvsmu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080332.4434 27khqilv6ihvkncdipebksvsmu Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080332.4447 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.4449 27khqilv6ihvkncdipebksvsmu Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080332.4480 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.4483 27khqilv6ihvkncdipebksvsmu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080332.4495 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.4498 27khqilv6ihvkncdipebksvsmu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080332.4508 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.4510 27khqilv6ihvkncdipebksvsmu Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080332.4542 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.4546 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from td where ndoc = 39
20240514@080332.4555 27khqilv6ihvkncdipebksvsmu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080332.4566 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080332.4578 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080332.4601 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080332.4613 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080332.4644 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080332.4663 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080332.4672 27khqilv6ihvkncdipebksvsmu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080332.4768 27khqilv6ihvkncdipebksvsmu Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080332.4811 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080332.4829 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080332.4841 27khqilv6ihvkncdipebksvsmu Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664301351566430cc472' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080332.5026 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080332.5045 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080332.5131 27khqilv6ihvkncdipebksvsmu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080332.5136 27khqilv6ihvkncdipebksvsmu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080332.5141 27khqilv6ihvkncdipebksvsmu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080332.5147 27khqilv6ihvkncdipebksvsmu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080332.5167 27khqilv6ihvkncdipebksvsmu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080332.5173 27khqilv6ihvkncdipebksvsmu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080332.5180 27khqilv6ihvkncdipebksvsmu Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664301351566430cc472',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080332.5456 27khqilv6ihvkncdipebksvsmu Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080332.5590 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080332.5605 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080332.5654 27khqilv6ihvkncdipebksvsmu Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664301351566430cc472',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1303,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080332.6024 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.6028 27khqilv6ihvkncdipebksvsmu Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240514@080332.6042 27khqilv6ihvkncdipebksvsmu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240514@080332.6079 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080332.6094 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080332.6118 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080332.6132 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080332.6136 27khqilv6ihvkncdipebksvsmu Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240514@080332.6150 27khqilv6ihvkncdipebksvsmu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080332.6280 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080332.6496 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080332.6520 27khqilv6ihvkncdipebksvsmu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307055166430cc499',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut664301351566430cc472' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080332.6813 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080332.6828 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080332.6833 27khqilv6ihvkncdipebksvsmu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307055166430cc499','aut664301351566430cc472' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080332.6838 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.6842 27khqilv6ihvkncdipebksvsmu Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240514@080332.6853 27khqilv6ihvkncdipebksvsmu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240514@080332.6864 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080332.6884 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080332.6908 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080332.6921 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080332.6925 27khqilv6ihvkncdipebksvsmu Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240514@080332.6935 27khqilv6ihvkncdipebksvsmu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080332.6944 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080332.6963 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080332.6986 27khqilv6ihvkncdipebksvsmu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307281466430cc4a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut664301351566430cc472' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080332.7280 27khqilv6ihvkncdipebksvsmu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080332.7294 27khqilv6ihvkncdipebksvsmu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080332.7299 27khqilv6ihvkncdipebksvsmu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307281466430cc4a9','aut664301351566430cc472' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080332.7303 27khqilv6ihvkncdipebksvsmu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664301351566430cc472','2403337','wait',39,'ari17112337378,753000005')
20240514@080332.7319 27khqilv6ihvkncdipebksvsmu Query : use flama_phc
20240514@080332.7321 27khqilv6ihvkncdipebksvsmu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080332.7332 27khqilv6ihvkncdipebksvsmu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1628';
20240514@080332.7348 27khqilv6ihvkncdipebksvsmu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1628';
20240514@080332.7364 27khqilv6ihvkncdipebksvsmu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1628';
20240514@080332.7377 27khqilv6ihvkncdipebksvsmu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1628';
20240514@080332.7763 928dd8b9duccutcf93ida9bu04 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080332.7776 928dd8b9duccutcf93ida9bu04 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080332.7794 928dd8b9duccutcf93ida9bu04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1629';
20240514@080332.7836 928dd8b9duccutcf93ida9bu04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1629';
20240514@080332.7855 928dd8b9duccutcf93ida9bu04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1629';
20240514@080332.7869 928dd8b9duccutcf93ida9bu04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1629';
20240514@080332.7884 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.7887 928dd8b9duccutcf93ida9bu04 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080332.7900 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.7904 928dd8b9duccutcf93ida9bu04 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4786
20240514@080332.7976 928dd8b9duccutcf93ida9bu04 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240514@080332.7988 928dd8b9duccutcf93ida9bu04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403355 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240514@080332.8339 928dd8b9duccutcf93ida9bu04 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240514@080332.8352 928dd8b9duccutcf93ida9bu04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403355 and bi.ref ='324.4970.00.1' and bi.lordem =2
20240514@080332.8666 928dd8b9duccutcf93ida9bu04 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240514@080332.8678 928dd8b9duccutcf93ida9bu04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403355 and bi.ref ='324.4970.00.1' and bi.lordem =2
20240514@080332.8686 928dd8b9duccutcf93ida9bu04 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240514@080332.8697 928dd8b9duccutcf93ida9bu04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403355 and bi.ref ='324.1470.00.1' and bi.lordem =3
20240514@080332.9025 928dd8b9duccutcf93ida9bu04 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240514@080332.9038 928dd8b9duccutcf93ida9bu04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403355 and bi.ref ='324.4990.00.1' and bi.lordem =4
20240514@080332.9347 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.9352 928dd8b9duccutcf93ida9bu04 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080332.9367 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.9371 928dd8b9duccutcf93ida9bu04 Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080332.9382 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.9385 928dd8b9duccutcf93ida9bu04 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080332.9399 928dd8b9duccutcf93ida9bu04 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080332.9415 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.9419 928dd8b9duccutcf93ida9bu04 Query : select top 1 ~inactivo valor from cl where no = '101847' and estab = 0 order by inactivo desc
20240514@080332.9522 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.9526 928dd8b9duccutcf93ida9bu04 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080332.9538 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.9541 928dd8b9duccutcf93ida9bu04 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080332.9553 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.9556 928dd8b9duccutcf93ida9bu04 Query : select szadrsstamp valor from szadrs where szadrsdesc='101847 - media markt aveiro-prod.inf.e elect.,lda'
20240514@080332.9570 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080332.9574 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from td where ndoc = 39
20240514@080332.9584 928dd8b9duccutcf93ida9bu04 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080332.9602 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080332.9617 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080332.9635 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080332.9649 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080332.9677 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080332.9690 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080332.9703 928dd8b9duccutcf93ida9bu04 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080332.9784 928dd8b9duccutcf93ida9bu04 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080332.9797 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080332.9812 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080332.9823 928dd8b9duccutcf93ida9bu04 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664300819766430cc4ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080333.1900 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080333.3600 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080333.7100 928dd8b9duccutcf93ida9bu04 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080333.7700 928dd8b9duccutcf93ida9bu04 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080333.8300 928dd8b9duccutcf93ida9bu04 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080333.8900 928dd8b9duccutcf93ida9bu04 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080333.9500 928dd8b9duccutcf93ida9bu04 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080333.1010 928dd8b9duccutcf93ida9bu04 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080333.1060 928dd8b9duccutcf93ida9bu04 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664300819766430cc4ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080333.3670 928dd8b9duccutcf93ida9bu04 Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080333.3900 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080333.4680 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080333.5040 928dd8b9duccutcf93ida9bu04 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664300819766430cc4ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1304,101847,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080333.1125 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080333.1166 928dd8b9duccutcf93ida9bu04 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240514@080333.1494 928dd8b9duccutcf93ida9bu04 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240514@080333.1643 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.1657 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080333.1950 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.1963 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080333.1967 928dd8b9duccutcf93ida9bu04 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240514@080333.1976 928dd8b9duccutcf93ida9bu04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080333.1985 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.1999 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080333.2021 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307548066430cc530',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664300819766430cc4ec' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080333.2236 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.2250 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080333.2254 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307548066430cc530','aut664300819766430cc4ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080333.2258 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080333.2261 928dd8b9duccutcf93ida9bu04 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240514@080333.2271 928dd8b9duccutcf93ida9bu04 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240514@080333.2281 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.2292 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080333.2314 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.2324 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080333.2329 928dd8b9duccutcf93ida9bu04 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240514@080333.2338 928dd8b9duccutcf93ida9bu04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080333.2365 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.2376 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080333.2400 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303608566430cc539',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664300819766430cc4ec' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080333.2616 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.2629 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080333.2633 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303608566430cc539','aut664300819766430cc4ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080333.2637 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080333.2640 928dd8b9duccutcf93ida9bu04 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240514@080333.2650 928dd8b9duccutcf93ida9bu04 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240514@080333.2661 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.2672 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080333.2696 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.2707 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080333.2711 928dd8b9duccutcf93ida9bu04 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240514@080333.2721 928dd8b9duccutcf93ida9bu04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080333.2730 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.2741 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080333.2763 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664304954466430cc542',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut664300819766430cc4ec' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240514@080333.2978 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.2992 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080333.2996 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664304954466430cc542','aut664300819766430cc4ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080333.3000 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080333.3003 928dd8b9duccutcf93ida9bu04 Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240514@080333.3014 928dd8b9duccutcf93ida9bu04 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240514@080333.3024 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.3037 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080333.3059 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.3082 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080333.3086 928dd8b9duccutcf93ida9bu04 Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240514@080333.3095 928dd8b9duccutcf93ida9bu04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080333.3140 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.3155 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080333.3177 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307446666430cc54c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut664300819766430cc4ec' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080333.3459 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.3495 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080333.3501 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307446666430cc54c','aut664300819766430cc4ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080333.3506 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080333.3509 928dd8b9duccutcf93ida9bu04 Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240514@080333.3520 928dd8b9duccutcf93ida9bu04 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240514@080333.3531 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.3546 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080333.3569 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.3618 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080333.3623 928dd8b9duccutcf93ida9bu04 Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240514@080333.3633 928dd8b9duccutcf93ida9bu04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080333.3644 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.3675 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080333.3700 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301778566430cc558',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut664300819766430cc4ec' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240514@080333.3928 928dd8b9duccutcf93ida9bu04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.3944 928dd8b9duccutcf93ida9bu04 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080333.3948 928dd8b9duccutcf93ida9bu04 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301778566430cc558','aut664300819766430cc4ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080333.3953 928dd8b9duccutcf93ida9bu04 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664300819766430cc4ec','2403355','wait',39,'ari17112337378,753000005')
20240514@080333.3974 928dd8b9duccutcf93ida9bu04 Query : use flama_phc
20240514@080333.3977 928dd8b9duccutcf93ida9bu04 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080333.3988 928dd8b9duccutcf93ida9bu04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1629';
20240514@080333.4003 928dd8b9duccutcf93ida9bu04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1629';
20240514@080333.4020 928dd8b9duccutcf93ida9bu04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1629';
20240514@080333.4033 928dd8b9duccutcf93ida9bu04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1629';
20240514@080333.4456 s17ukcltgh5qu2hbfm8jac176m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080333.4469 s17ukcltgh5qu2hbfm8jac176m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080333.4489 s17ukcltgh5qu2hbfm8jac176m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1630';
20240514@080333.4531 s17ukcltgh5qu2hbfm8jac176m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1630';
20240514@080333.4550 s17ukcltgh5qu2hbfm8jac176m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1630';
20240514@080333.4565 s17ukcltgh5qu2hbfm8jac176m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1630';
20240514@080333.4580 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.4583 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080333.4596 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.4598 s17ukcltgh5qu2hbfm8jac176m Query : select no, estab,szadrsdesc from szadrs where u_coddest=4786
20240514@080333.4625 s17ukcltgh5qu2hbfm8jac176m 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'
20240514@080333.4636 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403356 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240514@080333.4981 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.4985 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080333.4998 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.5001 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080333.5012 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.5015 s17ukcltgh5qu2hbfm8jac176m Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080333.5025 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080333.5039 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.5042 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 ~inactivo valor from cl where no = '101847' and estab = 0 order by inactivo desc
20240514@080333.5052 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.5054 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080333.5064 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.5067 s17ukcltgh5qu2hbfm8jac176m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080333.5077 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.5080 s17ukcltgh5qu2hbfm8jac176m Query : select szadrsstamp valor from szadrs where szadrsdesc='101847 - media markt aveiro-prod.inf.e elect.,lda'
20240514@080333.5092 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.5095 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from td where ndoc = 39
20240514@080333.5104 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080333.5116 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080333.5129 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080333.5146 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080333.5160 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080333.5188 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080333.5201 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080333.5211 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080333.5290 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080333.5300 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080333.5313 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080333.5323 s17ukcltgh5qu2hbfm8jac176m Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664304621566430cc57f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080333.5467 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080333.5481 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080333.5508 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080333.5513 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080333.5518 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080333.5523 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080333.5528 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080333.5532 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080333.5537 s17ukcltgh5qu2hbfm8jac176m Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664304621566430cc57f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080333.5751 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080333.5767 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080333.5781 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080333.5798 s17ukcltgh5qu2hbfm8jac176m Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664304621566430cc57f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1305,101847,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080333.6136 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.6139 s17ukcltgh5qu2hbfm8jac176m Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240514@080333.6152 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20240514@080333.6162 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.6176 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080333.6199 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.6211 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080333.6215 s17ukcltgh5qu2hbfm8jac176m Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240514@080333.6224 s17ukcltgh5qu2hbfm8jac176m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080333.6232 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080333.6243 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080333.6264 s17ukcltgh5qu2hbfm8jac176m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303305166430cc598',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664304621566430cc57f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080333.6571 s17ukcltgh5qu2hbfm8jac176m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080333.6585 s17ukcltgh5qu2hbfm8jac176m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080333.6589 s17ukcltgh5qu2hbfm8jac176m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303305166430cc598','aut664304621566430cc57f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080333.6594 s17ukcltgh5qu2hbfm8jac176m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664304621566430cc57f','2403356','wait',39,'ari17112337378,753000005')
20240514@080333.6608 s17ukcltgh5qu2hbfm8jac176m Query : use flama_phc
20240514@080333.6611 s17ukcltgh5qu2hbfm8jac176m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080333.6622 s17ukcltgh5qu2hbfm8jac176m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1630';
20240514@080333.6637 s17ukcltgh5qu2hbfm8jac176m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1630';
20240514@080333.6654 s17ukcltgh5qu2hbfm8jac176m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1630';
20240514@080333.6666 s17ukcltgh5qu2hbfm8jac176m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1630';
20240514@080333.7152 ftpfek4t2uf79rdeif0jebtmqo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080333.7168 ftpfek4t2uf79rdeif0jebtmqo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080333.7198 ftpfek4t2uf79rdeif0jebtmqo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1631';
20240514@080333.7307 ftpfek4t2uf79rdeif0jebtmqo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1631';
20240514@080333.7341 ftpfek4t2uf79rdeif0jebtmqo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1631';
20240514@080333.7355 ftpfek4t2uf79rdeif0jebtmqo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1631';
20240514@080333.7370 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.7373 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080333.7386 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.7388 ftpfek4t2uf79rdeif0jebtmqo Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080333.7419 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240514@080333.7599 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403357 and bi.ref ='324.4988.00.1' and bi.lordem =1
20240514@080333.7937 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240514@080333.7948 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403357 and bi.ref ='324.4988.00.1' and bi.lordem =1
20240514@080333.7954 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240514@080333.7963 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403357 and bi.ref ='324.4988.00.1' and bi.lordem =2
20240514@080333.8451 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.8455 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080333.8477 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.8480 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080333.8490 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.8492 ftpfek4t2uf79rdeif0jebtmqo Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080333.8502 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080333.8530 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.8534 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080333.8546 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.8549 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080333.8559 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.8562 ftpfek4t2uf79rdeif0jebtmqo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080333.8603 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.8606 ftpfek4t2uf79rdeif0jebtmqo Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080333.8618 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.8621 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from td where ndoc = 39
20240514@080333.8631 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080333.8660 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080333.8673 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080333.8690 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080333.8703 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080333.8750 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080333.8762 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080333.8773 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080333.8912 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080333.8941 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080333.8954 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080333.8964 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664307639166430cc5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080333.9242 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080333.9256 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080333.9299 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080333.9304 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080333.9308 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080333.9313 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080333.9317 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080333.9322 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080333.9326 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664307639166430cc5d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080333.9615 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080333.9631 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080333.9649 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080333.9668 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664307639166430cc5d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1306,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080333.9925 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080333.9929 ftpfek4t2uf79rdeif0jebtmqo Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240514@080333.9941 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240514@080334.8200 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.1000 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080334.1230 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.1350 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080334.1420 ftpfek4t2uf79rdeif0jebtmqo Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100743100a'
20240514@080334.1640 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080334.1730 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.1840 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080334.2070 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664308786466430cc604',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut664307639166430cc5d6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080334.4550 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.4980 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080334.5030 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308786466430cc604','aut664307639166430cc5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080334.5090 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080334.5120 ftpfek4t2uf79rdeif0jebtmqo Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240514@080334.5240 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240514@080334.5470 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.5610 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080334.5910 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.6040 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080334.6090 ftpfek4t2uf79rdeif0jebtmqo Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20240514@080334.7200 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080334.7310 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.7460 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080334.8630 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664300434566430cc611',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664307639166430cc5d6' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080334.1112 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.1129 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080334.1133 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664300434566430cc611','aut664307639166430cc5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080334.1138 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080334.1142 ftpfek4t2uf79rdeif0jebtmqo Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240514@080334.1156 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240514@080334.1168 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.1181 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080334.1207 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.1219 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080334.1224 ftpfek4t2uf79rdeif0jebtmqo Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20240514@080334.1235 ftpfek4t2uf79rdeif0jebtmqo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080334.1245 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.1257 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080334.1280 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305025566430cc61e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut664307639166430cc5d6' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240514@080334.1501 ftpfek4t2uf79rdeif0jebtmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.1516 ftpfek4t2uf79rdeif0jebtmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080334.1521 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305025566430cc61e','aut664307639166430cc5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080334.1525 ftpfek4t2uf79rdeif0jebtmqo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664307639166430cc5d6','2403357','wait',39,'ari17112337378,753000005')
20240514@080334.1545 ftpfek4t2uf79rdeif0jebtmqo Query : use flama_phc
20240514@080334.1549 ftpfek4t2uf79rdeif0jebtmqo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080334.1562 ftpfek4t2uf79rdeif0jebtmqo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1631';
20240514@080334.1578 ftpfek4t2uf79rdeif0jebtmqo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1631';
20240514@080334.1595 ftpfek4t2uf79rdeif0jebtmqo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1631';
20240514@080334.1608 ftpfek4t2uf79rdeif0jebtmqo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1631';
20240514@080334.2056 hr5or7v7q7mnq1flt63c48bpof Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080334.2068 hr5or7v7q7mnq1flt63c48bpof Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080334.2085 hr5or7v7q7mnq1flt63c48bpof Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1632';
20240514@080334.2123 hr5or7v7q7mnq1flt63c48bpof Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1632';
20240514@080334.2141 hr5or7v7q7mnq1flt63c48bpof Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1632';
20240514@080334.2154 hr5or7v7q7mnq1flt63c48bpof Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1632';
20240514@080334.2170 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2172 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080334.2185 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2188 hr5or7v7q7mnq1flt63c48bpof Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080334.2217 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20240514@080334.2228 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403358 and bi.ref ='324.499.00.01' and bi.lordem =1
20240514@080334.2692 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20240514@080334.2703 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403358 and bi.ref ='324.499.00.01' and bi.lordem =1
20240514@080334.2708 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20240514@080334.2718 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403358 and bi.ref ='324.499.00.01' and bi.lordem =1
20240514@080334.2722 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2726 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080334.2739 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2742 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080334.2751 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2753 hr5or7v7q7mnq1flt63c48bpof Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080334.2763 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080334.2776 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2779 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080334.2788 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2790 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080334.2800 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2802 hr5or7v7q7mnq1flt63c48bpof Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080334.2812 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2815 hr5or7v7q7mnq1flt63c48bpof Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080334.2826 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.2829 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from td where ndoc = 39
20240514@080334.2839 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080334.2850 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080334.2863 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080334.2878 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080334.2891 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080334.2916 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080334.2928 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080334.2936 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080334.3014 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080334.3023 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080334.3035 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080334.3045 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664308663166430cc647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080334.3181 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080334.3196 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080334.3224 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080334.3229 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080334.3234 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080334.3238 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080334.3243 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080334.3248 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080334.3252 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664308663166430cc647',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080334.3455 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080334.3470 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080334.3483 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080334.3498 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664308663166430cc647',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1307,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080334.3737 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.3741 hr5or7v7q7mnq1flt63c48bpof Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20240514@080334.3754 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20240514@080334.3766 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.3779 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080334.3803 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.3816 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080334.3821 hr5or7v7q7mnq1flt63c48bpof Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20240514@080334.3832 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080334.3844 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.3899 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080334.3922 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307605966430cc65d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664308663166430cc647' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080334.4146 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.4160 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080334.4164 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307605966430cc65d','aut664308663166430cc647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080334.4169 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.4172 hr5or7v7q7mnq1flt63c48bpof Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20240514@080334.4182 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20240514@080334.4193 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.4206 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080334.4256 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.4270 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080334.4274 hr5or7v7q7mnq1flt63c48bpof Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20240514@080334.4284 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080334.4299 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.4327 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080334.4349 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306077266430cc668',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664308663166430cc647' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080334.4579 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.4595 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080334.4599 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306077266430cc668','aut664308663166430cc647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080334.4604 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.4607 hr5or7v7q7mnq1flt63c48bpof Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20240514@080334.4617 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20240514@080334.4634 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.4670 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080334.4692 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.4706 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080334.4710 hr5or7v7q7mnq1flt63c48bpof Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20240514@080334.4719 hr5or7v7q7mnq1flt63c48bpof Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080334.4728 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.4739 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080334.4770 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307280466430cc673',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut664308663166430cc647' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240514@080334.4986 hr5or7v7q7mnq1flt63c48bpof Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.5000 hr5or7v7q7mnq1flt63c48bpof Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080334.5007 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307280466430cc673','aut664308663166430cc647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080334.5011 hr5or7v7q7mnq1flt63c48bpof Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664308663166430cc647','2403358','wait',39,'ari17112337378,753000005')
20240514@080334.5026 hr5or7v7q7mnq1flt63c48bpof Query : use flama_phc
20240514@080334.5029 hr5or7v7q7mnq1flt63c48bpof Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080334.5040 hr5or7v7q7mnq1flt63c48bpof Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1632';
20240514@080334.5056 hr5or7v7q7mnq1flt63c48bpof Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1632';
20240514@080334.5073 hr5or7v7q7mnq1flt63c48bpof Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1632';
20240514@080334.5086 hr5or7v7q7mnq1flt63c48bpof Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1632';
20240514@080334.5520 5oac75c3lbi1931l5obekgt6d9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080334.5534 5oac75c3lbi1931l5obekgt6d9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080334.5553 5oac75c3lbi1931l5obekgt6d9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1633';
20240514@080334.5595 5oac75c3lbi1931l5obekgt6d9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1633';
20240514@080334.5614 5oac75c3lbi1931l5obekgt6d9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1633';
20240514@080334.5627 5oac75c3lbi1931l5obekgt6d9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1633';
20240514@080334.5643 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.5647 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080334.5660 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.5663 5oac75c3lbi1931l5obekgt6d9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080334.5690 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240514@080334.5834 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403359 and bi.ref ='324.711.00.01' and bi.lordem =1
20240514@080334.6136 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.6140 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080334.6156 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.6159 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080334.6169 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.6172 5oac75c3lbi1931l5obekgt6d9 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080334.6183 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080334.6198 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.6201 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080334.6212 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.6215 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080334.6225 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.6228 5oac75c3lbi1931l5obekgt6d9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080334.6240 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.6243 5oac75c3lbi1931l5obekgt6d9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080334.6255 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.6258 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from td where ndoc = 39
20240514@080334.6267 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080334.6278 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080334.6292 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080334.6307 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080334.6322 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080334.6353 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080334.6367 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080334.6377 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080334.6456 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080334.6466 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080334.6479 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080334.6489 5oac75c3lbi1931l5obekgt6d9 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664305464966430cc69b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080334.6624 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080334.6638 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080334.6664 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080334.6669 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080334.6674 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080334.6679 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080334.6684 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080334.6689 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080334.6693 5oac75c3lbi1931l5obekgt6d9 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664305464966430cc69b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080334.6892 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080334.6907 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080334.6921 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080334.6938 5oac75c3lbi1931l5obekgt6d9 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664305464966430cc69b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1308,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080334.7391 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.7433 5oac75c3lbi1931l5obekgt6d9 Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240514@080334.7804 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20240514@080334.8324 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.8341 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080334.8383 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.8397 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080334.8402 5oac75c3lbi1931l5obekgt6d9 Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240514@080334.8568 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080334.8579 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.8592 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080334.8614 5oac75c3lbi1931l5obekgt6d9 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305575066430cc6d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut664305464966430cc69b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080334.8823 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.8836 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080334.8840 5oac75c3lbi1931l5obekgt6d9 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305575066430cc6d1','aut664305464966430cc69b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080334.8846 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.8858 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080334.8879 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.8892 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080334.8896 5oac75c3lbi1931l5obekgt6d9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080334.8907 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080334.8918 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080334.8940 5oac75c3lbi1931l5obekgt6d9 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664308933266430cc6d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664305464966430cc69b' ,0,0 ,2,23.00,20000,?,?,?)
20240514@080334.9152 5oac75c3lbi1931l5obekgt6d9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080334.9166 5oac75c3lbi1931l5obekgt6d9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080334.9170 5oac75c3lbi1931l5obekgt6d9 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308933266430cc6d9','aut664305464966430cc69b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080334.9175 5oac75c3lbi1931l5obekgt6d9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664305464966430cc69b','2403359','wait',39,'ari17112337378,753000005')
20240514@080334.9190 5oac75c3lbi1931l5obekgt6d9 Query : use flama_phc
20240514@080334.9193 5oac75c3lbi1931l5obekgt6d9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080334.9205 5oac75c3lbi1931l5obekgt6d9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1633';
20240514@080334.9219 5oac75c3lbi1931l5obekgt6d9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1633';
20240514@080334.9236 5oac75c3lbi1931l5obekgt6d9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1633';
20240514@080334.9250 5oac75c3lbi1931l5obekgt6d9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1633';
20240514@080334.9725 4touvub7fh3vr5sm6li023a22m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080334.9737 4touvub7fh3vr5sm6li023a22m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080334.9756 4touvub7fh3vr5sm6li023a22m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1634';
20240514@080334.9800 4touvub7fh3vr5sm6li023a22m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1634';
20240514@080334.9819 4touvub7fh3vr5sm6li023a22m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1634';
20240514@080334.9831 4touvub7fh3vr5sm6li023a22m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1634';
20240514@080334.9847 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080334.9851 4touvub7fh3vr5sm6li023a22m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080334.9862 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080334.9865 4touvub7fh3vr5sm6li023a22m Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080334.9892 4touvub7fh3vr5sm6li023a22m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20240514@080335.3800 4touvub7fh3vr5sm6li023a22m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403360 and bi.ref ='324.719.00.01' and bi.lordem =1
20240514@080335.3780 4touvub7fh3vr5sm6li023a22m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20240514@080335.3900 4touvub7fh3vr5sm6li023a22m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403360 and bi.ref ='324.719.00.01' and bi.lordem =1
20240514@080335.3950 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.3980 4touvub7fh3vr5sm6li023a22m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080335.4120 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.4160 4touvub7fh3vr5sm6li023a22m Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080335.4250 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.4280 4touvub7fh3vr5sm6li023a22m Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080335.4380 4touvub7fh3vr5sm6li023a22m Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080335.4530 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.4560 4touvub7fh3vr5sm6li023a22m Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080335.4670 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.4700 4touvub7fh3vr5sm6li023a22m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080335.4800 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.4830 4touvub7fh3vr5sm6li023a22m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080335.4940 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.4970 4touvub7fh3vr5sm6li023a22m Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080335.5080 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.5110 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from td where ndoc = 39
20240514@080335.5200 4touvub7fh3vr5sm6li023a22m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080335.5300 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080335.5430 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080335.5590 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080335.5710 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080335.5980 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080335.6180 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080335.6290 4touvub7fh3vr5sm6li023a22m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080335.7070 4touvub7fh3vr5sm6li023a22m Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080335.7160 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080335.7280 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080335.7370 4touvub7fh3vr5sm6li023a22m Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664304912766430cc70f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080335.8790 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080335.8940 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080335.9260 4touvub7fh3vr5sm6li023a22m Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080335.9310 4touvub7fh3vr5sm6li023a22m Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080335.9370 4touvub7fh3vr5sm6li023a22m Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080335.9420 4touvub7fh3vr5sm6li023a22m Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080335.9470 4touvub7fh3vr5sm6li023a22m Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080335.9510 4touvub7fh3vr5sm6li023a22m Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080335.9550 4touvub7fh3vr5sm6li023a22m Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664304912766430cc70f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080335.1161 4touvub7fh3vr5sm6li023a22m Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080335.1178 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080335.1191 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080335.1207 4touvub7fh3vr5sm6li023a22m Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664304912766430cc70f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1309,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080335.1453 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.1458 4touvub7fh3vr5sm6li023a22m Query : select st.usalote valor from st where st.ref = '324.719.00.01'
20240514@080335.1472 4touvub7fh3vr5sm6li023a22m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.719.00.01'
20240514@080335.1646 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.1660 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080335.1684 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.1698 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080335.1703 4touvub7fh3vr5sm6li023a22m Query : select sestamp valor from se where ref ='324.719.00.01' and lote = 'r2300383300a'
20240514@080335.1721 4touvub7fh3vr5sm6li023a22m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080335.1731 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.1743 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080335.1769 4touvub7fh3vr5sm6li023a22m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664302130166430cc72a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut664304912766430cc70f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080335.1984 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.1999 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080335.2003 4touvub7fh3vr5sm6li023a22m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664302130166430cc72a','aut664304912766430cc70f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080335.2008 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.2021 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080335.2047 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.2059 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080335.2063 4touvub7fh3vr5sm6li023a22m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080335.2072 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.2084 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080335.2108 4touvub7fh3vr5sm6li023a22m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664307372266430cc732',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664304912766430cc70f' ,0,0 ,2,23.00,20000,?,?,?)
20240514@080335.2325 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.2340 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080335.2344 4touvub7fh3vr5sm6li023a22m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307372266430cc732','aut664304912766430cc70f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080335.2348 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.2352 4touvub7fh3vr5sm6li023a22m Query : select st.usalote valor from st where st.ref = '324.719.00.01'
20240514@080335.2364 4touvub7fh3vr5sm6li023a22m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.719.00.01'
20240514@080335.2375 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.2389 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080335.2416 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.2428 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080335.2433 4touvub7fh3vr5sm6li023a22m Query : select sestamp valor from se where ref ='324.719.00.01' and lote = 'r2300383300a'
20240514@080335.2443 4touvub7fh3vr5sm6li023a22m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080335.2452 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.2464 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080335.2489 4touvub7fh3vr5sm6li023a22m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664300404966430cc73b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut664304912766430cc70f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080335.2705 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.2721 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080335.2726 4touvub7fh3vr5sm6li023a22m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664300404966430cc73b','aut664304912766430cc70f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080335.2730 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.2744 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080335.2767 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.2779 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080335.2783 4touvub7fh3vr5sm6li023a22m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080335.2793 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.2805 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080335.2828 4touvub7fh3vr5sm6li023a22m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664309358966430cc744',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664304912766430cc70f' ,0,0 ,2,23.00,50000,?,?,?)
20240514@080335.3035 4touvub7fh3vr5sm6li023a22m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.3052 4touvub7fh3vr5sm6li023a22m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080335.3056 4touvub7fh3vr5sm6li023a22m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309358966430cc744','aut664304912766430cc70f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080335.3060 4touvub7fh3vr5sm6li023a22m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664304912766430cc70f','2403360','wait',39,'ari17112337378,753000005')
20240514@080335.3076 4touvub7fh3vr5sm6li023a22m Query : use flama_phc
20240514@080335.3079 4touvub7fh3vr5sm6li023a22m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080335.3091 4touvub7fh3vr5sm6li023a22m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1634';
20240514@080335.3107 4touvub7fh3vr5sm6li023a22m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1634';
20240514@080335.3124 4touvub7fh3vr5sm6li023a22m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1634';
20240514@080335.3137 4touvub7fh3vr5sm6li023a22m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1634';
20240514@080335.3640 gfs4b9ask5r704i3out0tulusc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080335.3653 gfs4b9ask5r704i3out0tulusc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080335.3680 gfs4b9ask5r704i3out0tulusc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1635';
20240514@080335.3736 gfs4b9ask5r704i3out0tulusc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1635';
20240514@080335.3756 gfs4b9ask5r704i3out0tulusc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1635';
20240514@080335.3769 gfs4b9ask5r704i3out0tulusc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1635';
20240514@080335.3787 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.3790 gfs4b9ask5r704i3out0tulusc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080335.3803 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.3806 gfs4b9ask5r704i3out0tulusc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080335.3833 gfs4b9ask5r704i3out0tulusc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240514@080335.3987 gfs4b9ask5r704i3out0tulusc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403361 and bi.ref ='324.2231.00.1' and bi.lordem =1
20240514@080335.4311 gfs4b9ask5r704i3out0tulusc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240514@080335.4324 gfs4b9ask5r704i3out0tulusc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403361 and bi.ref ='324.2231.00.1' and bi.lordem =1
20240514@080335.4330 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.4334 gfs4b9ask5r704i3out0tulusc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080335.4347 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.4350 gfs4b9ask5r704i3out0tulusc Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080335.4371 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.4374 gfs4b9ask5r704i3out0tulusc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080335.4385 gfs4b9ask5r704i3out0tulusc Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080335.4400 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.4403 gfs4b9ask5r704i3out0tulusc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080335.4445 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.4449 gfs4b9ask5r704i3out0tulusc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080335.4460 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.4463 gfs4b9ask5r704i3out0tulusc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080335.4474 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.4480 gfs4b9ask5r704i3out0tulusc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080335.4493 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.4496 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from td where ndoc = 39
20240514@080335.4506 gfs4b9ask5r704i3out0tulusc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080335.4528 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080335.4542 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080335.4588 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080335.4602 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080335.4629 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080335.4643 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080335.4653 gfs4b9ask5r704i3out0tulusc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080335.4728 gfs4b9ask5r704i3out0tulusc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080335.4737 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080335.4750 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080335.4759 gfs4b9ask5r704i3out0tulusc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664305078566430cc771' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080335.4894 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080335.4911 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080335.4939 gfs4b9ask5r704i3out0tulusc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080335.4944 gfs4b9ask5r704i3out0tulusc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080335.4949 gfs4b9ask5r704i3out0tulusc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080335.4955 gfs4b9ask5r704i3out0tulusc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080335.4960 gfs4b9ask5r704i3out0tulusc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080335.4965 gfs4b9ask5r704i3out0tulusc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080335.4969 gfs4b9ask5r704i3out0tulusc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664305078566430cc771',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080335.5172 gfs4b9ask5r704i3out0tulusc Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080335.5190 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080335.5205 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080335.5226 gfs4b9ask5r704i3out0tulusc Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664305078566430cc771',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1310,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080335.5472 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.5480 gfs4b9ask5r704i3out0tulusc Query : select st.usalote valor from st where st.ref = '324.2231.00.1'
20240514@080335.5494 gfs4b9ask5r704i3out0tulusc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.1'
20240514@080335.5636 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.5650 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080335.5674 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.5687 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080335.5693 gfs4b9ask5r704i3out0tulusc Query : select sestamp valor from se where ref ='324.2231.00.1' and lote = 'r2301141275a'
20240514@080335.5704 gfs4b9ask5r704i3out0tulusc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080335.5715 gfs4b9ask5r704i3out0tulusc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.5728 gfs4b9ask5r704i3out0tulusc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080335.5752 gfs4b9ask5r704i3out0tulusc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664304171366430cc78b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut664305078566430cc771' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080335.6010 gfs4b9ask5r704i3out0tulusc Query : use flama_phc
20240514@080335.6013 gfs4b9ask5r704i3out0tulusc Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240514@080335.6072 gfs4b9ask5r704i3out0tulusc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1635';
20240514@080335.6088 gfs4b9ask5r704i3out0tulusc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1635';
20240514@080335.6467 5i6a5f2nk1144sf8963tj36abr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080335.6480 5i6a5f2nk1144sf8963tj36abr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080335.6499 5i6a5f2nk1144sf8963tj36abr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1636';
20240514@080335.6539 5i6a5f2nk1144sf8963tj36abr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1636';
20240514@080335.6558 5i6a5f2nk1144sf8963tj36abr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1636';
20240514@080335.6570 5i6a5f2nk1144sf8963tj36abr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1636';
20240514@080335.6586 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.6589 5i6a5f2nk1144sf8963tj36abr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080335.6601 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.6604 5i6a5f2nk1144sf8963tj36abr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080335.6632 5i6a5f2nk1144sf8963tj36abr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20240514@080335.6774 5i6a5f2nk1144sf8963tj36abr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403362 and bi.ref ='324.4965.00.1' and bi.lordem =1
20240514@080335.7081 5i6a5f2nk1144sf8963tj36abr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20240514@080335.7093 5i6a5f2nk1144sf8963tj36abr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403362 and bi.ref ='324.4965.00.1' and bi.lordem =1
20240514@080335.7098 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.7102 5i6a5f2nk1144sf8963tj36abr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080335.7116 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.7119 5i6a5f2nk1144sf8963tj36abr Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080335.7129 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.7133 5i6a5f2nk1144sf8963tj36abr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080335.7143 5i6a5f2nk1144sf8963tj36abr Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080335.7157 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.7160 5i6a5f2nk1144sf8963tj36abr Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080335.7170 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.7173 5i6a5f2nk1144sf8963tj36abr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080335.7182 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.7185 5i6a5f2nk1144sf8963tj36abr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080335.7196 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.7199 5i6a5f2nk1144sf8963tj36abr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080335.7211 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.7214 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from td where ndoc = 39
20240514@080335.7223 5i6a5f2nk1144sf8963tj36abr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080335.7236 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080335.7256 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080335.7273 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080335.7285 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080335.7313 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080335.7325 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080335.7335 5i6a5f2nk1144sf8963tj36abr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080335.7649 5i6a5f2nk1144sf8963tj36abr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080335.7977 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080335.8263 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080335.8510 5i6a5f2nk1144sf8963tj36abr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664304565066430cc7b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080335.8782 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080335.8797 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080335.8822 5i6a5f2nk1144sf8963tj36abr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080335.8827 5i6a5f2nk1144sf8963tj36abr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080335.8831 5i6a5f2nk1144sf8963tj36abr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080335.8836 5i6a5f2nk1144sf8963tj36abr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080335.8841 5i6a5f2nk1144sf8963tj36abr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080335.8845 5i6a5f2nk1144sf8963tj36abr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080335.8849 5i6a5f2nk1144sf8963tj36abr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664304565066430cc7b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080335.9081 5i6a5f2nk1144sf8963tj36abr Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080335.9098 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080335.9111 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080335.9127 5i6a5f2nk1144sf8963tj36abr Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664304565066430cc7b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1310,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080335.9361 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.9364 5i6a5f2nk1144sf8963tj36abr Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20240514@080335.9376 5i6a5f2nk1144sf8963tj36abr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20240514@080335.9512 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.9525 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080335.9548 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.9561 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080335.9565 5i6a5f2nk1144sf8963tj36abr Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2300825100a'
20240514@080335.9576 5i6a5f2nk1144sf8963tj36abr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080335.9586 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080335.9599 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080335.9620 5i6a5f2nk1144sf8963tj36abr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664307487666430cc7ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut664304565066430cc7b3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080335.9923 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080335.9939 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080335.9944 5i6a5f2nk1144sf8963tj36abr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664307487666430cc7ea','aut664304565066430cc7b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080335.9954 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080335.9958 5i6a5f2nk1144sf8963tj36abr Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20240514@080335.9970 5i6a5f2nk1144sf8963tj36abr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20240514@080335.9981 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.2000 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080336.2600 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.4400 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080336.5300 5i6a5f2nk1144sf8963tj36abr Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2301277100a'
20240514@080336.6500 5i6a5f2nk1144sf8963tj36abr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080336.7500 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.8800 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080336.1180 5i6a5f2nk1144sf8963tj36abr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305638366430cc801',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut664304565066430cc7b3' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080336.3440 5i6a5f2nk1144sf8963tj36abr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.3650 5i6a5f2nk1144sf8963tj36abr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080336.3700 5i6a5f2nk1144sf8963tj36abr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305638366430cc801','aut664304565066430cc7b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080336.3740 5i6a5f2nk1144sf8963tj36abr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664304565066430cc7b3','2403362','wait',39,'ari17112337378,753000005')
20240514@080336.3900 5i6a5f2nk1144sf8963tj36abr Query : use flama_phc
20240514@080336.3930 5i6a5f2nk1144sf8963tj36abr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080336.4050 5i6a5f2nk1144sf8963tj36abr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1636';
20240514@080336.4230 5i6a5f2nk1144sf8963tj36abr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1636';
20240514@080336.4420 5i6a5f2nk1144sf8963tj36abr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1636';
20240514@080336.4560 5i6a5f2nk1144sf8963tj36abr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1636';
20240514@080336.8590 daingroq8u48p87ol8p41i99cn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080336.8720 daingroq8u48p87ol8p41i99cn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080336.8940 daingroq8u48p87ol8p41i99cn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1637';
20240514@080336.9430 daingroq8u48p87ol8p41i99cn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1637';
20240514@080336.9630 daingroq8u48p87ol8p41i99cn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1637';
20240514@080336.9770 daingroq8u48p87ol8p41i99cn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1637';
20240514@080336.1000 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.1004 daingroq8u48p87ol8p41i99cn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080336.1020 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.1024 daingroq8u48p87ol8p41i99cn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080336.1055 daingroq8u48p87ol8p41i99cn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20240514@080336.2017 daingroq8u48p87ol8p41i99cn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403363 and bi.ref ='324.4966.00.1' and bi.lordem =1
20240514@080336.2321 daingroq8u48p87ol8p41i99cn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20240514@080336.2333 daingroq8u48p87ol8p41i99cn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403363 and bi.ref ='324.4966.00.1' and bi.lordem =1
20240514@080336.2339 daingroq8u48p87ol8p41i99cn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20240514@080336.2350 daingroq8u48p87ol8p41i99cn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403363 and bi.ref ='324.4966.00.1' and bi.lordem =1
20240514@080336.2356 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.2360 daingroq8u48p87ol8p41i99cn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080336.2374 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.2377 daingroq8u48p87ol8p41i99cn Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080336.2388 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.2392 daingroq8u48p87ol8p41i99cn Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080336.2406 daingroq8u48p87ol8p41i99cn Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080336.2422 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.2426 daingroq8u48p87ol8p41i99cn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080336.2437 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.2441 daingroq8u48p87ol8p41i99cn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080336.2452 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.2458 daingroq8u48p87ol8p41i99cn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080336.2470 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.2473 daingroq8u48p87ol8p41i99cn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080336.2537 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.2540 daingroq8u48p87ol8p41i99cn Query : select 1 valor from td where ndoc = 39
20240514@080336.2550 daingroq8u48p87ol8p41i99cn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080336.2560 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080336.2573 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080336.2589 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080336.2602 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080336.2627 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080336.2639 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080336.2649 daingroq8u48p87ol8p41i99cn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080336.2723 daingroq8u48p87ol8p41i99cn Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080336.2732 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080336.2743 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080336.2752 daingroq8u48p87ol8p41i99cn Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664308484566430cc840' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080336.2892 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080336.2905 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080336.2930 daingroq8u48p87ol8p41i99cn Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080336.2935 daingroq8u48p87ol8p41i99cn Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080336.2941 daingroq8u48p87ol8p41i99cn Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080336.2945 daingroq8u48p87ol8p41i99cn Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080336.2950 daingroq8u48p87ol8p41i99cn Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080336.2954 daingroq8u48p87ol8p41i99cn Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080336.2958 daingroq8u48p87ol8p41i99cn Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664308484566430cc840',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080336.3164 daingroq8u48p87ol8p41i99cn Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080336.3182 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080336.3198 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080336.3218 daingroq8u48p87ol8p41i99cn Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664308484566430cc840',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1311,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080336.3470 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.3475 daingroq8u48p87ol8p41i99cn Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20240514@080336.3533 daingroq8u48p87ol8p41i99cn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20240514@080336.3696 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.3713 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080336.3748 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.3770 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080336.3775 daingroq8u48p87ol8p41i99cn Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2301277100a'
20240514@080336.3792 daingroq8u48p87ol8p41i99cn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080336.3833 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.3848 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080336.3909 daingroq8u48p87ol8p41i99cn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305445866430cc85d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut664308484566430cc840' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080336.4157 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.4182 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080336.4188 daingroq8u48p87ol8p41i99cn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305445866430cc85d','aut664308484566430cc840' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080336.4195 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.4199 daingroq8u48p87ol8p41i99cn Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20240514@080336.4212 daingroq8u48p87ol8p41i99cn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20240514@080336.4230 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.4247 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080336.4284 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.4311 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080336.4317 daingroq8u48p87ol8p41i99cn Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2300825100a'
20240514@080336.4332 daingroq8u48p87ol8p41i99cn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080336.4346 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.4364 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080336.4398 daingroq8u48p87ol8p41i99cn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306767966430cc86a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664308484566430cc840' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080336.4631 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.4649 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080336.4654 daingroq8u48p87ol8p41i99cn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306767966430cc86a','aut664308484566430cc840' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080336.4658 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.4661 daingroq8u48p87ol8p41i99cn Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20240514@080336.4673 daingroq8u48p87ol8p41i99cn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20240514@080336.4726 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.4781 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080336.4808 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.4822 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080336.4827 daingroq8u48p87ol8p41i99cn Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2301277100a'
20240514@080336.4837 daingroq8u48p87ol8p41i99cn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080336.4849 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.4862 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080336.4887 daingroq8u48p87ol8p41i99cn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301764366430cc876',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut664308484566430cc840' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240514@080336.5106 daingroq8u48p87ol8p41i99cn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.5121 daingroq8u48p87ol8p41i99cn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080336.5125 daingroq8u48p87ol8p41i99cn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301764366430cc876','aut664308484566430cc840' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080336.5129 daingroq8u48p87ol8p41i99cn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664308484566430cc840','2403363','wait',39,'ari17112337378,753000005')
20240514@080336.5144 daingroq8u48p87ol8p41i99cn Query : use flama_phc
20240514@080336.5147 daingroq8u48p87ol8p41i99cn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080336.5158 daingroq8u48p87ol8p41i99cn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1637';
20240514@080336.5173 daingroq8u48p87ol8p41i99cn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1637';
20240514@080336.5192 daingroq8u48p87ol8p41i99cn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1637';
20240514@080336.5206 daingroq8u48p87ol8p41i99cn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1637';
20240514@080336.5785 gc50bhde79aik3oap66iu5e1dr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080336.5800 gc50bhde79aik3oap66iu5e1dr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080336.5821 gc50bhde79aik3oap66iu5e1dr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1638';
20240514@080336.5864 gc50bhde79aik3oap66iu5e1dr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1638';
20240514@080336.5884 gc50bhde79aik3oap66iu5e1dr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1638';
20240514@080336.5900 gc50bhde79aik3oap66iu5e1dr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1638';
20240514@080336.5923 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.5927 gc50bhde79aik3oap66iu5e1dr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080336.5941 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.5946 gc50bhde79aik3oap66iu5e1dr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080336.6017 gc50bhde79aik3oap66iu5e1dr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4968.00.1'
20240514@080336.6167 gc50bhde79aik3oap66iu5e1dr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403364 and bi.ref ='324.4968.00.1' and bi.lordem =1
20240514@080336.6474 gc50bhde79aik3oap66iu5e1dr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4968.00.1'
20240514@080336.6486 gc50bhde79aik3oap66iu5e1dr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403364 and bi.ref ='324.4968.00.1' and bi.lordem =1
20240514@080336.6491 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.6494 gc50bhde79aik3oap66iu5e1dr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080336.6509 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.6511 gc50bhde79aik3oap66iu5e1dr Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080336.6522 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.6566 gc50bhde79aik3oap66iu5e1dr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080336.6596 gc50bhde79aik3oap66iu5e1dr Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080336.6610 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.6623 gc50bhde79aik3oap66iu5e1dr Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080336.6913 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.6954 gc50bhde79aik3oap66iu5e1dr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080336.7201 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.7242 gc50bhde79aik3oap66iu5e1dr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080336.7852 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.7857 gc50bhde79aik3oap66iu5e1dr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080336.7869 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.7872 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from td where ndoc = 39
20240514@080336.7881 gc50bhde79aik3oap66iu5e1dr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080336.7891 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080336.7903 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080336.7918 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080336.7929 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080336.7953 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080336.7965 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080336.7975 gc50bhde79aik3oap66iu5e1dr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080336.8048 gc50bhde79aik3oap66iu5e1dr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080336.8057 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080336.8068 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080336.8096 gc50bhde79aik3oap66iu5e1dr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664304616966430cc8c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080336.8257 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080336.8270 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080336.8298 gc50bhde79aik3oap66iu5e1dr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080336.8302 gc50bhde79aik3oap66iu5e1dr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080336.8307 gc50bhde79aik3oap66iu5e1dr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080336.8311 gc50bhde79aik3oap66iu5e1dr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080336.8316 gc50bhde79aik3oap66iu5e1dr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080336.8320 gc50bhde79aik3oap66iu5e1dr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080336.8324 gc50bhde79aik3oap66iu5e1dr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664304616966430cc8c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080336.8539 gc50bhde79aik3oap66iu5e1dr Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080336.8555 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080336.8569 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080336.8587 gc50bhde79aik3oap66iu5e1dr Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664304616966430cc8c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1312,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080336.8853 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.8858 gc50bhde79aik3oap66iu5e1dr Query : select st.usalote valor from st where st.ref = '324.4968.00.1'
20240514@080336.8878 gc50bhde79aik3oap66iu5e1dr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4968.00.1'
20240514@080336.9030 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.9044 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080336.9086 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.9100 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080336.9104 gc50bhde79aik3oap66iu5e1dr Query : select sestamp valor from se where ref ='324.4968.00.1' and lote = 'r2301277100a'
20240514@080336.9119 gc50bhde79aik3oap66iu5e1dr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080336.9129 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.9141 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080336.9250 gc50bhde79aik3oap66iu5e1dr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305142066430cc8de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut664304616966430cc8c2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080336.9485 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.9502 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080336.9507 gc50bhde79aik3oap66iu5e1dr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305142066430cc8de','aut664304616966430cc8c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080336.9511 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080336.9560 gc50bhde79aik3oap66iu5e1dr Query : select st.usalote valor from st where st.ref = '324.4968.00.1'
20240514@080336.9615 gc50bhde79aik3oap66iu5e1dr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4968.00.1'
20240514@080336.9627 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.9641 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080336.9665 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.9678 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080336.9683 gc50bhde79aik3oap66iu5e1dr Query : select sestamp valor from se where ref ='324.4968.00.1' and lote = 'r2301277100a'
20240514@080336.9693 gc50bhde79aik3oap66iu5e1dr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080336.9703 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080336.9716 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080336.9740 gc50bhde79aik3oap66iu5e1dr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664309771266430cc8ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut664304616966430cc8c2' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080336.9965 gc50bhde79aik3oap66iu5e1dr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080336.9979 gc50bhde79aik3oap66iu5e1dr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080336.9984 gc50bhde79aik3oap66iu5e1dr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309771266430cc8ec','aut664304616966430cc8c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080336.9988 gc50bhde79aik3oap66iu5e1dr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664304616966430cc8c2','2403364','wait',39,'ari17112337378,753000005')
20240514@080337.6000 gc50bhde79aik3oap66iu5e1dr Query : use flama_phc
20240514@080337.8000 gc50bhde79aik3oap66iu5e1dr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080337.1900 gc50bhde79aik3oap66iu5e1dr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1638';
20240514@080337.3400 gc50bhde79aik3oap66iu5e1dr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1638';
20240514@080337.5000 gc50bhde79aik3oap66iu5e1dr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1638';
20240514@080337.6300 gc50bhde79aik3oap66iu5e1dr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1638';
20240514@080337.4970 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080337.5090 i3igr23uhuis2lm5ggl0mktfb8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080337.5260 i3igr23uhuis2lm5ggl0mktfb8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1639';
20240514@080337.5660 i3igr23uhuis2lm5ggl0mktfb8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1639';
20240514@080337.5840 i3igr23uhuis2lm5ggl0mktfb8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1639';
20240514@080337.5970 i3igr23uhuis2lm5ggl0mktfb8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1639';
20240514@080337.6130 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.6160 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080337.6290 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.6320 i3igr23uhuis2lm5ggl0mktfb8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080337.6580 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240514@080337.6690 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403365 and bi.ref ='324.4902.00.1' and bi.lordem =1
20240514@080337.9850 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240514@080337.9960 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403365 and bi.ref ='324.4902.00.1' and bi.lordem =1
20240514@080337.1000 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.1003 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080337.1016 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.1019 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080337.1029 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.1032 i3igr23uhuis2lm5ggl0mktfb8 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080337.1043 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080337.1057 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.1060 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080337.1070 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.1073 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080337.1083 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.1086 i3igr23uhuis2lm5ggl0mktfb8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080337.1096 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.1099 i3igr23uhuis2lm5ggl0mktfb8 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080337.1111 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.1114 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from td where ndoc = 39
20240514@080337.1123 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080337.1139 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080337.1155 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080337.1172 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080337.1186 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080337.1212 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080337.1225 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080337.1236 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080337.1313 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080337.1323 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080337.1335 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080337.1345 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664307513066430cc91e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080337.1485 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080337.1498 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080337.1536 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080337.1541 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080337.1547 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080337.1553 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080337.1558 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080337.1563 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080337.1568 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664307513066430cc91e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080337.1774 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080337.1791 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080337.1804 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080337.1822 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664307513066430cc91e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1313,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080337.2059 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.2063 i3igr23uhuis2lm5ggl0mktfb8 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240514@080337.2076 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240514@080337.2089 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.2103 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080337.2126 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.2140 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080337.2147 i3igr23uhuis2lm5ggl0mktfb8 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240514@080337.2157 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080337.2168 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.2180 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080337.2203 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306524066430cc934',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664307513066430cc91e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080337.2447 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.2463 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080337.2468 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306524066430cc934','aut664307513066430cc91e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080337.2473 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.2509 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080337.2556 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.2570 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080337.2575 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080337.2632 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.2703 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080337.2729 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664303789766430cc940',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664307513066430cc91e' ,0,0 ,2,23.00,20000,?,?,?)
20240514@080337.2951 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.2994 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080337.2999 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303789766430cc940','aut664307513066430cc91e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080337.3004 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.3008 i3igr23uhuis2lm5ggl0mktfb8 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240514@080337.3037 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240514@080337.3062 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.3076 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080337.3107 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.3231 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080337.3284 i3igr23uhuis2lm5ggl0mktfb8 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240514@080337.3308 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080337.3320 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.3334 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080337.3360 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664309284866430cc951',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut664307513066430cc91e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080337.3601 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.3617 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080337.3622 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309284866430cc951','aut664307513066430cc91e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080337.3627 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.3640 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080337.3668 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.3680 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080337.3685 i3igr23uhuis2lm5ggl0mktfb8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080337.3701 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.3714 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080337.3739 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664305286766430cc95a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664307513066430cc91e' ,0,0 ,2,23.00,50000,?,?,?)
20240514@080337.3971 i3igr23uhuis2lm5ggl0mktfb8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.3987 i3igr23uhuis2lm5ggl0mktfb8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080337.3991 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305286766430cc95a','aut664307513066430cc91e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080337.3996 i3igr23uhuis2lm5ggl0mktfb8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664307513066430cc91e','2403365','wait',39,'ari17112337378,753000005')
20240514@080337.4010 i3igr23uhuis2lm5ggl0mktfb8 Query : use flama_phc
20240514@080337.4013 i3igr23uhuis2lm5ggl0mktfb8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080337.4024 i3igr23uhuis2lm5ggl0mktfb8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1639';
20240514@080337.4038 i3igr23uhuis2lm5ggl0mktfb8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1639';
20240514@080337.4054 i3igr23uhuis2lm5ggl0mktfb8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1639';
20240514@080337.4066 i3igr23uhuis2lm5ggl0mktfb8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1639';
20240514@080337.4451 ihsf4o2hden5pgvq930t9lemch Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080337.4466 ihsf4o2hden5pgvq930t9lemch Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080337.4486 ihsf4o2hden5pgvq930t9lemch Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1640';
20240514@080337.4533 ihsf4o2hden5pgvq930t9lemch Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1640';
20240514@080337.4556 ihsf4o2hden5pgvq930t9lemch Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1640';
20240514@080337.4572 ihsf4o2hden5pgvq930t9lemch Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1640';
20240514@080337.4588 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.4592 ihsf4o2hden5pgvq930t9lemch Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080337.4605 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.4608 ihsf4o2hden5pgvq930t9lemch Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080337.4636 ihsf4o2hden5pgvq930t9lemch Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240514@080337.4781 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403371 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240514@080337.5152 ihsf4o2hden5pgvq930t9lemch Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240514@080337.5279 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403371 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240514@080337.5286 ihsf4o2hden5pgvq930t9lemch Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240514@080337.5297 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403371 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240514@080337.5302 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.5305 ihsf4o2hden5pgvq930t9lemch Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080337.5343 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.5346 ihsf4o2hden5pgvq930t9lemch Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080337.5355 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.5417 ihsf4o2hden5pgvq930t9lemch Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080337.5434 ihsf4o2hden5pgvq930t9lemch Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080337.5447 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.5450 ihsf4o2hden5pgvq930t9lemch Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080337.5472 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.5476 ihsf4o2hden5pgvq930t9lemch Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080337.5485 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.5488 ihsf4o2hden5pgvq930t9lemch Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080337.5497 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.5500 ihsf4o2hden5pgvq930t9lemch Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080337.5547 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.5550 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from td where ndoc = 39
20240514@080337.5559 ihsf4o2hden5pgvq930t9lemch Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080337.5569 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080337.5582 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080337.5597 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080337.5609 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080337.5632 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080337.5645 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080337.5655 ihsf4o2hden5pgvq930t9lemch Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080337.5731 ihsf4o2hden5pgvq930t9lemch Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080337.5740 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080337.5752 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080337.5762 ihsf4o2hden5pgvq930t9lemch Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664301565866430cc98a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080337.5905 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080337.5919 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080337.6150 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080337.6309 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080337.6432 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080337.6554 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080337.6677 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080337.6799 ihsf4o2hden5pgvq930t9lemch Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080337.6922 ihsf4o2hden5pgvq930t9lemch Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664301565866430cc98a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080337.7316 ihsf4o2hden5pgvq930t9lemch Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080337.7332 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080337.7345 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080337.7363 ihsf4o2hden5pgvq930t9lemch Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664301565866430cc98a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1314,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080337.7607 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.7611 ihsf4o2hden5pgvq930t9lemch Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240514@080337.7624 ihsf4o2hden5pgvq930t9lemch Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240514@080337.7767 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.7781 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080337.7804 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.7816 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080337.7820 ihsf4o2hden5pgvq930t9lemch Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240514@080337.7831 ihsf4o2hden5pgvq930t9lemch Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080337.7840 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.7851 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080337.7873 ihsf4o2hden5pgvq930t9lemch Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306253766430cc9bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut664301565866430cc98a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080337.8096 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.8110 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080337.8115 ihsf4o2hden5pgvq930t9lemch Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306253766430cc9bf','aut664301565866430cc98a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080337.8120 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.8123 ihsf4o2hden5pgvq930t9lemch Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240514@080337.8133 ihsf4o2hden5pgvq930t9lemch Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240514@080337.8144 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.8156 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080337.8179 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.8192 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080337.8196 ihsf4o2hden5pgvq930t9lemch Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240514@080337.8206 ihsf4o2hden5pgvq930t9lemch Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080337.8216 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.8227 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080337.8251 ihsf4o2hden5pgvq930t9lemch Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664304308866430cc9c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut664301565866430cc98a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080337.8493 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.8536 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080337.8542 ihsf4o2hden5pgvq930t9lemch Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664304308866430cc9c8','aut664301565866430cc98a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080337.8549 ihsf4o2hden5pgvq930t9lemch Query : use flama_phc
20240514@080337.8553 ihsf4o2hden5pgvq930t9lemch Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240514@080337.8566 ihsf4o2hden5pgvq930t9lemch Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240514@080337.8623 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.8642 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080337.8696 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080337.8732 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080337.8738 ihsf4o2hden5pgvq930t9lemch Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240514@080337.8750 ihsf4o2hden5pgvq930t9lemch Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080337.8763 ihsf4o2hden5pgvq930t9lemch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080337.8783 ihsf4o2hden5pgvq930t9lemch Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080337.8826 ihsf4o2hden5pgvq930t9lemch Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664300766966430cc9d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut664301565866430cc98a' ,0,0 ,2,23.00,30000,?,?,?,?,?)
