20230508@181602.4007 m3tluc2omis240no6rph1bp1iv INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20230508@181602.4005 m3tluc2omis240no6rph1bp1iv Query : select sestamp valor from se where ref ='324.4900.00.1' and lote = 'r2100754200a'
20230508@181602.4020 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.4030 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.4044 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.4074 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645924779164592e5262',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut645927545064592e4fe0' ,14.000000,0 ,2,23.00,570000,?,?,?,?,?,?,?,?,?)
20230508@181602.4319 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.4341 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.4347 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645924779164592e5262','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.4353 m3tluc2omis240no6rph1bp1iv Query : use flama_phc
20230508@181602.4357 m3tluc2omis240no6rph1bp1iv Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230508@181602.4371 m3tluc2omis240no6rph1bp1iv 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.1879.00.1'
20230508@181602.4497 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.4513 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.4540 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.4554 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.4560 m3tluc2omis240no6rph1bp1iv Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230508@181602.4606 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.4616 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.4630 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.4656 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645925714664592e5270',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645927545064592e4fe0' ,54.970000,0 ,2,23.00,580000,?,?,?,?,?,?,?,?,?)
20230508@181602.4904 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.4920 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.4925 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645925714664592e5270','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.4929 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.4943 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.4977 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.5119 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.5124 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.5135 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.5148 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.5172 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645925482564592e527d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645927545064592e4fe0' ,0,0 ,2,23.00,590000,?,?,?)
20230508@181602.5422 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.5880 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.5963 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645925482564592e527d','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.6008 m3tluc2omis240no6rph1bp1iv Query : use flama_phc
20230508@181602.6050 m3tluc2omis240no6rph1bp1iv Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230508@181602.6144 m3tluc2omis240no6rph1bp1iv 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.1879.00.1'
20230508@181602.6236 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.6467 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.6494 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.6521 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.6549 m3tluc2omis240no6rph1bp1iv Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230508@181602.6600 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.6610 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.6624 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.6647 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645926627464592e52a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645927545064592e4fe0' ,54.970000,0 ,2,23.00,610000,?,?,?,?,?,?,?,?,?)
20230508@181602.6888 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.6903 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.6907 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645926627464592e52a1','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.6913 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.6926 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.6952 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.6964 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.6969 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.6978 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.6990 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.7013 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645922155964592e52aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645927545064592e4fe0' ,0,0 ,2,23.00,620000,?,?,?)
20230508@181602.7260 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.7275 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.7279 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645922155964592e52aa','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.7284 m3tluc2omis240no6rph1bp1iv Query : use flama_phc
20230508@181602.7287 m3tluc2omis240no6rph1bp1iv Query : select st.usalote valor from st where st.ref = '324.1405.00.1'
20230508@181602.7298 m3tluc2omis240no6rph1bp1iv 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.1405.00.1'
20230508@181602.7419 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.7432 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.7459 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.7473 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.7478 m3tluc2omis240no6rph1bp1iv Query : select sestamp valor from se where ref ='324.1405.00.1' and lote = 'r2100212200a'
20230508@181602.7497 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.7507 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.7520 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.7544 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645922223464592e52b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut645927545064592e4fe0' ,16.760000,0 ,2,23.00,640000,?,?,?,?,?,?,?,?,?)
20230508@181602.7806 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.7823 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.7828 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645922223464592e52b7','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.7832 m3tluc2omis240no6rph1bp1iv Query : use flama_phc
20230508@181602.7835 m3tluc2omis240no6rph1bp1iv Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230508@181602.7848 m3tluc2omis240no6rph1bp1iv 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.1824.00.1'
20230508@181602.7973 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.7988 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.8016 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.8029 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.8034 m3tluc2omis240no6rph1bp1iv Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230508@181602.8045 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.8057 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.8071 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.8097 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645927402864592e52c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut645927545064592e4fe0' ,47.220000,0 ,2,23.00,650000,?,?,?,?,?,?,?,?,?)
20230508@181602.8332 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.8346 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.8351 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645927402864592e52c4','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.8355 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.8368 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.8390 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.8403 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.8408 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.8418 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.8431 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.8453 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645928755264592e52cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645927545064592e4fe0' ,0,0 ,2,23.00,660000,?,?,?)
20230508@181602.8698 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.8714 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.8718 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645928755264592e52cd','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.8723 m3tluc2omis240no6rph1bp1iv Query : use flama_phc
20230508@181602.8726 m3tluc2omis240no6rph1bp1iv Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230508@181602.8740 m3tluc2omis240no6rph1bp1iv 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.1816.00.1'
20230508@181602.9059 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.9073 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.9096 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.9109 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.9114 m3tluc2omis240no6rph1bp1iv Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200647200a'
20230508@181602.9128 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.9138 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.9153 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.9179 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645928355664592e52df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut645927545064592e4fe0' ,45.230000,0 ,2,23.00,680000,?,?,?,?,?,?,?,?,?)
20230508@181602.9437 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.9458 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.9463 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645928355664592e52df','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.9469 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.9484 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181602.9506 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.9518 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181602.9523 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181602.9533 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.9547 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181602.9569 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645921369964592e52e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645927545064592e4fe0' ,0,0 ,2,23.00,690000,?,?,?)
20230508@181602.9894 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181602.9916 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181602.9923 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645921369964592e52e8','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181602.9929 m3tluc2omis240no6rph1bp1iv Query : use flama_phc
20230508@181602.9933 m3tluc2omis240no6rph1bp1iv Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230508@181602.9948 m3tluc2omis240no6rph1bp1iv 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.1816.00.1'
20230508@181602.9966 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181602.9983 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181603.1200 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181603.2700 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181603.3300 m3tluc2omis240no6rph1bp1iv Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230508@181603.4600 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181603.5800 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181603.7100 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181603.9500 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645924479064592e5301',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645927545064592e4fe0' ,45.230000,0 ,2,23.00,710000,?,?,?,?,?,?,?,?,?)
20230508@181603.3730 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181603.3900 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181603.3950 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645924479064592e5301','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181603.4010 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181603.4160 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@181603.4460 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181603.4590 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@181603.4640 m3tluc2omis240no6rph1bp1iv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@181603.4750 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@181603.4890 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@181603.8110 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645920325764592e530b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645927545064592e4fe0' ,0,0 ,2,23.00,720000,?,?,?)
20230508@181603.1292 m3tluc2omis240no6rph1bp1iv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@181603.1310 m3tluc2omis240no6rph1bp1iv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@181603.1315 m3tluc2omis240no6rph1bp1iv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645920325764592e530b','aut645927545064592e4fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@181603.1320 m3tluc2omis240no6rph1bp1iv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645927545064592e4fe0','119230000087','wait',39,'ari17112337378,753000005')
20230508@181603.1342 m3tluc2omis240no6rph1bp1iv Query : use flama_phc
20230508@181603.1345 m3tluc2omis240no6rph1bp1iv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@181603.1358 m3tluc2omis240no6rph1bp1iv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='230';
20230508@181603.1371 m3tluc2omis240no6rph1bp1iv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='230';
20230508@181603.1386 m3tluc2omis240no6rph1bp1iv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='230';
20230508@181603.1397 m3tluc2omis240no6rph1bp1iv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='230';

20230508@183911.5371 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='231';
20230508@183911.6144 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='231';
20230508@183911.6523 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='231';
20230508@183911.6536 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183911.6541 urjsvkf49l98lnkrkgiv76933r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@183911.6557 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183911.6560 urjsvkf49l98lnkrkgiv76933r Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20230508@183911.6653 urjsvkf49l98lnkrkgiv76933r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@183911.6667 urjsvkf49l98lnkrkgiv76933r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000029 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230508@183911.7000 urjsvkf49l98lnkrkgiv76933r Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050357889,6060000-2 ' 
20230508@183911.7313 urjsvkf49l98lnkrkgiv76933r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@183911.7325 urjsvkf49l98lnkrkgiv76933r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000029 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230508@183911.7340 urjsvkf49l98lnkrkgiv76933r Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050357889,6060000-2 ' 
20230508@183911.7352 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183911.7356 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@183911.7371 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183911.7375 urjsvkf49l98lnkrkgiv76933r Query : select top 1 1 valor from td where td.ndoc = 39
20230508@183911.7387 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183911.7391 urjsvkf49l98lnkrkgiv76933r Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@183911.7405 urjsvkf49l98lnkrkgiv76933r 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
20230508@183911.7426 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183911.7430 urjsvkf49l98lnkrkgiv76933r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@183911.7443 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183911.7446 urjsvkf49l98lnkrkgiv76933r Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20230508@183911.7460 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183911.7464 urjsvkf49l98lnkrkgiv76933r Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -140
20230508@183911.7512 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='231';
20230508@183911.7529 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='231';
20230508@183939.1619 urjsvkf49l98lnkrkgiv76933r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@183939.1635 urjsvkf49l98lnkrkgiv76933r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@183939.1653 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='232';
20230508@183939.1693 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='232';
20230508@183939.1705 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='232';
20230508@183939.1717 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='232';
20230508@183939.1728 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.1731 urjsvkf49l98lnkrkgiv76933r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@183939.1744 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.1748 urjsvkf49l98lnkrkgiv76933r Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20230508@183939.1791 urjsvkf49l98lnkrkgiv76933r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@183939.1804 urjsvkf49l98lnkrkgiv76933r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000029 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230508@183939.1849 urjsvkf49l98lnkrkgiv76933r Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050357889,6060000-2 ' 
20230508@183939.1862 urjsvkf49l98lnkrkgiv76933r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@183939.1873 urjsvkf49l98lnkrkgiv76933r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000029 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230508@183939.1890 urjsvkf49l98lnkrkgiv76933r Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050357889,6060000-2 ' 
20230508@183939.1900 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.1904 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@183939.1917 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.1921 urjsvkf49l98lnkrkgiv76933r Query : select top 1 1 valor from td where td.ndoc = 39
20230508@183939.1934 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.1937 urjsvkf49l98lnkrkgiv76933r Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@183939.1950 urjsvkf49l98lnkrkgiv76933r 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
20230508@183939.1965 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.1968 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20230508@183939.2363 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.2446 urjsvkf49l98lnkrkgiv76933r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@183939.3017 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.3022 urjsvkf49l98lnkrkgiv76933r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@183939.3036 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.3040 urjsvkf49l98lnkrkgiv76933r Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20230508@183939.3053 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.3056 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from td where ndoc = 39
20230508@183939.3066 urjsvkf49l98lnkrkgiv76933r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@183939.3078 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@183939.3094 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@183939.3113 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@183939.3128 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@183939.3133 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@183939.3148 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@183939.3159 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@183939.3201 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@183939.3213 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@183939.3227 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@183939.3239 urjsvkf49l98lnkrkgiv76933r Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6459322168645933db4d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@183939.3408 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@183939.3425 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@183939.3430 urjsvkf49l98lnkrkgiv76933r Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459322168645933db4d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@183939.3437 urjsvkf49l98lnkrkgiv76933r Query : select top 1 fno valor from wsft039data order by fno desc
20230508@183939.3452 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@183939.3466 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@183939.3485 urjsvkf49l98lnkrkgiv76933r 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 ('aut6459322168645933db4d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',133,100327,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','1635',?,?,?,?)
20230508@183939.3801 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.3806 urjsvkf49l98lnkrkgiv76933r Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230508@183939.3820 urjsvkf49l98lnkrkgiv76933r 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.421.00.04'
20230508@183939.3837 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@183939.3858 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@183939.3887 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@183939.3903 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@183939.3908 urjsvkf49l98lnkrkgiv76933r Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230508@183939.3919 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@183939.3931 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@183939.3951 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@183939.3977 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459366064645933db5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6459322168645933db4d' ,.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@183939.4229 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@183939.4244 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@183939.4250 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459366064645933db5f','aut6459322168645933db4d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@183939.4256 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@183939.4269 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@183939.4297 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@183939.4313 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@183939.4319 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@183939.4330 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@183939.4344 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@183939.4369 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6459333569645933db69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6459322168645933db4d' ,0,0 ,2,23.00,20000,?,?,?)
20230508@183939.4627 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@183939.4644 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@183939.4650 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459333569645933db69','aut6459322168645933db4d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@183939.4655 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.4659 urjsvkf49l98lnkrkgiv76933r Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230508@183939.4670 urjsvkf49l98lnkrkgiv76933r 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.421.00.04'
20230508@183939.4682 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@183939.4696 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@183939.4725 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@183939.4741 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@183939.4746 urjsvkf49l98lnkrkgiv76933r Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230508@183939.4759 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@183939.4770 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@183939.4783 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@183939.4810 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459374046645933db74',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6459322168645933db4d' ,.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@183939.5052 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@183939.5066 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@183939.5073 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459374046645933db74','aut6459322168645933db4d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@183939.5079 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@183939.5094 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@183939.5123 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@183939.5136 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@183939.5142 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@183939.5153 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@183939.5168 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@183939.5197 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6459394954645933db7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6459322168645933db4d' ,0,0 ,2,23.00,50000,?,?,?)
20230508@183939.5470 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@183939.5488 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@183939.5494 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459394954645933db7d','aut6459322168645933db4d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@183939.5499 urjsvkf49l98lnkrkgiv76933r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6459322168645933db4d','119230000029','wait',39,'ari17112337378,753000005')
20230508@183939.5518 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@183939.5522 urjsvkf49l98lnkrkgiv76933r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@183939.5534 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='232';
20230508@183939.5548 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='232';
20230508@183939.5559 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='232';
20230508@183939.5571 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='232';
20230508@184352.1244 urjsvkf49l98lnkrkgiv76933r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@184352.1259 urjsvkf49l98lnkrkgiv76933r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@184352.1279 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='233';
20230508@184352.1321 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='233';
20230508@184352.1334 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='233';
20230508@184352.1347 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='233';
20230508@184352.1360 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1365 urjsvkf49l98lnkrkgiv76933r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@184352.1381 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1384 urjsvkf49l98lnkrkgiv76933r Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20230508@184352.1419 urjsvkf49l98lnkrkgiv76933r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@184352.1432 urjsvkf49l98lnkrkgiv76933r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000029 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230508@184352.1447 urjsvkf49l98lnkrkgiv76933r Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050357889,6060000-2 ' 
20230508@184352.1460 urjsvkf49l98lnkrkgiv76933r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@184352.1471 urjsvkf49l98lnkrkgiv76933r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000029 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230508@184352.1483 urjsvkf49l98lnkrkgiv76933r Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050357889,6060000-2 ' 
20230508@184352.1493 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1497 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@184352.1513 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1517 urjsvkf49l98lnkrkgiv76933r Query : select top 1 1 valor from td where td.ndoc = 39
20230508@184352.1530 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1533 urjsvkf49l98lnkrkgiv76933r Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@184352.1545 urjsvkf49l98lnkrkgiv76933r 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
20230508@184352.1562 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1566 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20230508@184352.1579 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1582 urjsvkf49l98lnkrkgiv76933r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@184352.1594 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1597 urjsvkf49l98lnkrkgiv76933r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@184352.1609 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1612 urjsvkf49l98lnkrkgiv76933r Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20230508@184352.1625 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.1628 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from td where ndoc = 39
20230508@184352.1640 urjsvkf49l98lnkrkgiv76933r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@184352.1654 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@184352.1669 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@184352.1689 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@184352.1775 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@184352.1780 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@184352.1795 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@184352.1807 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@184352.1849 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@184352.1860 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@184352.1875 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@184352.1885 urjsvkf49l98lnkrkgiv76933r Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6459316932645934d82c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@184352.2045 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@184352.2062 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@184352.2067 urjsvkf49l98lnkrkgiv76933r Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459316932645934d82c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184352.2073 urjsvkf49l98lnkrkgiv76933r Query : select top 1 fno valor from wsft039data order by fno desc
20230508@184352.2086 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@184352.2101 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@184352.2124 urjsvkf49l98lnkrkgiv76933r 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 ('aut6459316932645934d82c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',134,100327,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','1635',?,?,?,?)
20230508@184352.2403 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.2435 urjsvkf49l98lnkrkgiv76933r Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230508@184352.2450 urjsvkf49l98lnkrkgiv76933r 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.421.00.04'
20230508@184352.2464 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184352.2480 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@184352.2512 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184352.2527 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@184352.2533 urjsvkf49l98lnkrkgiv76933r Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230508@184352.2546 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@184352.2559 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184352.2573 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@184352.2623 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459345605645934d83e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6459316932645934d82c' ,.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@184352.2872 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184352.2888 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@184352.2893 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459345605645934d83e','aut6459316932645934d82c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184352.2899 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184352.2914 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@184352.2939 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184352.2953 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@184352.2959 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@184352.2971 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184352.3005 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@184352.3036 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6459334698645934d848',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6459316932645934d82c' ,0,0 ,2,23.00,20000,?,?,?)
20230508@184352.3288 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184352.3304 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@184352.3309 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459334698645934d848','aut6459316932645934d82c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184352.3314 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.3318 urjsvkf49l98lnkrkgiv76933r Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230508@184352.3331 urjsvkf49l98lnkrkgiv76933r 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.421.00.04'
20230508@184352.3344 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184352.3359 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@184352.3385 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184352.3400 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@184352.3407 urjsvkf49l98lnkrkgiv76933r Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230508@184352.3419 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@184352.3432 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184352.3447 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@184352.3476 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459332319645934d853',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6459316932645934d82c' ,.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@184352.3762 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184352.3780 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@184352.3785 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459332319645934d853','aut6459316932645934d82c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184352.3791 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184352.3810 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@184352.3837 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184352.3852 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@184352.3858 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@184352.3870 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184352.3884 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@184352.3912 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6459348775645934d85e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6459316932645934d82c' ,0,0 ,2,23.00,50000,?,?,?)
20230508@184352.4172 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184352.4217 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@184352.4222 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459348775645934d85e','aut6459316932645934d82c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184352.4228 urjsvkf49l98lnkrkgiv76933r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6459316932645934d82c','119230000029','wait',39,'ari17112337378,753000005')
20230508@184352.4248 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184352.4252 urjsvkf49l98lnkrkgiv76933r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@184352.4264 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='233';
20230508@184352.4278 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='233';
20230508@184352.4290 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='233';
20230508@184352.4304 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='233';
20230508@184450.1701 urjsvkf49l98lnkrkgiv76933r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@184450.1714 urjsvkf49l98lnkrkgiv76933r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@184450.1729 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='234';
20230508@184450.1767 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='234';
20230508@184450.1779 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='234';
20230508@184450.1789 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='234';
20230508@184450.1799 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.1802 urjsvkf49l98lnkrkgiv76933r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@184450.1815 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.1817 urjsvkf49l98lnkrkgiv76933r Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20230508@184450.1849 urjsvkf49l98lnkrkgiv76933r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@184450.1859 urjsvkf49l98lnkrkgiv76933r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000029 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230508@184450.1871 urjsvkf49l98lnkrkgiv76933r Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050357889,6060000-2 ' 
20230508@184450.1883 urjsvkf49l98lnkrkgiv76933r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@184450.1893 urjsvkf49l98lnkrkgiv76933r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000029 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230508@184450.1905 urjsvkf49l98lnkrkgiv76933r Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050357889,6060000-2 ' 
20230508@184450.1915 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.1918 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@184450.1930 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.1933 urjsvkf49l98lnkrkgiv76933r Query : select top 1 1 valor from td where td.ndoc = 39
20230508@184450.1943 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.1946 urjsvkf49l98lnkrkgiv76933r Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@184450.1957 urjsvkf49l98lnkrkgiv76933r 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
20230508@184450.1972 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.1974 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20230508@184450.1984 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.1987 urjsvkf49l98lnkrkgiv76933r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@184450.1998 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.2001 urjsvkf49l98lnkrkgiv76933r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@184450.2011 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.2014 urjsvkf49l98lnkrkgiv76933r Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20230508@184450.2026 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.2029 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from td where ndoc = 39
20230508@184450.2039 urjsvkf49l98lnkrkgiv76933r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@184450.2051 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@184450.2064 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@184450.2094 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@184450.2109 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@184450.2113 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@184450.2127 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@184450.2139 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@184450.2180 urjsvkf49l98lnkrkgiv76933r Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@184450.2190 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@184450.2202 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@184450.2212 urjsvkf49l98lnkrkgiv76933r Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64593023706459351234' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@184450.2392 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@184450.2406 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@184450.2410 urjsvkf49l98lnkrkgiv76933r Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593023706459351234',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184450.2415 urjsvkf49l98lnkrkgiv76933r Query : select top 1 fno valor from wsft039data order by fno desc
20230508@184450.2426 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@184450.2439 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@184450.2455 urjsvkf49l98lnkrkgiv76933r 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 ('aut64593023706459351234',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',135,100327,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','1635',?,?,?,?)
20230508@184450.2723 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.2726 urjsvkf49l98lnkrkgiv76933r Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230508@184450.2738 urjsvkf49l98lnkrkgiv76933r 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.421.00.04'
20230508@184450.2750 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184450.2762 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@184450.2787 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184450.2800 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@184450.2804 urjsvkf49l98lnkrkgiv76933r Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230508@184450.2814 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@184450.2824 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184450.2835 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@184450.2858 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593998366459351244',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut64593023706459351234' ,.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@184450.3191 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184450.3206 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@184450.3210 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593998366459351244','aut64593023706459351234' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184450.3215 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184450.3227 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@184450.3252 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184450.3264 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@184450.3269 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@184450.3279 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184450.3292 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@184450.3316 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64593873246459351250',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64593023706459351234' ,0,0 ,2,23.00,20000,?,?,?)
20230508@184450.3559 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184450.3573 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@184450.3577 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593873246459351250','aut64593023706459351234' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184450.3581 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.3584 urjsvkf49l98lnkrkgiv76933r Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230508@184450.3595 urjsvkf49l98lnkrkgiv76933r 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.421.00.04'
20230508@184450.3606 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184450.3619 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@184450.3641 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184450.3653 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@184450.3657 urjsvkf49l98lnkrkgiv76933r Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230508@184450.3666 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@184450.3676 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184450.3688 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@184450.3710 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593526276459351259',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut64593023706459351234' ,.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@184450.3970 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184450.3985 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@184450.3990 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593526276459351259','aut64593023706459351234' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184450.3995 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184450.4008 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@184450.4030 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184450.4042 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@184450.4046 urjsvkf49l98lnkrkgiv76933r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@184450.4056 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@184450.4147 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@184450.4279 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64593105076459351263',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64593023706459351234' ,0,0 ,2,23.00,50000,?,?,?)
20230508@184450.4520 urjsvkf49l98lnkrkgiv76933r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@184450.4534 urjsvkf49l98lnkrkgiv76933r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@184450.4538 urjsvkf49l98lnkrkgiv76933r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593105076459351263','aut64593023706459351234' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@184450.4542 urjsvkf49l98lnkrkgiv76933r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64593023706459351234','119230000029','wait',39,'ari17112337378,753000005')
20230508@184450.4557 urjsvkf49l98lnkrkgiv76933r Query : use flama_phc
20230508@184450.4560 urjsvkf49l98lnkrkgiv76933r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@184450.4571 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='234';
20230508@184450.4583 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='234';
20230508@184450.4596 urjsvkf49l98lnkrkgiv76933r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='234';
20230508@184450.4607 urjsvkf49l98lnkrkgiv76933r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='234';
20230508@185328.7202 o7b2mialnd50pbfstjqdh95qpn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@185328.7218 o7b2mialnd50pbfstjqdh95qpn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@185328.7235 o7b2mialnd50pbfstjqdh95qpn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='236';
20230508@185328.7278 o7b2mialnd50pbfstjqdh95qpn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='236';
20230508@185328.7291 o7b2mialnd50pbfstjqdh95qpn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='236';
20230508@185328.7304 o7b2mialnd50pbfstjqdh95qpn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='236';
20230508@185328.7315 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185328.7319 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@185328.7332 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185328.7336 o7b2mialnd50pbfstjqdh95qpn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230508@185328.7371 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185328.7503 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='304.4320.00.1' and bi.lordem =20000
20230508@185328.7820 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,2610000-2 ' 
20230508@185328.8134 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185328.8147 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='304.4320.00.1' and bi.lordem =20000
20230508@185328.8162 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,2610000-2 ' 
20230508@185328.8175 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185328.8188 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='324.4910.00.1' and bi.lordem =30000
20230508@185328.8567 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,3000000-3 ' 
20230508@185328.8900 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185328.8913 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='324.4910.00.1' and bi.lordem =30000
20230508@185328.8926 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,3000000-3 ' 
20230508@185328.8939 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20230508@185328.8952 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='324.1406.00.1' and bi.lordem =40000
20230508@185328.9279 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,3380000-4 ' 
20230508@185328.9619 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185328.9746 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='324.4902.00.1' and bi.lordem =50000
20230508@185329.8300 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,3750000-5 ' 
20230508@185329.3860 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20230508@185329.4010 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='324.948.00.01' and bi.lordem =60000
20230508@185329.7770 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,4310000-6 ' 
20230508@185329.1099 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20230508@185329.1112 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='324.948.00.01' and bi.lordem =60000
20230508@185329.1127 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,4310000-6 ' 
20230508@185329.1142 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20230508@185329.1154 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000088 and bi.ref ='324.948.00.01' and bi.lordem =60000
20230508@185329.1169 o7b2mialnd50pbfstjqdh95qpn Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552699,4310000-6 ' 
20230508@185329.1182 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.1186 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@185329.1201 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.1205 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 1 valor from td where td.ndoc = 39
20230508@185329.1217 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.1220 o7b2mialnd50pbfstjqdh95qpn Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@185329.1232 o7b2mialnd50pbfstjqdh95qpn 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
20230508@185329.1250 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.1253 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230508@185329.1274 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.1277 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@185329.1290 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.1293 o7b2mialnd50pbfstjqdh95qpn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@185329.1307 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.1311 o7b2mialnd50pbfstjqdh95qpn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230508@185329.1326 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.1329 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from td where ndoc = 39
20230508@185329.1342 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@185329.1357 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@185329.1375 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@185329.1398 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@185329.1413 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@185329.1419 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@185329.1433 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@185329.1446 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@185329.1491 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@185329.1503 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@185329.1516 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@185329.1528 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@185329.1691 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@185329.1707 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@185329.1712 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593238766459371923',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.1717 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 fno valor from wsft039data order by fno desc
20230508@185329.1731 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@185329.1745 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@185329.1765 o7b2mialnd50pbfstjqdh95qpn 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 ,encomenda ) values ('aut64593238766459371923',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',137,100810,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','1923',?,?,?,?,?)
20230508@185329.2030 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.2034 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230508@185329.2048 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185329.2173 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.2189 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.2217 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.2232 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.2238 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230004'
20230508@185329.2258 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.2270 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.2284 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.2315 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593667636459371937',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut64593238766459371923' ,30.100000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@185329.2570 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.2586 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.2591 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593667636459371937','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.2596 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.2599 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230508@185329.2610 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185329.2623 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.2637 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.2664 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.2679 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.2685 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230508@185329.2705 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.2716 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.2730 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.2757 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593668066459371942',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut64593238766459371923' ,30.100000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230508@185329.3007 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.3023 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.3029 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593668066459371942','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.3034 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.3038 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20230508@185329.3053 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185329.3065 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.3079 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.3108 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.3121 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.3126 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20230508@185329.3137 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.3147 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.3162 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.3188 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459381446645937194c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut64593238766459371923' ,17.500000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230508@185329.3435 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.3451 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.3456 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459381446645937194c','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.3462 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.3466 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20230508@185329.3477 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185329.3490 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.3505 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.3533 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.3548 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.3555 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20230508@185329.3566 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.3577 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.3590 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.3618 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593299476459371957',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',78.000 ,'aut64593238766459371923' ,17.500000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@185329.4133 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.4645 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.4651 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593299476459371957','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.4656 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.4660 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20230508@185329.4671 o7b2mialnd50pbfstjqdh95qpn 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.1406.00.1'
20230508@185329.4683 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.4696 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.4720 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.4733 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.4737 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '0720'
20230508@185329.4749 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.4760 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.4772 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.4794 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593061606459371974',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut64593238766459371923' ,24.500000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230508@185329.5043 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.5058 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.5062 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593061606459371974','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.5067 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.5070 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230508@185329.5082 o7b2mialnd50pbfstjqdh95qpn 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'
20230508@185329.5205 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.5218 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.5243 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.5255 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.5259 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230508@185329.5271 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.5280 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.5292 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.5317 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593256476459371980',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut64593238766459371923' ,35.000000,0 ,2,23.00,60000,?,?,?,?,?,?,?,?,?)
20230508@185329.5556 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.5572 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.5576 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593256476459371980','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.5581 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.5594 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.5617 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.5628 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.5632 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.5642 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.5653 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.5675 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64593431316459371989',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64593238766459371923' ,0,0 ,2,23.00,70000,?,?,?)
20230508@185329.5917 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.5932 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.5936 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593431316459371989','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.5940 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.5943 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230508@185329.5954 o7b2mialnd50pbfstjqdh95qpn 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.948.00.01'
20230508@185329.5965 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.5977 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.6000 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.6011 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.6016 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230508@185329.6025 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.6034 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.6045 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.6068 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593077746459371993',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut64593238766459371923' ,32.900000,0 ,2,23.00,90000,?,?,?,?,?,?,?,?,?)
20230508@185329.6307 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.6323 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.6327 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593077746459371993','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.6332 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.6336 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230508@185329.6348 o7b2mialnd50pbfstjqdh95qpn 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.948.00.01'
20230508@185329.6361 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.6374 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.6400 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.6414 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.6419 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230508@185329.6430 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.6441 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.6454 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.6480 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459328994645937199d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut64593238766459371923' ,32.900000,0 ,2,23.00,100000,?,?,?,?,?,?,?,?,?)
20230508@185329.6718 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.6732 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.6737 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459328994645937199d','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.6742 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.6745 o7b2mialnd50pbfstjqdh95qpn Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230508@185329.6755 o7b2mialnd50pbfstjqdh95qpn 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.948.00.01'
20230508@185329.6765 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.6777 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185329.6800 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.6811 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185329.6816 o7b2mialnd50pbfstjqdh95qpn Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230508@185329.6825 o7b2mialnd50pbfstjqdh95qpn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185329.6834 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185329.6847 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185329.6869 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645931528764593719a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut64593238766459371923' ,32.900000,0 ,2,23.00,110000,?,?,?,?,?,?,?,?,?)
20230508@185329.7104 o7b2mialnd50pbfstjqdh95qpn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185329.7118 o7b2mialnd50pbfstjqdh95qpn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185329.7122 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645931528764593719a6','aut64593238766459371923' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185329.7126 o7b2mialnd50pbfstjqdh95qpn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64593238766459371923','119230000088','wait',39,'ari17112337378,753000005')
20230508@185329.7141 o7b2mialnd50pbfstjqdh95qpn Query : use flama_phc
20230508@185329.7144 o7b2mialnd50pbfstjqdh95qpn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@185329.7155 o7b2mialnd50pbfstjqdh95qpn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='236';
20230508@185329.7166 o7b2mialnd50pbfstjqdh95qpn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='236';
20230508@185329.7176 o7b2mialnd50pbfstjqdh95qpn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='236';
20230508@185329.7186 o7b2mialnd50pbfstjqdh95qpn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='236';
20230508@185418.5354 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@185418.5373 42tv5v5b7u3u3d9es5r0p4l69c Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@185418.5392 42tv5v5b7u3u3d9es5r0p4l69c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='237';
20230508@185418.5438 42tv5v5b7u3u3d9es5r0p4l69c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='237';
20230508@185418.5451 42tv5v5b7u3u3d9es5r0p4l69c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='237';
20230508@185418.5462 42tv5v5b7u3u3d9es5r0p4l69c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='237';
20230508@185418.5472 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.5475 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@185418.5487 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.5490 42tv5v5b7u3u3d9es5r0p4l69c Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230508@185418.5525 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20230508@185418.5659 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000089 and bi.ref ='327.8253.00.1' and bi.lordem =20000
20230508@185418.5977 42tv5v5b7u3u3d9es5r0p4l69c Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552760,9250000-2 ' 
20230508@185418.6298 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8171.00.1'
20230508@185418.6420 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000089 and bi.ref ='327.8171.00.1' and bi.lordem =30000
20230508@185418.6733 42tv5v5b7u3u3d9es5r0p4l69c Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552760,9530000-3 ' 
20230508@185418.7044 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8176.00.1'
20230508@185418.7165 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000089 and bi.ref ='327.8176.00.1' and bi.lordem =40000
20230508@185418.7462 42tv5v5b7u3u3d9es5r0p4l69c Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050552760,9800000-4 ' 
20230508@185418.8564 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.8569 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@185418.8582 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.8585 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 1 valor from td where td.ndoc = 39
20230508@185418.8596 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.8599 42tv5v5b7u3u3d9es5r0p4l69c Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@185418.8610 42tv5v5b7u3u3d9es5r0p4l69c 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
20230508@185418.8624 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.8627 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230508@185418.8638 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.8643 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@185418.8653 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.8658 42tv5v5b7u3u3d9es5r0p4l69c Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@185418.8668 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.8671 42tv5v5b7u3u3d9es5r0p4l69c Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230508@185418.8684 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185418.8686 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from td where ndoc = 39
20230508@185418.8697 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@185418.8708 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@185418.8721 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@185418.8739 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@185418.8753 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@185418.8757 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@185418.8770 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@185418.8780 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@185418.8823 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@185418.8834 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@185418.8846 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@185418.8855 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64593613666459374ad6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@185418.9018 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@185418.9032 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@185418.9037 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593613666459374ad6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185418.9042 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 fno valor from wsft039data order by fno desc
20230508@185418.9260 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@185418.9954 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@185418.9973 42tv5v5b7u3u3d9es5r0p4l69c 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 ,encomenda ) values ('aut64593613666459374ad6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',138,100810,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','1924',?,?,?,?,?)
20230508@185419.2820 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185419.2870 42tv5v5b7u3u3d9es5r0p4l69c Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20230508@185419.3030 42tv5v5b7u3u3d9es5r0p4l69c 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 = '327.8253.00.1'
20230508@185419.5330 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.5610 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185419.6010 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.6180 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185419.6240 42tv5v5b7u3u3d9es5r0p4l69c Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r210093300a'
20230508@185419.6360 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185419.6470 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.6600 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185419.6980 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593313986459374b0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64593613666459374ad6' ,252.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@185419.1054 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.1075 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185419.1087 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593313986459374b0f','aut64593613666459374ad6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185419.1093 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.1114 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185419.1157 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.1178 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185419.1209 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185419.1221 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.1237 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185419.1282 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64593282056459374b1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64593613666459374ad6' ,0,0 ,2,23.00,20000,?,?,?)
20230508@185419.1656 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.1693 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185419.1697 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593282056459374b1d','aut64593613666459374ad6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185419.1702 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185419.1706 42tv5v5b7u3u3d9es5r0p4l69c Query : select st.usalote valor from st where st.ref = '327.8171.00.1'
20230508@185419.1726 42tv5v5b7u3u3d9es5r0p4l69c 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 = '327.8171.00.1'
20230508@185419.1966 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.2040 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185419.2073 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.2130 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185419.2138 42tv5v5b7u3u3d9es5r0p4l69c Query : select sestamp valor from se where ref ='327.8171.00.1' and lote = 'r2101005100a'
20230508@185419.2184 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185419.2207 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.2257 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185419.2371 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593623266459374b35',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut64593613666459374ad6' ,231.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@185419.2699 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.2769 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185419.2775 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593623266459374b35','aut64593613666459374ad6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185419.2782 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.2797 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185419.2825 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.2844 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185419.2854 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185419.2866 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.2893 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185419.2931 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64593527336459374b45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64593613666459374ad6' ,0,0 ,2,23.00,50000,?,?,?)
20230508@185419.3245 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.3317 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185419.3324 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593527336459374b45','aut64593613666459374ad6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185419.3330 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185419.3345 42tv5v5b7u3u3d9es5r0p4l69c Query : select st.usalote valor from st where st.ref = '327.8176.00.1'
20230508@185419.3359 42tv5v5b7u3u3d9es5r0p4l69c 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 = '327.8176.00.1'
20230508@185419.3506 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.3523 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185419.3557 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.3578 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185419.3583 42tv5v5b7u3u3d9es5r0p4l69c Query : select sestamp valor from se where ref ='327.8176.00.1' and lote = 'r2100756200a'
20230508@185419.3633 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185419.3649 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.3715 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185419.3745 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593347946459374b59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut64593613666459374ad6' ,231.000000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230508@185419.4010 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.4027 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185419.4033 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593347946459374b59','aut64593613666459374ad6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185419.4038 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.4055 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185419.4082 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.4098 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185419.4104 42tv5v5b7u3u3d9es5r0p4l69c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185419.4116 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185419.4132 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185419.4160 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64593093846459374b64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64593613666459374ad6' ,0,0 ,2,23.00,80000,?,?,?)
20230508@185419.4414 42tv5v5b7u3u3d9es5r0p4l69c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185419.4430 42tv5v5b7u3u3d9es5r0p4l69c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185419.4436 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593093846459374b64','aut64593613666459374ad6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185419.4441 42tv5v5b7u3u3d9es5r0p4l69c Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64593613666459374ad6','119230000089','wait',39,'ari17112337378,753000005')
20230508@185419.4461 42tv5v5b7u3u3d9es5r0p4l69c Query : use flama_phc
20230508@185419.4465 42tv5v5b7u3u3d9es5r0p4l69c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@185419.4477 42tv5v5b7u3u3d9es5r0p4l69c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='237';
20230508@185419.4491 42tv5v5b7u3u3d9es5r0p4l69c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='237';
20230508@185419.4503 42tv5v5b7u3u3d9es5r0p4l69c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='237';
20230508@185419.4516 42tv5v5b7u3u3d9es5r0p4l69c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='237';
20230508@185526.7251 mlrp3m5hu3a1jogrkkr52u391v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@185526.7268 mlrp3m5hu3a1jogrkkr52u391v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@185526.7283 mlrp3m5hu3a1jogrkkr52u391v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='238';
20230508@185526.7328 mlrp3m5hu3a1jogrkkr52u391v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='238';
20230508@185526.7342 mlrp3m5hu3a1jogrkkr52u391v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='238';
20230508@185526.7372 mlrp3m5hu3a1jogrkkr52u391v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='238';
20230508@185526.7383 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.7387 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@185526.7403 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.7406 mlrp3m5hu3a1jogrkkr52u391v Query : select no, estab,szadrsdesc from szadrs where u_coddest=1362
20230508@185526.7488 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.656.00.01'
20230508@185526.7666 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000097 and bi.ref ='324.656.00.01' and bi.lordem =20000
20230508@185526.8041 mlrp3m5hu3a1jogrkkr52u391v Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050559468,7750000-2 ' 
20230508@185526.8498 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230508@185526.8637 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000097 and bi.ref ='324.670.00.01' and bi.lordem =30000
20230508@185526.8980 mlrp3m5hu3a1jogrkkr52u391v Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050559468,8100000-3 ' 
20230508@185526.9312 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.9315 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@185526.9328 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.9333 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 1 valor from td where td.ndoc = 39
20230508@185526.9346 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.9349 mlrp3m5hu3a1jogrkkr52u391v Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@185526.9362 mlrp3m5hu3a1jogrkkr52u391v 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
20230508@185526.9376 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.9379 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 ~inactivo valor from cl where no = '101608' and estab = 0 order by inactivo desc
20230508@185526.9480 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.9483 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@185526.9494 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.9497 mlrp3m5hu3a1jogrkkr52u391v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@185526.9509 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.9512 mlrp3m5hu3a1jogrkkr52u391v Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim monteiro e silva, lda.(elÉctrica pedro hispano)'
20230508@185526.9525 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185526.9528 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from td where ndoc = 39
20230508@185526.9539 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@185526.9552 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@185526.9567 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@185526.9585 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@185526.9599 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@185526.9603 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@185526.9616 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@185526.9626 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@185526.9667 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@185526.9679 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@185526.9694 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@185526.9705 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64593680236459378eeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@185526.9884 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@185526.9903 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@185526.9909 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593680236459378eeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185526.9914 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 fno valor from wsft039data order by fno desc
20230508@185526.9927 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@185526.9942 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@185526.9959 mlrp3m5hu3a1jogrkkr52u391v 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 ,encomenda ) values ('aut64593680236459378eeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',139,101608,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','1925',?,?,?,?,?)
20230508@185527.2450 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185527.2490 mlrp3m5hu3a1jogrkkr52u391v Query : select st.usalote valor from st where st.ref = '324.656.00.01'
20230508@185527.2620 mlrp3m5hu3a1jogrkkr52u391v 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.656.00.01'
20230508@185527.3900 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185527.4040 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185527.4280 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185527.4420 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185527.4460 mlrp3m5hu3a1jogrkkr52u391v Query : select sestamp valor from se where ref ='324.656.00.01' and lote = 'r2200819100a'
20230508@185527.4570 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185527.4660 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185527.4780 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185527.5010 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593507806459378f0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut64593680236459378eeb' ,60.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@185527.7400 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185527.7560 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185527.7610 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593507806459378f0b','aut64593680236459378eeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185527.7670 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185527.7800 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185527.8040 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185527.8160 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185527.8210 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185527.8300 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185527.8420 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185527.8650 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64593931636459378f14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64593680236459378eeb' ,0,0 ,2,23.00,20000,?,?,?)
20230508@185527.1100 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185527.1114 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185527.1118 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593931636459378f14','aut64593680236459378eeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185527.1122 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185527.1125 mlrp3m5hu3a1jogrkkr52u391v Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230508@185527.1136 mlrp3m5hu3a1jogrkkr52u391v 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.670.00.01'
20230508@185527.1280 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185527.1294 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@185527.1318 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185527.1331 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@185527.1338 mlrp3m5hu3a1jogrkkr52u391v Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230508@185527.1349 mlrp3m5hu3a1jogrkkr52u391v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185527.1360 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@185527.1372 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@185527.1408 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64593431076459378f21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut64593680236459378eeb' ,83.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@185527.1677 mlrp3m5hu3a1jogrkkr52u391v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@185527.1693 mlrp3m5hu3a1jogrkkr52u391v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@185527.1697 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64593431076459378f21','aut64593680236459378eeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@185527.1702 mlrp3m5hu3a1jogrkkr52u391v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64593680236459378eeb','119230000097','wait',39,'ari17112337378,753000005')
20230508@185527.1718 mlrp3m5hu3a1jogrkkr52u391v Query : use flama_phc
20230508@185527.1721 mlrp3m5hu3a1jogrkkr52u391v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@185527.1733 mlrp3m5hu3a1jogrkkr52u391v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='238';
20230508@185527.1746 mlrp3m5hu3a1jogrkkr52u391v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='238';
20230508@185527.1756 mlrp3m5hu3a1jogrkkr52u391v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='238';
20230508@185527.1767 mlrp3m5hu3a1jogrkkr52u391v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='238';
20230508@185642.3017 3go0436bos7po5siqhcq24fcq2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@185642.3038 3go0436bos7po5siqhcq24fcq2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@185642.3053 3go0436bos7po5siqhcq24fcq2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='239';
20230508@185642.3091 3go0436bos7po5siqhcq24fcq2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='239';
20230508@185642.3104 3go0436bos7po5siqhcq24fcq2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='239';
20230508@185642.3116 3go0436bos7po5siqhcq24fcq2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='239';
20230508@185642.3128 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.3131 3go0436bos7po5siqhcq24fcq2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@185642.3143 3go0436bos7po5siqhcq24fcq2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20230508@185642.3216 3go0436bos7po5siqhcq24fcq2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5342.00.1'
20230508@185642.3313 3go0436bos7po5siqhcq24fcq2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 5 and bi.ref ='324.5342.00.1' and bi.lordem =10000
20230508@185642.3625 3go0436bos7po5siqhcq24fcq2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5347.00.1'
20230508@185642.3716 3go0436bos7po5siqhcq24fcq2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 5 and bi.ref ='324.5347.00.1' and bi.lordem =20000
20230508@185642.4015 3go0436bos7po5siqhcq24fcq2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1608.00.1'
20230508@185642.4106 3go0436bos7po5siqhcq24fcq2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 5 and bi.ref ='324.1608.00.1' and bi.lordem =30000
20230508@185642.4420 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.4423 3go0436bos7po5siqhcq24fcq2 Query : select top 1 1 valor from ts where ts.ndos = 5
20230508@185642.4504 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.4507 3go0436bos7po5siqhcq24fcq2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@185642.4519 3go0436bos7po5siqhcq24fcq2 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20230508@185642.4653 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.4657 3go0436bos7po5siqhcq24fcq2 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20230508@185642.4730 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.4733 3go0436bos7po5siqhcq24fcq2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@185642.4744 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.4748 3go0436bos7po5siqhcq24fcq2 Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20230508@185642.4762 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.4765 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from ts where ndos = 5
20230508@185642.4861 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230508@185642.5168 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20230508@185642.5214 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230508@185642.5554 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230508@185642.6159 3go0436bos7po5siqhcq24fcq2 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20230508@185642.6872 3go0436bos7po5siqhcq24fcq2 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230508@185642.6966 3go0436bos7po5siqhcq24fcq2 Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230508@185642.7048 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.7053 3go0436bos7po5siqhcq24fcq2 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20230508@185642.7133 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230508@185642.7139 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459338771645937daac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20230508@185642.7234 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230508@185642.7242 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut6459338771645937daac','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20230508','19:26',?,?)
20230508@185642.7534 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230508@185642.7549 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20230508@185642.7580 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut6459338771645937daac','trf entre armazéns a','2023-05-08',5,167,?,?,?,?,?,?,?,?,2023, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20230508@185642.8136 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185642.8141 3go0436bos7po5siqhcq24fcq2 Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20230508@185642.8153 3go0436bos7po5siqhcq24fcq2 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.5342.00.1'
20230508@185642.8288 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185642.8659 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230508@185642.8708 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185642.8972 3go0436bos7po5siqhcq24fcq2 Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2200658100a'
20230508@185642.8984 3go0436bos7po5siqhcq24fcq2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185642.8994 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185642.9008 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230508@185642.9041 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6459351678645937dadb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,0,0*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,0*12.000,0*12.000*200.48 ,6.689000,6.689000*200.48 ,6.689000,6.689000*200.48 ,0,0*12.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185642.9560 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185642.9570 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6459351678645937dadb','aut6459338771645937daac',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185642.9801 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185642.9816 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230508@185642.9830 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185642.9837 3go0436bos7po5siqhcq24fcq2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185642.9848 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185642.9861 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230508@185642.9874 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6459332245645937daf0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185643.2090 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185643.2180 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6459332245645937daf0','aut6459338771645937daac',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185643.3770 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185643.3800 3go0436bos7po5siqhcq24fcq2 Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20230508@185643.3930 3go0436bos7po5siqhcq24fcq2 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.5347.00.1'
20230508@185643.1534 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185643.1549 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230508@185643.1564 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185643.1570 3go0436bos7po5siqhcq24fcq2 Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2200658100a'
20230508@185643.1582 3go0436bos7po5siqhcq24fcq2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185643.1670 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185643.1683 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230508@185643.1696 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6459304871645937db28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,0,0*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,0*12.000,0*12.000*200.48 ,6.846000,6.846000*200.48 ,6.846000,6.846000*200.48 ,0,0*12.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185643.2033 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185643.2042 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6459304871645937db28','aut6459338771645937daac',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185643.2211 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185643.2228 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230508@185643.2244 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185643.2251 3go0436bos7po5siqhcq24fcq2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185643.2282 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185643.2297 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230508@185643.2313 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6459307180645937db37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185643.2653 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185643.2662 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6459307180645937db37','aut6459338771645937daac',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185643.2831 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185643.2836 3go0436bos7po5siqhcq24fcq2 Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20230508@185643.2849 3go0436bos7po5siqhcq24fcq2 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'
20230508@185643.2981 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185643.3073 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230508@185643.3086 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185643.3092 3go0436bos7po5siqhcq24fcq2 Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2200658200a'
20230508@185643.3104 3go0436bos7po5siqhcq24fcq2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@185643.3113 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230508@185643.3126 3go0436bos7po5siqhcq24fcq2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230508@185643.3139 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6459389953645937db4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,0,0*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,0*12.000,0*12.000*200.48 ,10.773000,10.773000*200.48 ,10.773000,10.773000*200.48 ,0,0*12.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185643.3466 3go0436bos7po5siqhcq24fcq2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230508@185643.3475 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6459389953645937db4c','aut6459338771645937daac',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6459338771645937daac'
20230508@185643.3639 3go0436bos7po5siqhcq24fcq2 Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6459338771645937daac','','wait',5,'adm12071144683,938000003')
20230508@185643.3670 3go0436bos7po5siqhcq24fcq2 Query : use flama_phc
20230508@185643.3673 3go0436bos7po5siqhcq24fcq2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@185643.3685 3go0436bos7po5siqhcq24fcq2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='239';
20230508@185643.3698 3go0436bos7po5siqhcq24fcq2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='239';
20230508@185643.3710 3go0436bos7po5siqhcq24fcq2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='239';
20230508@185643.3721 3go0436bos7po5siqhcq24fcq2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='239';

20230508@225621.6571 n246ipm7mbcdso3km74vnjmb3n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='240';
20230508@225621.6584 n246ipm7mbcdso3km74vnjmb3n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='240';
20230508@225621.6597 n246ipm7mbcdso3km74vnjmb3n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='240';
20230508@225621.6609 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225621.6613 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225621.6626 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225621.6630 n246ipm7mbcdso3km74vnjmb3n Query : select no, estab,szadrsdesc from szadrs where u_coddest=2679
20230508@225621.6704 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20230508@225621.6854 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.1706.00.1' and bi.lordem =20000
20230508@225621.7183 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,1030000-2 ' 
20230508@225621.7489 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230508@225621.7612 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.2212.00.1' and bi.lordem =30000
20230508@225621.7948 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,1570000-3 ' 
20230508@225621.8273 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20230508@225621.8285 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.1406.00.1' and bi.lordem =40000
20230508@225621.8581 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,1920000-4 ' 
20230508@225621.8937 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20230508@225621.9059 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.4421.00.1' and bi.lordem =50000
20230508@225621.9358 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,2210000-5 ' 
20230508@225621.9664 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20230508@225622.6870 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.4585.00.1' and bi.lordem =60000
20230508@225622.1002 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,2470000-6 ' 
20230508@225622.1305 n246ipm7mbcdso3km74vnjmb3n 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'
20230508@225622.1425 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.4743.00.1' and bi.lordem =70000
20230508@225622.1767 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,2750000-7 ' 
20230508@225622.2093 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20230508@225622.2221 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.1716.00.1' and bi.lordem =80000
20230508@225622.2525 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,3040000-8 ' 
20230508@225622.2870 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20230508@225622.2991 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.1462.00.1' and bi.lordem =90000
20230508@225622.3323 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,3320000-9 ' 
20230508@225622.3639 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20230508@225622.3755 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.1705.00.1' and bi.lordem =100000
20230508@225622.4064 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,361000-10 ' 
20230508@225622.4385 n246ipm7mbcdso3km74vnjmb3n 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'
20230508@225622.4502 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='304.4860.00.1' and bi.lordem =110000
20230508@225622.4805 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,388000-11 ' 
20230508@225622.5108 n246ipm7mbcdso3km74vnjmb3n 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'
20230508@225622.5229 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000098 and bi.ref ='324.4161.00.1' and bi.lordem =120000
20230508@225622.5530 n246ipm7mbcdso3km74vnjmb3n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050850968,415000-12 ' 
20230508@225622.5850 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.5854 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225622.5869 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.5873 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225622.5885 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.5889 n246ipm7mbcdso3km74vnjmb3n Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225622.5901 n246ipm7mbcdso3km74vnjmb3n 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
20230508@225622.5918 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.5922 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 ~inactivo valor from cl where no = '199525' and estab = 0 order by inactivo desc
20230508@225622.6015 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.6019 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225622.6031 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.6036 n246ipm7mbcdso3km74vnjmb3n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225622.6049 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.6053 n246ipm7mbcdso3km74vnjmb3n Query : select szadrsstamp valor from szadrs where szadrsdesc='euroilhas - soc.com.representaÇÕes,lda'
20230508@225622.6089 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.6092 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from td where ndoc = 39
20230508@225622.6103 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225622.6118 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225622.6134 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225622.6154 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225622.6169 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225622.6174 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225622.6265 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225622.6278 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225622.6324 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225622.6337 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225622.6352 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225622.6363 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225622.6527 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225622.6542 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225622.6547 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597705936459700699',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225622.6558 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225622.6573 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225622.6587 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225622.6608 n246ipm7mbcdso3km74vnjmb3n 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 ,encomenda ) values ('aut64597705936459700699',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',140,199525,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225622.6888 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.6892 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.1706.00.1'
20230508@225622.6905 n246ipm7mbcdso3km74vnjmb3n 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.1706.00.1'
20230508@225622.7030 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225622.7045 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225622.7070 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225622.7083 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225622.7088 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.1706.00.1' and lote = 'r2100123100b'
20230508@225622.7101 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225622.7113 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225622.7126 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225622.7152 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645970604564597006ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597705936459700699' ,34.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225622.7395 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225622.7410 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225622.7414 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645970604564597006ad','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225622.7418 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.7421 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230508@225622.7433 n246ipm7mbcdso3km74vnjmb3n 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.2212.00.1'
20230508@225622.7556 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225622.7571 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225622.7596 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225622.7610 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225622.7618 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230508@225622.7637 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225622.7649 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225622.7684 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225622.7712 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645974766164597006ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597705936459700699' ,29.000000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230508@225622.7953 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225622.7987 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225622.7992 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645974766164597006ba','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225622.7997 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.8000 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20230508@225622.8011 n246ipm7mbcdso3km74vnjmb3n 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.1406.00.1'
20230508@225622.8025 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225622.8038 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225622.8064 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225622.8080 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225622.8084 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '0720'
20230508@225622.8096 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225622.8108 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225622.8124 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225622.8152 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645973929764597006c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut64597705936459700699' ,20.300000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230508@225622.8385 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225622.8401 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225622.8407 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645973929764597006c5','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225622.8412 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225622.8415 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20230508@225622.8427 n246ipm7mbcdso3km74vnjmb3n 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'
20230508@225622.8572 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225622.8587 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225622.8614 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225622.8627 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225622.8633 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20230508@225622.8645 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225622.8655 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225622.8668 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225622.8710 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645979568864597006d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut64597705936459700699' ,27.300000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@225622.9017 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.2200 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.2800 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645979568864597006d3','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.3300 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225623.3600 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.4585.00.1'
20230508@225623.5100 n246ipm7mbcdso3km74vnjmb3n 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.4585.00.1'
20230508@225623.2040 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.2190 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.2460 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.2600 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.2650 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.4585.00.1' and lote = 'r2101117200a'
20230508@225623.2780 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.2880 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.3020 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.3260 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597767246459700707',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut64597705936459700699' ,87.000000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230508@225623.6010 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.6160 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.6200 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597767246459700707','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.6250 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225623.6280 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20230508@225623.6410 n246ipm7mbcdso3km74vnjmb3n 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'
20230508@225623.8190 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.8460 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.8690 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.8830 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.8870 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20230508@225623.8980 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.9360 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.9510 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.9740 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597618356459700716',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597705936459700699' ,31.900000,0 ,2,23.00,60000,?,?,?,?,?,?,?,?,?)
20230508@225623.1251 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.1287 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.1292 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597618356459700716','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.1297 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225623.1300 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20230508@225623.1313 n246ipm7mbcdso3km74vnjmb3n 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.1716.00.1'
20230508@225623.1458 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.1472 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.1496 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.1509 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.1513 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100893150a'
20230508@225623.1534 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.1543 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.1556 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.1577 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597298716459700725',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597705936459700699' ,26.100000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230508@225623.1874 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.1891 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.1895 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597298716459700725','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.1900 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225623.1903 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20230508@225623.1915 n246ipm7mbcdso3km74vnjmb3n 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.1462.00.1'
20230508@225623.2058 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.2073 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.2096 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.2109 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.2114 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20230508@225623.2125 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.2134 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.2146 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.2168 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597514656459700734',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut64597705936459700699' ,58.000000,0 ,2,23.00,80000,?,?,?,?,?,?,?,?,?)
20230508@225623.2425 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.2441 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.2446 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597514656459700734','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.2450 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225623.2453 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20230508@225623.2465 n246ipm7mbcdso3km74vnjmb3n 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.1705.00.1'
20230508@225623.2602 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.2618 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.2641 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.2654 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.2659 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2200112200a'
20230508@225623.2670 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.2679 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.2692 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.2714 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597745426459700741',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut64597705936459700699' ,29.000000,0 ,2,23.00,90000,?,?,?,?,?,?,?,?,?)
20230508@225623.2972 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.2987 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.2991 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597745426459700741','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.2996 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225623.2999 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20230508@225623.3010 n246ipm7mbcdso3km74vnjmb3n 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'
20230508@225623.3144 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.3159 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.3186 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.3199 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.3204 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20230508@225623.3221 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.3231 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.3244 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.3268 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459707707645970074e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut64597705936459700699' ,46.400000,0 ,2,23.00,100000,?,?,?,?,?,?,?,?,?)
20230508@225623.3526 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.3542 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.3547 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459707707645970074e','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.3552 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225623.3555 n246ipm7mbcdso3km74vnjmb3n Query : select st.usalote valor from st where st.ref = '324.4161.00.1'
20230508@225623.3566 n246ipm7mbcdso3km74vnjmb3n 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'
20230508@225623.3702 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.3716 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.3739 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.3752 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.3756 n246ipm7mbcdso3km74vnjmb3n Query : select sestamp valor from se where ref ='324.4161.00.1' and lote = 'r2100973100a'
20230508@225623.3768 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.3777 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.3789 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.3812 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459733948645970075c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut64597705936459700699' ,46.400000,0 ,2,23.00,110000,?,?,?,?,?,?,?,?,?)
20230508@225623.4279 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.4299 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.4303 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459733948645970075c','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.4309 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.4342 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.4367 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.4382 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.4387 n246ipm7mbcdso3km74vnjmb3n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.4399 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.4413 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.4438 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6459740922645970076b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597705936459700699' ,0,0 ,2,23.00,120000,?,?,?)
20230508@225623.4684 n246ipm7mbcdso3km74vnjmb3n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.4699 n246ipm7mbcdso3km74vnjmb3n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.4704 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459740922645970076b','aut64597705936459700699' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.4708 n246ipm7mbcdso3km74vnjmb3n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597705936459700699','119230000098','wait',39,'ari17112337378,753000005')
20230508@225623.4727 n246ipm7mbcdso3km74vnjmb3n Query : use flama_phc
20230508@225623.4730 n246ipm7mbcdso3km74vnjmb3n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225623.4745 n246ipm7mbcdso3km74vnjmb3n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='240';
20230508@225623.4758 n246ipm7mbcdso3km74vnjmb3n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='240';
20230508@225623.4770 n246ipm7mbcdso3km74vnjmb3n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='240';
20230508@225623.4781 n246ipm7mbcdso3km74vnjmb3n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='240';
20230508@225623.5231 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225623.5245 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225623.5260 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='241';
20230508@225623.5300 a4snp27ev3bqvm5a6c5q3t6ih1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='241';
20230508@225623.5319 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='241';
20230508@225623.5330 a4snp27ev3bqvm5a6c5q3t6ih1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='241';
20230508@225623.5341 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.5344 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225623.5357 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.5360 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230508@225623.5393 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20230508@225623.5521 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000099 and bi.ref ='324.1685.00.1' and bi.lordem =20000
20230508@225623.5827 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851123,7660000-2 ' 
20230508@225623.6995 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230508@225623.7009 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000099 and bi.ref ='324.670.00.01' and bi.lordem =30000
20230508@225623.7324 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851123,7990000-3 ' 
20230508@225623.7632 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230508@225623.7644 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000099 and bi.ref ='324.670.00.01' and bi.lordem =30000
20230508@225623.7658 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851123,7990000-3 ' 
20230508@225623.7670 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.7674 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225623.7688 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.7692 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225623.7704 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.7707 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225623.7720 a4snp27ev3bqvm5a6c5q3t6ih1 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
20230508@225623.7736 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.7739 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230508@225623.7750 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.7753 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225623.7764 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.7767 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225623.7778 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.7781 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230508@225623.7793 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.7796 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from td where ndoc = 39
20230508@225623.7805 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225623.7816 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225623.7829 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225623.7845 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225623.7858 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225623.7862 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225623.7875 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225623.7885 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225623.7927 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225623.7936 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225623.7948 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225623.7957 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645978844864597007c0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225623.8124 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225623.8138 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225623.8142 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645978844864597007c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.8147 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225623.8158 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225623.8171 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225623.8188 a4snp27ev3bqvm5a6c5q3t6ih1 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 ,encomenda ) values ('aut645978844864597007c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',141,100810,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225623.8458 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.8461 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20230508@225623.8474 a4snp27ev3bqvm5a6c5q3t6ih1 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.1685.00.1'
20230508@225623.8599 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.8612 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.8635 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.8649 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.8653 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2100529200a'
20230508@225623.8663 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.8674 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.8685 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.8709 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645971107864597007d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645978844864597007c0' ,67.900000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225623.8958 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.8972 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.8977 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645971107864597007d3','aut645978844864597007c0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.8981 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.8984 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230508@225623.8995 a4snp27ev3bqvm5a6c5q3t6ih1 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.670.00.01'
20230508@225623.9006 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.9018 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.9042 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.9054 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.9058 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230508@225623.9068 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.9078 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.9090 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.9114 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645974039064597007dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645978844864597007c0' ,91.000000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230508@225623.9349 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.9363 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.9368 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645974039064597007dd','aut645978844864597007c0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.9372 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.9375 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230508@225623.9386 a4snp27ev3bqvm5a6c5q3t6ih1 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.670.00.01'
20230508@225623.9398 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.9410 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225623.9434 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.9448 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225623.9452 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230508@225623.9463 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225623.9474 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225623.9485 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225623.9510 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645970709264597007e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645978844864597007c0' ,91.000000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230508@225623.9760 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225623.9775 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225623.9780 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645970709264597007e7','aut645978844864597007c0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225623.9785 a4snp27ev3bqvm5a6c5q3t6ih1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645978844864597007c0','119230000099','wait',39,'ari17112337378,753000005')
20230508@225623.9802 a4snp27ev3bqvm5a6c5q3t6ih1 Query : use flama_phc
20230508@225623.9805 a4snp27ev3bqvm5a6c5q3t6ih1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225623.9816 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='241';
20230508@225623.9829 a4snp27ev3bqvm5a6c5q3t6ih1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='241';
20230508@225623.9840 a4snp27ev3bqvm5a6c5q3t6ih1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='241';
20230508@225623.9851 a4snp27ev3bqvm5a6c5q3t6ih1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='241';
20230508@225624.2640 h9ru2ghg19gpjsubpphhublruc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225624.2770 h9ru2ghg19gpjsubpphhublruc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225624.2920 h9ru2ghg19gpjsubpphhublruc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='242';
20230508@225624.3330 h9ru2ghg19gpjsubpphhublruc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='242';
20230508@225624.3480 h9ru2ghg19gpjsubpphhublruc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='242';
20230508@225624.3590 h9ru2ghg19gpjsubpphhublruc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='242';
20230508@225624.3700 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.3730 h9ru2ghg19gpjsubpphhublruc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225624.3850 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.3890 h9ru2ghg19gpjsubpphhublruc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20230508@225624.4650 h9ru2ghg19gpjsubpphhublruc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20230508@225624.5940 h9ru2ghg19gpjsubpphhublruc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000100 and bi.ref ='327.8261.00.1' and bi.lordem =20000
20230508@225624.9050 h9ru2ghg19gpjsubpphhublruc Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851125,2660000-2 ' 
20230508@225624.1219 h9ru2ghg19gpjsubpphhublruc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20230508@225624.1230 h9ru2ghg19gpjsubpphhublruc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000100 and bi.ref ='327.8261.00.1' and bi.lordem =20000
20230508@225624.1243 h9ru2ghg19gpjsubpphhublruc Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851125,2660000-2 ' 
20230508@225624.1253 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.1256 h9ru2ghg19gpjsubpphhublruc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225624.1270 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.1272 h9ru2ghg19gpjsubpphhublruc Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225624.1282 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.1285 h9ru2ghg19gpjsubpphhublruc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225624.1296 h9ru2ghg19gpjsubpphhublruc 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
20230508@225624.1309 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.1312 h9ru2ghg19gpjsubpphhublruc Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230508@225624.1407 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.1412 h9ru2ghg19gpjsubpphhublruc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225624.1422 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.1425 h9ru2ghg19gpjsubpphhublruc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225624.1437 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.1440 h9ru2ghg19gpjsubpphhublruc Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20230508@225624.1453 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.1456 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from td where ndoc = 39
20230508@225624.1466 h9ru2ghg19gpjsubpphhublruc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225624.1477 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225624.1491 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225624.1508 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225624.1521 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225624.1525 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225624.1539 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225624.1549 h9ru2ghg19gpjsubpphhublruc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225624.1593 h9ru2ghg19gpjsubpphhublruc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225624.1604 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225624.1615 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225624.1625 h9ru2ghg19gpjsubpphhublruc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597066836459700825' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225624.1785 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225624.2392 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225624.2837 h9ru2ghg19gpjsubpphhublruc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597066836459700825',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225624.2845 h9ru2ghg19gpjsubpphhublruc Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225624.2857 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225624.2872 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225624.2890 h9ru2ghg19gpjsubpphhublruc 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 ,encomenda ) values ('aut64597066836459700825',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',142,101597,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225624.3171 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.3175 h9ru2ghg19gpjsubpphhublruc Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20230508@225624.3190 h9ru2ghg19gpjsubpphhublruc 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 = '327.8261.00.1'
20230508@225624.3326 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.3343 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225624.3372 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.3385 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225624.3391 h9ru2ghg19gpjsubpphhublruc Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2200713200a'
20230508@225624.3403 h9ru2ghg19gpjsubpphhublruc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225624.3414 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.3426 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225624.3453 h9ru2ghg19gpjsubpphhublruc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597613276459700853',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597066836459700825' ,265.500000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225624.3701 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.3716 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225624.3720 h9ru2ghg19gpjsubpphhublruc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597613276459700853','aut64597066836459700825' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225624.3725 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.3739 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225624.3763 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.3775 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225624.3779 h9ru2ghg19gpjsubpphhublruc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225624.3789 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.3801 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225624.3824 h9ru2ghg19gpjsubpphhublruc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6459750967645970085c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597066836459700825' ,0,0 ,2,23.00,20000,?,?,?)
20230508@225624.4058 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.4074 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225624.4079 h9ru2ghg19gpjsubpphhublruc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459750967645970085c','aut64597066836459700825' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225624.4083 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.4086 h9ru2ghg19gpjsubpphhublruc Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20230508@225624.4099 h9ru2ghg19gpjsubpphhublruc 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 = '327.8261.00.1'
20230508@225624.4111 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.4316 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225624.4447 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.4461 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225624.4465 h9ru2ghg19gpjsubpphhublruc Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2200713200a'
20230508@225624.4474 h9ru2ghg19gpjsubpphhublruc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225624.4484 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.4499 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225624.4525 h9ru2ghg19gpjsubpphhublruc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6459706591645970086d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut64597066836459700825' ,265.500000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@225624.4810 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.4825 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225624.4830 h9ru2ghg19gpjsubpphhublruc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6459706591645970086d','aut64597066836459700825' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225624.4836 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.4851 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225624.4874 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.4885 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225624.4889 h9ru2ghg19gpjsubpphhublruc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225624.4899 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.4912 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225624.4936 h9ru2ghg19gpjsubpphhublruc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597202326459700877',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597066836459700825' ,0,0 ,2,23.00,50000,?,?,?)
20230508@225624.5175 h9ru2ghg19gpjsubpphhublruc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.5190 h9ru2ghg19gpjsubpphhublruc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225624.5194 h9ru2ghg19gpjsubpphhublruc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597202326459700877','aut64597066836459700825' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225624.5198 h9ru2ghg19gpjsubpphhublruc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597066836459700825','119230000100','wait',39,'ari17112337378,753000005')
20230508@225624.5222 h9ru2ghg19gpjsubpphhublruc Query : use flama_phc
20230508@225624.5225 h9ru2ghg19gpjsubpphhublruc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225624.5249 h9ru2ghg19gpjsubpphhublruc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='242';
20230508@225624.5261 h9ru2ghg19gpjsubpphhublruc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='242';
20230508@225624.5279 h9ru2ghg19gpjsubpphhublruc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='242';
20230508@225624.5289 h9ru2ghg19gpjsubpphhublruc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='242';
20230508@225624.5676 o6clsn806lap4a12l4lbnp2m9p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225624.5690 o6clsn806lap4a12l4lbnp2m9p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225624.5703 o6clsn806lap4a12l4lbnp2m9p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='243';
20230508@225624.5743 o6clsn806lap4a12l4lbnp2m9p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='243';
20230508@225624.5755 o6clsn806lap4a12l4lbnp2m9p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='243';
20230508@225624.5767 o6clsn806lap4a12l4lbnp2m9p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='243';
20230508@225624.5777 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.5780 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225624.5793 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.5796 o6clsn806lap4a12l4lbnp2m9p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20230508@225624.5869 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20230508@225624.5880 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000101 and bi.ref ='324.4960.00.1' and bi.lordem =20000
20230508@225624.6200 o6clsn806lap4a12l4lbnp2m9p Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851126,3530000-2 ' 
20230508@225624.6517 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20230508@225624.6528 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000101 and bi.ref ='324.4930.00.1' and bi.lordem =30000
20230508@225624.6819 o6clsn806lap4a12l4lbnp2m9p Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851126,3800000-3 ' 
20230508@225624.7127 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7131 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225624.7144 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7147 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225624.7157 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7160 o6clsn806lap4a12l4lbnp2m9p Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225624.7171 o6clsn806lap4a12l4lbnp2m9p 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
20230508@225624.7187 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7190 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230508@225624.7200 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7203 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225624.7213 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7216 o6clsn806lap4a12l4lbnp2m9p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225624.7226 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7229 o6clsn806lap4a12l4lbnp2m9p Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20230508@225624.7243 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7246 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from td where ndoc = 39
20230508@225624.7256 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225624.7267 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225624.7283 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225624.7300 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225624.7319 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225624.7324 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225624.7337 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225624.7347 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225624.7388 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225624.7398 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225624.7412 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225624.7421 o6clsn806lap4a12l4lbnp2m9p Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645971068764597008b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225624.7583 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225624.7601 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225624.7606 o6clsn806lap4a12l4lbnp2m9p Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645971068764597008b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225624.7611 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225624.7626 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225624.7641 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225624.7659 o6clsn806lap4a12l4lbnp2m9p 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 ,encomenda ) values ('aut645971068764597008b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',143,101900,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225624.7964 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.7969 o6clsn806lap4a12l4lbnp2m9p Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20230508@225624.7982 o6clsn806lap4a12l4lbnp2m9p 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.4960.00.1'
20230508@225624.7994 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.8008 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225624.8030 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.8044 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225624.8048 o6clsn806lap4a12l4lbnp2m9p Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20230508@225624.8060 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225624.8070 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.8084 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225624.8112 o6clsn806lap4a12l4lbnp2m9p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645979890664597008c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut645971068764597008b3' ,21.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225624.8375 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.8394 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225624.8400 o6clsn806lap4a12l4lbnp2m9p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645979890664597008c5','aut645971068764597008b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225624.8406 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225624.8410 o6clsn806lap4a12l4lbnp2m9p Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20230508@225624.8424 o6clsn806lap4a12l4lbnp2m9p 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.4930.00.1'
20230508@225624.8438 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.8455 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225624.8481 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.8500 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225624.8507 o6clsn806lap4a12l4lbnp2m9p Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2100754100a'
20230508@225624.8519 o6clsn806lap4a12l4lbnp2m9p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225624.9567 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225624.9586 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225624.9631 o6clsn806lap4a12l4lbnp2m9p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645979584464597008e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut645971068764597008b3' ,17.500000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230508@225624.9915 o6clsn806lap4a12l4lbnp2m9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225624.9946 o6clsn806lap4a12l4lbnp2m9p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225624.9952 o6clsn806lap4a12l4lbnp2m9p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645979584464597008e9','aut645971068764597008b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225624.9958 o6clsn806lap4a12l4lbnp2m9p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645971068764597008b3','119230000101','wait',39,'ari17112337378,753000005')
20230508@225625.4500 o6clsn806lap4a12l4lbnp2m9p Query : use flama_phc
20230508@225625.4900 o6clsn806lap4a12l4lbnp2m9p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225625.1220 o6clsn806lap4a12l4lbnp2m9p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='243';
20230508@225625.1390 o6clsn806lap4a12l4lbnp2m9p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='243';
20230508@225625.1520 o6clsn806lap4a12l4lbnp2m9p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='243';
20230508@225625.1660 o6clsn806lap4a12l4lbnp2m9p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='243';
20230508@225625.5210 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225625.5350 gl2k9ef46jje72mm3h0j8bn8bl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225625.5690 gl2k9ef46jje72mm3h0j8bn8bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='244';
20230508@225625.6110 gl2k9ef46jje72mm3h0j8bn8bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='244';
20230508@225625.6250 gl2k9ef46jje72mm3h0j8bn8bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='244';
20230508@225625.6390 gl2k9ef46jje72mm3h0j8bn8bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='244';
20230508@225625.6500 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.6530 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225625.6660 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.6690 gl2k9ef46jje72mm3h0j8bn8bl Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20230508@225625.7400 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.959.00.01'
20230508@225625.8670 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000102 and bi.ref ='324.959.00.01' and bi.lordem =20000
20230508@225625.1188 gl2k9ef46jje72mm3h0j8bn8bl Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851535,3940000-2 ' 
20230508@225625.1518 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20230508@225625.1530 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000102 and bi.ref ='324.4930.00.1' and bi.lordem =30000
20230508@225625.1854 gl2k9ef46jje72mm3h0j8bn8bl Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851535,4190000-3 ' 
20230508@225625.2178 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4020.00.1'
20230508@225625.2462 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000102 and bi.ref ='304.4020.00.1' and bi.lordem =40000
20230508@225625.2788 gl2k9ef46jje72mm3h0j8bn8bl Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851535,4480000-4 ' 
20230508@225625.3275 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20230508@225625.3286 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000102 and bi.ref ='324.5343.00.1' and bi.lordem =50000
20230508@225625.3582 gl2k9ef46jje72mm3h0j8bn8bl Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851535,4790000-5 ' 
20230508@225625.3904 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230508@225625.3918 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000102 and bi.ref ='324.2212.00.1' and bi.lordem =60000
20230508@225625.4256 gl2k9ef46jje72mm3h0j8bn8bl Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851535,5020000-6 ' 
20230508@225625.4594 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230508@225625.4605 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000102 and bi.ref ='324.2212.00.1' and bi.lordem =60000
20230508@225625.4617 gl2k9ef46jje72mm3h0j8bn8bl Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050851535,5020000-6 ' 
20230508@225625.4628 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.4631 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225625.4650 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.4653 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225625.4663 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.4666 gl2k9ef46jje72mm3h0j8bn8bl Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225625.4676 gl2k9ef46jje72mm3h0j8bn8bl 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
20230508@225625.5663 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.5667 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20230508@225625.5763 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.5766 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225625.5777 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.5780 gl2k9ef46jje72mm3h0j8bn8bl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225625.5790 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.5793 gl2k9ef46jje72mm3h0j8bn8bl Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20230508@225625.5805 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.5808 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from td where ndoc = 39
20230508@225625.5817 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225625.5829 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225625.5844 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225625.5862 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225625.5875 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225625.5880 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225625.5892 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225625.5902 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225625.5946 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225625.5958 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225625.5971 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225625.5983 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597085506459700990' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225625.6140 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225625.6154 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225625.6159 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597085506459700990',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225625.6164 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225625.6175 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225625.6187 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225625.6206 gl2k9ef46jje72mm3h0j8bn8bl 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 ,encomenda ) values ('aut64597085506459700990',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144,199506,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225625.6471 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.6475 gl2k9ef46jje72mm3h0j8bn8bl Query : select st.usalote valor from st where st.ref = '324.959.00.01'
20230508@225625.6487 gl2k9ef46jje72mm3h0j8bn8bl 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.959.00.01'
20230508@225625.6611 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.6625 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225625.6650 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.6664 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225625.6668 gl2k9ef46jje72mm3h0j8bn8bl Query : select sestamp valor from se where ref ='324.959.00.01' and lote = 'r2100174200a'
20230508@225625.6685 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225625.6694 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.6706 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225625.6727 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645970103664597009a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597085506459700990' ,24.500000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225625.6966 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.6981 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225625.6985 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645970103664597009a3','aut64597085506459700990' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225625.6989 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.6992 gl2k9ef46jje72mm3h0j8bn8bl Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20230508@225625.7002 gl2k9ef46jje72mm3h0j8bn8bl 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.4930.00.1'
20230508@225625.7015 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.7028 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225625.7052 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.7064 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225625.7068 gl2k9ef46jje72mm3h0j8bn8bl Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2100754100a'
20230508@225625.7078 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225625.7088 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.7099 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225625.7121 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645977217164597009ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut64597085506459700990' ,17.500000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230508@225625.7360 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.7374 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225625.7379 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645977217164597009ad','aut64597085506459700990' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225625.7383 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.7386 gl2k9ef46jje72mm3h0j8bn8bl Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20230508@225625.7397 gl2k9ef46jje72mm3h0j8bn8bl 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.4020.00.1'
20230508@225625.7524 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.7537 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225625.7559 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.7571 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225625.7575 gl2k9ef46jje72mm3h0j8bn8bl Query : select sestamp valor from se where ref ='304.4020.00.1' and lote = '221640'
20230508@225625.7599 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225625.7608 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.7622 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225625.7644 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645976857264597009b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut64597085506459700990' ,21.000000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230508@225625.7879 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.7896 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225625.7900 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645976857264597009b9','aut64597085506459700990' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225625.7904 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.7907 gl2k9ef46jje72mm3h0j8bn8bl Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20230508@225625.7917 gl2k9ef46jje72mm3h0j8bn8bl 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.5343.00.1'
20230508@225625.7928 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.7940 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225625.7964 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.7976 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225625.7980 gl2k9ef46jje72mm3h0j8bn8bl Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2100244100a'
20230508@225625.7990 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225625.8000 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.8011 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225625.8033 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645976788064597009c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut64597085506459700990' ,18.900000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@225625.8268 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.8283 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225625.8288 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645976788064597009c3','aut64597085506459700990' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225625.8293 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.8306 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225625.8329 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.8342 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225625.8346 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225625.8356 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.8367 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225625.8389 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645976667164597009cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597085506459700990' ,0,0 ,2,23.00,50000,?,?,?)
20230508@225625.8627 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.8641 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225625.8646 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645976667164597009cc','aut64597085506459700990' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225625.8650 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.8653 gl2k9ef46jje72mm3h0j8bn8bl Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230508@225625.8663 gl2k9ef46jje72mm3h0j8bn8bl 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.2212.00.1'
20230508@225625.8674 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.8686 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225625.8708 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.8720 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225625.8724 gl2k9ef46jje72mm3h0j8bn8bl Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230508@225625.8733 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225625.8742 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.8754 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225625.8775 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645973204164597009d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut64597085506459700990' ,35.000000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230508@225625.9023 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.9037 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225625.9042 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645973204164597009d5','aut64597085506459700990' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225625.9046 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.9050 gl2k9ef46jje72mm3h0j8bn8bl Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230508@225625.9060 gl2k9ef46jje72mm3h0j8bn8bl 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.2212.00.1'
20230508@225625.9070 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.9082 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225625.9105 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.9116 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225625.9120 gl2k9ef46jje72mm3h0j8bn8bl Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230508@225625.9129 gl2k9ef46jje72mm3h0j8bn8bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225625.9138 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225625.9149 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225625.9170 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645979007564597009df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597085506459700990' ,35.000000,0 ,2,23.00,80000,?,?,?,?,?,?,?,?,?)
20230508@225625.9428 gl2k9ef46jje72mm3h0j8bn8bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225625.9444 gl2k9ef46jje72mm3h0j8bn8bl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225625.9448 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645979007564597009df','aut64597085506459700990' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225625.9453 gl2k9ef46jje72mm3h0j8bn8bl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597085506459700990','119230000102','wait',39,'ari17112337378,753000005')
20230508@225625.9469 gl2k9ef46jje72mm3h0j8bn8bl Query : use flama_phc
20230508@225625.9472 gl2k9ef46jje72mm3h0j8bn8bl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225625.9483 gl2k9ef46jje72mm3h0j8bn8bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='244';
20230508@225625.9495 gl2k9ef46jje72mm3h0j8bn8bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='244';
20230508@225625.9506 gl2k9ef46jje72mm3h0j8bn8bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='244';
20230508@225625.9516 gl2k9ef46jje72mm3h0j8bn8bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='244';
20230508@225625.9874 r09u6c68fi82ahmphdb4taq10m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225625.9888 r09u6c68fi82ahmphdb4taq10m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225625.9902 r09u6c68fi82ahmphdb4taq10m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='245';
20230508@225625.9955 r09u6c68fi82ahmphdb4taq10m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='245';
20230508@225625.9967 r09u6c68fi82ahmphdb4taq10m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='245';
20230508@225625.9977 r09u6c68fi82ahmphdb4taq10m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='245';
20230508@225626.7500 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.8000 r09u6c68fi82ahmphdb4taq10m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225626.9600 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.9900 r09u6c68fi82ahmphdb4taq10m Query : select no, estab,szadrsdesc from szadrs where u_coddest=81
20230508@225626.1970 r09u6c68fi82ahmphdb4taq10m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230508@225626.2080 r09u6c68fi82ahmphdb4taq10m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000103 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230508@225626.7940 r09u6c68fi82ahmphdb4taq10m Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852457,8890000-2 ' 
20230508@225626.1229 r09u6c68fi82ahmphdb4taq10m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230508@225626.1273 r09u6c68fi82ahmphdb4taq10m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000103 and bi.ref ='304.421.00.04' and bi.lordem =30000
20230508@225626.1635 r09u6c68fi82ahmphdb4taq10m Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852457,9140000-3 ' 
20230508@225626.1975 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.1978 r09u6c68fi82ahmphdb4taq10m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225626.1991 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.1994 r09u6c68fi82ahmphdb4taq10m Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225626.2005 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.2008 r09u6c68fi82ahmphdb4taq10m Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225626.2018 r09u6c68fi82ahmphdb4taq10m 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
20230508@225626.2032 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.2035 r09u6c68fi82ahmphdb4taq10m Query : select top 1 ~inactivo valor from cl where no = '100003' and estab = 0 order by inactivo desc
20230508@225626.2136 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.2139 r09u6c68fi82ahmphdb4taq10m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225626.2151 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.2154 r09u6c68fi82ahmphdb4taq10m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225626.2164 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.2167 r09u6c68fi82ahmphdb4taq10m Query : select szadrsstamp valor from szadrs where szadrsdesc='abel santiago, lda.'
20230508@225626.2182 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.2185 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from td where ndoc = 39
20230508@225626.2196 r09u6c68fi82ahmphdb4taq10m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225626.2209 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225626.2223 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225626.2240 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225626.2253 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225626.2257 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225626.2269 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225626.2279 r09u6c68fi82ahmphdb4taq10m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225626.2319 r09u6c68fi82ahmphdb4taq10m Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225626.2328 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225626.2340 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225626.2350 r09u6c68fi82ahmphdb4taq10m Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597721386459700a37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225626.2522 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225626.2536 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225626.2541 r09u6c68fi82ahmphdb4taq10m Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597721386459700a37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225626.2546 r09u6c68fi82ahmphdb4taq10m Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225626.2558 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225626.2570 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225626.2586 r09u6c68fi82ahmphdb4taq10m 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 ,encomenda ) values ('aut64597721386459700a37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',145,100003,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225626.2937 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.2941 r09u6c68fi82ahmphdb4taq10m Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230508@225626.2953 r09u6c68fi82ahmphdb4taq10m 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.1824.00.1'
20230508@225626.2965 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.2978 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225626.3001 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.3013 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225626.3017 r09u6c68fi82ahmphdb4taq10m Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230508@225626.3026 r09u6c68fi82ahmphdb4taq10m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225626.3035 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.3048 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225626.3070 r09u6c68fi82ahmphdb4taq10m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597934966459700a4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut64597721386459700a37' ,54.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225626.3406 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.3422 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225626.3427 r09u6c68fi82ahmphdb4taq10m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597934966459700a4a','aut64597721386459700a37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225626.3434 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.3448 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225626.3473 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.3486 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225626.3491 r09u6c68fi82ahmphdb4taq10m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225626.3542 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.3594 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225626.3624 r09u6c68fi82ahmphdb4taq10m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597009666459700a56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597721386459700a37' ,0,0 ,2,23.00,20000,?,?,?)
20230508@225626.3905 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.3922 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225626.3928 r09u6c68fi82ahmphdb4taq10m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597009666459700a56','aut64597721386459700a37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225626.3934 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.3937 r09u6c68fi82ahmphdb4taq10m Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230508@225626.3951 r09u6c68fi82ahmphdb4taq10m 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.421.00.04'
20230508@225626.4510 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.4930 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225626.4956 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.4971 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225626.4976 r09u6c68fi82ahmphdb4taq10m Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230508@225626.4986 r09u6c68fi82ahmphdb4taq10m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225626.4995 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.5007 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225626.5029 r09u6c68fi82ahmphdb4taq10m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597001676459700a79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597721386459700a37' ,23.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@225626.5288 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.5303 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225626.5307 r09u6c68fi82ahmphdb4taq10m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597001676459700a79','aut64597721386459700a37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225626.5315 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.5328 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225626.5355 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.5367 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225626.5371 r09u6c68fi82ahmphdb4taq10m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225626.5380 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.5393 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225626.5415 r09u6c68fi82ahmphdb4taq10m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597174866459700a83',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597721386459700a37' ,0,0 ,2,23.00,50000,?,?,?)
20230508@225626.5666 r09u6c68fi82ahmphdb4taq10m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.5680 r09u6c68fi82ahmphdb4taq10m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225626.5685 r09u6c68fi82ahmphdb4taq10m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597174866459700a83','aut64597721386459700a37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225626.5689 r09u6c68fi82ahmphdb4taq10m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597721386459700a37','119230000103','wait',39,'ari17112337378,753000005')
20230508@225626.5707 r09u6c68fi82ahmphdb4taq10m Query : use flama_phc
20230508@225626.5710 r09u6c68fi82ahmphdb4taq10m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225626.5722 r09u6c68fi82ahmphdb4taq10m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='245';
20230508@225626.5735 r09u6c68fi82ahmphdb4taq10m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='245';
20230508@225626.5746 r09u6c68fi82ahmphdb4taq10m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='245';
20230508@225626.5757 r09u6c68fi82ahmphdb4taq10m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='245';
20230508@225626.6221 5p02g1n79rij0a4opn3ljpri0h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225626.6233 5p02g1n79rij0a4opn3ljpri0h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225626.6248 5p02g1n79rij0a4opn3ljpri0h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='246';
20230508@225626.6287 5p02g1n79rij0a4opn3ljpri0h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='246';
20230508@225626.6303 5p02g1n79rij0a4opn3ljpri0h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='246';
20230508@225626.6317 5p02g1n79rij0a4opn3ljpri0h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='246';
20230508@225626.6328 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.6332 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225626.6345 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.6348 5p02g1n79rij0a4opn3ljpri0h Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20230508@225626.6433 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20230508@225626.6444 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000105 and bi.ref ='327.8261.00.1' and bi.lordem =20000
20230508@225626.6797 5p02g1n79rij0a4opn3ljpri0h Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852518,2400000-2 ' 
20230508@225626.7117 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.7121 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225626.7135 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.7138 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225626.7150 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.7153 5p02g1n79rij0a4opn3ljpri0h Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225626.7166 5p02g1n79rij0a4opn3ljpri0h 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
20230508@225626.7182 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.7185 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230508@225626.7280 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.7284 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225626.7296 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.7299 5p02g1n79rij0a4opn3ljpri0h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225626.7312 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.7315 5p02g1n79rij0a4opn3ljpri0h Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20230508@225626.7330 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.7333 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from td where ndoc = 39
20230508@225626.7345 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225626.7375 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225626.7651 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225626.7709 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225626.7725 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225626.7730 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225626.7745 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225626.7756 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225626.7798 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225626.7808 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225626.7820 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225626.7830 5p02g1n79rij0a4opn3ljpri0h Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597879356459700abd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225626.8001 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225626.8014 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225626.8019 5p02g1n79rij0a4opn3ljpri0h Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597879356459700abd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225626.8023 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225626.8035 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225626.8048 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225626.8064 5p02g1n79rij0a4opn3ljpri0h 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 ,encomenda ) values ('aut64597879356459700abd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',146,101621,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225626.8348 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.8352 5p02g1n79rij0a4opn3ljpri0h Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20230508@225626.8364 5p02g1n79rij0a4opn3ljpri0h 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 = '327.8261.00.1'
20230508@225626.8375 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.8388 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225626.8412 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.8425 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225626.8429 5p02g1n79rij0a4opn3ljpri0h Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2200713200a'
20230508@225626.8438 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225626.8449 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.8461 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225626.8800 5p02g1n79rij0a4opn3ljpri0h Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597097246459700ace',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut64597879356459700abd' ,288.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225626.9092 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.9108 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225626.9112 5p02g1n79rij0a4opn3ljpri0h Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597097246459700ace','aut64597879356459700abd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225626.9117 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.9130 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225626.9154 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.9166 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225626.9170 5p02g1n79rij0a4opn3ljpri0h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225626.9179 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225626.9191 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225626.9215 5p02g1n79rij0a4opn3ljpri0h Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597324336459700ae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597879356459700abd' ,0,0 ,2,23.00,20000,?,?,?)
20230508@225626.9474 5p02g1n79rij0a4opn3ljpri0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225626.9489 5p02g1n79rij0a4opn3ljpri0h Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225626.9493 5p02g1n79rij0a4opn3ljpri0h Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597324336459700ae0','aut64597879356459700abd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225626.9497 5p02g1n79rij0a4opn3ljpri0h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597879356459700abd','119230000105','wait',39,'ari17112337378,753000005')
20230508@225626.9515 5p02g1n79rij0a4opn3ljpri0h Query : use flama_phc
20230508@225626.9519 5p02g1n79rij0a4opn3ljpri0h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225626.9530 5p02g1n79rij0a4opn3ljpri0h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='246';
20230508@225626.9543 5p02g1n79rij0a4opn3ljpri0h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='246';
20230508@225626.9553 5p02g1n79rij0a4opn3ljpri0h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='246';
20230508@225626.9564 5p02g1n79rij0a4opn3ljpri0h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='246';
20230508@225627.7700 c2elarg36pjkdk3bmi020eaehp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225627.9000 c2elarg36pjkdk3bmi020eaehp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225627.1050 c2elarg36pjkdk3bmi020eaehp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='247';
20230508@225627.1490 c2elarg36pjkdk3bmi020eaehp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='247';
20230508@225627.1610 c2elarg36pjkdk3bmi020eaehp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='247';
20230508@225627.1730 c2elarg36pjkdk3bmi020eaehp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='247';
20230508@225627.1830 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1860 c2elarg36pjkdk3bmi020eaehp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225627.1990 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.2020 c2elarg36pjkdk3bmi020eaehp Query : select no, estab,szadrsdesc from szadrs where u_coddest=1499
20230508@225627.3500 c2elarg36pjkdk3bmi020eaehp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20230508@225627.3610 c2elarg36pjkdk3bmi020eaehp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000106 and bi.ref ='327.8261.00.1' and bi.lordem =20000
20230508@225627.6820 c2elarg36pjkdk3bmi020eaehp Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852557,6510000-2 ' 
20230508@225627.9990 c2elarg36pjkdk3bmi020eaehp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20230508@225627.1010 c2elarg36pjkdk3bmi020eaehp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000106 and bi.ref ='327.8261.00.1' and bi.lordem =20000
20230508@225627.1021 c2elarg36pjkdk3bmi020eaehp Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852557,6510000-2 ' 
20230508@225627.1030 c2elarg36pjkdk3bmi020eaehp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20230508@225627.1039 c2elarg36pjkdk3bmi020eaehp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000106 and bi.ref ='327.8261.00.1' and bi.lordem =20000
20230508@225627.1050 c2elarg36pjkdk3bmi020eaehp Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852557,6510000-2 ' 
20230508@225627.1059 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1062 c2elarg36pjkdk3bmi020eaehp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225627.1074 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1076 c2elarg36pjkdk3bmi020eaehp Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225627.1086 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1089 c2elarg36pjkdk3bmi020eaehp Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225627.1100 c2elarg36pjkdk3bmi020eaehp 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
20230508@225627.1113 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1116 c2elarg36pjkdk3bmi020eaehp Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230508@225627.1125 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1128 c2elarg36pjkdk3bmi020eaehp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225627.1138 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1141 c2elarg36pjkdk3bmi020eaehp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225627.1150 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1154 c2elarg36pjkdk3bmi020eaehp Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - ponte'
20230508@225627.1166 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1169 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from td where ndoc = 39
20230508@225627.1178 c2elarg36pjkdk3bmi020eaehp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225627.1188 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225627.1202 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225627.1219 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225627.1232 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225627.1236 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225627.1249 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225627.1259 c2elarg36pjkdk3bmi020eaehp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225627.1299 c2elarg36pjkdk3bmi020eaehp Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225627.1308 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225627.1320 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225627.1329 c2elarg36pjkdk3bmi020eaehp Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597032876459700b1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225627.1501 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225627.1516 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225627.1521 c2elarg36pjkdk3bmi020eaehp Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597032876459700b1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.1526 c2elarg36pjkdk3bmi020eaehp Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225627.1541 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225627.1555 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225627.1572 c2elarg36pjkdk3bmi020eaehp 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 ,encomenda ) values ('aut64597032876459700b1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',147,101621,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225627.1922 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.1926 c2elarg36pjkdk3bmi020eaehp Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20230508@225627.1938 c2elarg36pjkdk3bmi020eaehp 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 = '327.8261.00.1'
20230508@225627.1950 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.1964 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225627.2067 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.2081 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225627.2085 c2elarg36pjkdk3bmi020eaehp Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2200712100a'
20230508@225627.2097 c2elarg36pjkdk3bmi020eaehp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225627.2106 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.2119 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225627.2141 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597076956459700b33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597032876459700b1e' ,288.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225627.2392 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.2407 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225627.2411 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597076956459700b33','aut64597032876459700b1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.2416 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.2428 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225627.2451 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.2462 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225627.2467 c2elarg36pjkdk3bmi020eaehp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225627.2475 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.2487 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225627.2508 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597971856459700b3c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597032876459700b1e' ,0,0 ,2,23.00,20000,?,?,?)
20230508@225627.2765 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.2780 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225627.2784 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597971856459700b3c','aut64597032876459700b1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.2788 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.2794 c2elarg36pjkdk3bmi020eaehp Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20230508@225627.2805 c2elarg36pjkdk3bmi020eaehp 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 = '327.8261.00.1'
20230508@225627.2816 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.2829 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225627.2852 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.2864 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225627.2868 c2elarg36pjkdk3bmi020eaehp Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2200712100a'
20230508@225627.2878 c2elarg36pjkdk3bmi020eaehp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225627.2886 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.2900 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225627.2923 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597311216459700b46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597032876459700b1e' ,288.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@225627.3187 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.3204 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225627.3209 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597311216459700b46','aut64597032876459700b1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.3214 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.3226 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225627.3250 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.3262 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225627.3266 c2elarg36pjkdk3bmi020eaehp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225627.3277 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.3290 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225627.3313 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597055546459700b50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597032876459700b1e' ,0,0 ,2,23.00,50000,?,?,?)
20230508@225627.3559 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.3574 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225627.3578 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597055546459700b50','aut64597032876459700b1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.3582 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.3585 c2elarg36pjkdk3bmi020eaehp Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20230508@225627.3596 c2elarg36pjkdk3bmi020eaehp 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 = '327.8261.00.1'
20230508@225627.3607 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.3619 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225627.3642 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.3654 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225627.3658 c2elarg36pjkdk3bmi020eaehp Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2200712100a'
20230508@225627.3668 c2elarg36pjkdk3bmi020eaehp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225627.3677 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.3688 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225627.3711 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597426146459700b59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut64597032876459700b1e' ,288.000000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230508@225627.3953 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.3968 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225627.3972 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597426146459700b59','aut64597032876459700b1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.3977 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.3991 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225627.4015 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.4027 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225627.4031 c2elarg36pjkdk3bmi020eaehp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225627.4041 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.4052 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225627.4075 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597437006459700b62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597032876459700b1e' ,0,0 ,2,23.00,80000,?,?,?)
20230508@225627.4526 c2elarg36pjkdk3bmi020eaehp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.5339 c2elarg36pjkdk3bmi020eaehp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225627.5344 c2elarg36pjkdk3bmi020eaehp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597437006459700b62','aut64597032876459700b1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.5350 c2elarg36pjkdk3bmi020eaehp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597032876459700b1e','119230000106','wait',39,'ari17112337378,753000005')
20230508@225627.5367 c2elarg36pjkdk3bmi020eaehp Query : use flama_phc
20230508@225627.5371 c2elarg36pjkdk3bmi020eaehp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225627.5383 c2elarg36pjkdk3bmi020eaehp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='247';
20230508@225627.5461 c2elarg36pjkdk3bmi020eaehp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='247';
20230508@225627.5514 c2elarg36pjkdk3bmi020eaehp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='247';
20230508@225627.5986 c2elarg36pjkdk3bmi020eaehp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='247';
20230508@225627.6345 tc1bd01q3h5db8nkiuj92suej0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225627.6360 tc1bd01q3h5db8nkiuj92suej0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225627.6377 tc1bd01q3h5db8nkiuj92suej0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='248';
20230508@225627.6417 tc1bd01q3h5db8nkiuj92suej0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='248';
20230508@225627.6429 tc1bd01q3h5db8nkiuj92suej0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='248';
20230508@225627.6440 tc1bd01q3h5db8nkiuj92suej0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='248';
20230508@225627.6452 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.6455 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225627.6466 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.6469 tc1bd01q3h5db8nkiuj92suej0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=908
20230508@225627.6542 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20230508@225627.6554 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000108 and bi.ref ='327.8261.00.1' and bi.lordem =20000
20230508@225627.6895 tc1bd01q3h5db8nkiuj92suej0 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852658,9290000-2 ' 
20230508@225627.7511 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.7515 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225627.7528 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.7531 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225627.7542 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.7545 tc1bd01q3h5db8nkiuj92suej0 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225627.7555 tc1bd01q3h5db8nkiuj92suej0 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
20230508@225627.7569 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.7572 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230508@225627.7581 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.7584 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225627.7594 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.7597 tc1bd01q3h5db8nkiuj92suej0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225627.7607 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.7610 tc1bd01q3h5db8nkiuj92suej0 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda-aveiro'
20230508@225627.7624 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.7627 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from td where ndoc = 39
20230508@225627.7636 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225627.7649 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225627.7662 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225627.7679 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225627.7692 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225627.7697 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225627.7709 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225627.7719 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225627.7759 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225627.7809 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225627.7898 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225627.7907 tc1bd01q3h5db8nkiuj92suej0 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597693916459700bbc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225627.8073 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225627.8087 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225627.8092 tc1bd01q3h5db8nkiuj92suej0 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597693916459700bbc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.8097 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225627.8109 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225627.8122 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225627.8140 tc1bd01q3h5db8nkiuj92suej0 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 ,encomenda ) values ('aut64597693916459700bbc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',148,101621,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225627.8414 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.8419 tc1bd01q3h5db8nkiuj92suej0 Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20230508@225627.8430 tc1bd01q3h5db8nkiuj92suej0 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 = '327.8261.00.1'
20230508@225627.8441 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.8455 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225627.8476 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.8489 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225627.8494 tc1bd01q3h5db8nkiuj92suej0 Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2200712100a'
20230508@225627.8503 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225627.8512 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.8524 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225627.8545 tc1bd01q3h5db8nkiuj92suej0 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597504346459700bcf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut64597693916459700bbc' ,288.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225627.8874 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.9289 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225627.9294 tc1bd01q3h5db8nkiuj92suej0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597504346459700bcf','aut64597693916459700bbc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.9300 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.9313 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225627.9334 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.9346 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225627.9350 tc1bd01q3h5db8nkiuj92suej0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225627.9360 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225627.9372 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225627.9395 tc1bd01q3h5db8nkiuj92suej0 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597091476459700be4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597693916459700bbc' ,0,0 ,2,23.00,20000,?,?,?)
20230508@225627.9785 tc1bd01q3h5db8nkiuj92suej0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225627.9801 tc1bd01q3h5db8nkiuj92suej0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225627.9805 tc1bd01q3h5db8nkiuj92suej0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597091476459700be4','aut64597693916459700bbc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225627.9810 tc1bd01q3h5db8nkiuj92suej0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597693916459700bbc','119230000108','wait',39,'ari17112337378,753000005')
20230508@225627.9828 tc1bd01q3h5db8nkiuj92suej0 Query : use flama_phc
20230508@225627.9832 tc1bd01q3h5db8nkiuj92suej0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225627.9844 tc1bd01q3h5db8nkiuj92suej0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='248';
20230508@225627.9857 tc1bd01q3h5db8nkiuj92suej0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='248';
20230508@225627.9869 tc1bd01q3h5db8nkiuj92suej0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='248';
20230508@225627.9881 tc1bd01q3h5db8nkiuj92suej0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='248';
20230508@225628.2460 m1cqq269nmvi2ih4d4t8394od7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225628.2600 m1cqq269nmvi2ih4d4t8394od7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225628.2760 m1cqq269nmvi2ih4d4t8394od7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='249';
20230508@225628.3190 m1cqq269nmvi2ih4d4t8394od7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='249';
20230508@225628.3320 m1cqq269nmvi2ih4d4t8394od7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='249';
20230508@225628.3430 m1cqq269nmvi2ih4d4t8394od7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='249';
20230508@225628.3530 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.3560 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225628.3690 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.3720 m1cqq269nmvi2ih4d4t8394od7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4197
20230508@225628.4420 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20230508@225628.5720 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000109 and bi.ref ='324.736.00.01' and bi.lordem =20000
20230508@225628.8770 m1cqq269nmvi2ih4d4t8394od7 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852661,2440000-2 ' 
20230508@225628.1187 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1613.00.1'
20230508@225628.1313 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000109 and bi.ref ='324.1613.00.1' and bi.lordem =30000
20230508@225628.1640 m1cqq269nmvi2ih4d4t8394od7 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050852661,2740000-3 ' 
20230508@225628.2095 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.2099 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225628.2112 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.2115 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225628.2125 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.2127 m1cqq269nmvi2ih4d4t8394od7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225628.2138 m1cqq269nmvi2ih4d4t8394od7 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
20230508@225628.2151 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.2154 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 ~inactivo valor from cl where no = '102085' and estab = 0 order by inactivo desc
20230508@225628.2244 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.2247 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225628.2258 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.2261 m1cqq269nmvi2ih4d4t8394od7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225628.2272 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.2274 m1cqq269nmvi2ih4d4t8394od7 Query : select szadrsstamp valor from szadrs where szadrsdesc='montilectica 2'
20230508@225628.2287 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.2290 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from td where ndoc = 39
20230508@225628.2300 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225628.2312 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225628.2325 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225628.2342 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225628.2355 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225628.2359 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225628.2372 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225628.2382 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225628.2423 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225628.2432 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225628.2445 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225628.2456 m1cqq269nmvi2ih4d4t8394od7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597397496459700c3a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225628.2618 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225628.2633 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225628.2638 m1cqq269nmvi2ih4d4t8394od7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597397496459700c3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225628.2645 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225628.2660 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225628.2678 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225628.2697 m1cqq269nmvi2ih4d4t8394od7 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 ,encomenda ) values ('aut64597397496459700c3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',149,102085,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225628.3002 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.3007 m1cqq269nmvi2ih4d4t8394od7 Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20230508@225628.3020 m1cqq269nmvi2ih4d4t8394od7 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.736.00.01'
20230508@225628.3662 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225628.3676 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225628.3699 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225628.3712 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225628.3716 m1cqq269nmvi2ih4d4t8394od7 Query : select sestamp valor from se where ref ='324.736.00.01' and lote = '12/20'
20230508@225628.3734 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225628.3745 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225628.3757 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225628.3782 m1cqq269nmvi2ih4d4t8394od7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597709076459700c5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut64597397496459700c3a' ,23.700000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225628.4163 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225628.4178 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225628.4183 m1cqq269nmvi2ih4d4t8394od7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597709076459700c5b','aut64597397496459700c3a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225628.4188 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.4191 m1cqq269nmvi2ih4d4t8394od7 Query : select st.usalote valor from st where st.ref = '324.1613.00.1'
20230508@225628.4203 m1cqq269nmvi2ih4d4t8394od7 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.1613.00.1'
20230508@225628.4333 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225628.4348 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225628.4375 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225628.4390 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225628.4396 m1cqq269nmvi2ih4d4t8394od7 Query : select sestamp valor from se where ref ='324.1613.00.1' and lote = 'r2100539100a'
20230508@225628.4416 m1cqq269nmvi2ih4d4t8394od7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225628.4429 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225628.4447 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225628.4475 m1cqq269nmvi2ih4d4t8394od7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597370506459700c6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut64597397496459700c3a' ,41.600000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230508@225628.4732 m1cqq269nmvi2ih4d4t8394od7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225628.4749 m1cqq269nmvi2ih4d4t8394od7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225628.4755 m1cqq269nmvi2ih4d4t8394od7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597370506459700c6c','aut64597397496459700c3a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225628.4760 m1cqq269nmvi2ih4d4t8394od7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597397496459700c3a','119230000109','wait',39,'ari17112337378,753000005')
20230508@225628.4779 m1cqq269nmvi2ih4d4t8394od7 Query : use flama_phc
20230508@225628.4782 m1cqq269nmvi2ih4d4t8394od7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225628.4794 m1cqq269nmvi2ih4d4t8394od7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='249';
20230508@225628.4808 m1cqq269nmvi2ih4d4t8394od7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='249';
20230508@225628.4819 m1cqq269nmvi2ih4d4t8394od7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='249';
20230508@225628.4831 m1cqq269nmvi2ih4d4t8394od7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='249';
20230508@225628.5227 mscn6btljn8qvl3g0gn3gg6sif Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225628.5240 mscn6btljn8qvl3g0gn3gg6sif Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225628.5255 mscn6btljn8qvl3g0gn3gg6sif Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='250';
20230508@225628.5295 mscn6btljn8qvl3g0gn3gg6sif Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='250';
20230508@225628.5309 mscn6btljn8qvl3g0gn3gg6sif Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='250';
20230508@225628.5321 mscn6btljn8qvl3g0gn3gg6sif Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='250';
20230508@225628.5333 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.5336 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225628.5348 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.5352 mscn6btljn8qvl3g0gn3gg6sif Query : select no, estab,szadrsdesc from szadrs where u_coddest=912
20230508@225628.5423 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20230508@225628.5434 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000110 and bi.ref ='324.1884.00.1' and bi.lordem =20000
20230508@225628.5751 mscn6btljn8qvl3g0gn3gg6sif Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853060,3440000-2 ' 
20230508@225628.6970 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20230508@225628.7101 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000110 and bi.ref ='323.367.09.00' and bi.lordem =30000
20230508@225628.7423 mscn6btljn8qvl3g0gn3gg6sif Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853060,3750000-3 ' 
20230508@225628.7758 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230508@225628.7769 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000110 and bi.ref ='324.1816.00.1' and bi.lordem =40000
20230508@225628.8075 mscn6btljn8qvl3g0gn3gg6sif Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853060,4050000-4 ' 
20230508@225628.8383 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.8387 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225628.8400 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.8404 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225628.8414 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.8417 mscn6btljn8qvl3g0gn3gg6sif Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225628.8430 mscn6btljn8qvl3g0gn3gg6sif 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
20230508@225628.8444 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.8447 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 ~inactivo valor from cl where no = '101907' and estab = 0 order by inactivo desc
20230508@225628.8540 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.8543 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225628.8553 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.8556 mscn6btljn8qvl3g0gn3gg6sif Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225628.8566 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.8569 mscn6btljn8qvl3g0gn3gg6sif Query : select szadrsstamp valor from szadrs where szadrsdesc='elias da silva simÃo'
20230508@225628.8583 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.8586 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from td where ndoc = 39
20230508@225628.8597 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225628.8610 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225628.8623 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225628.8641 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225628.8653 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225628.8658 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225628.8671 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225628.8682 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225628.8724 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225628.8734 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225628.8749 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225628.8761 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597658596459700cd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225628.8947 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225628.8965 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225628.8969 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597658596459700cd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225628.8974 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225628.8988 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225628.9000 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225628.9018 mscn6btljn8qvl3g0gn3gg6sif 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 ,encomenda ) values ('aut64597658596459700cd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',150,101907,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225628.9297 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225628.9301 mscn6btljn8qvl3g0gn3gg6sif Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20230508@225628.9313 mscn6btljn8qvl3g0gn3gg6sif 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.1884.00.1'
20230508@225628.9325 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225628.9338 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225628.9364 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225628.9377 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225628.9381 mscn6btljn8qvl3g0gn3gg6sif Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2101190100a'
20230508@225628.9391 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225628.9401 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225628.9413 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225628.9437 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597869676459700ce5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut64597658596459700cd3' ,62.300000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225628.9694 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225628.9708 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225628.9712 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597869676459700ce5','aut64597658596459700cd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225628.9717 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225628.9731 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225628.9755 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225628.9767 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225628.9771 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225628.9780 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225628.9793 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225628.9818 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597394146459700cee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597658596459700cd3' ,0,0 ,2,23.00,20000,?,?,?)
20230508@225629.3980 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.6510 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225629.6560 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597394146459700cee','aut64597658596459700cd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225629.6620 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225629.6650 mscn6btljn8qvl3g0gn3gg6sif Query : select st.usalote valor from st where st.ref = '323.367.09.00'
20230508@225629.6760 mscn6btljn8qvl3g0gn3gg6sif 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 = '323.367.09.00'
20230508@225629.8110 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225629.8240 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225629.8470 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.8610 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225629.8650 mscn6btljn8qvl3g0gn3gg6sif Query : select sestamp valor from se where ref ='323.367.09.00' and lote = 'r2100870100a'
20230508@225629.8760 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225629.8850 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225629.8980 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225629.9210 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597939506459700d15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut64597658596459700cd3' ,140.800000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230508@225629.1184 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.1201 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225629.1205 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597939506459700d15','aut64597658596459700cd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225629.1210 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225629.1213 mscn6btljn8qvl3g0gn3gg6sif Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230508@225629.1224 mscn6btljn8qvl3g0gn3gg6sif 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.1816.00.1'
20230508@225629.1236 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225629.1250 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225629.1276 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.1289 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225629.1293 mscn6btljn8qvl3g0gn3gg6sif Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230508@225629.1303 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225629.1313 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225629.1325 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225629.1348 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597219356459700d20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut64597658596459700cd3' ,52.500000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230508@225629.1619 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.1634 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225629.1639 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597219356459700d20','aut64597658596459700cd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225629.1644 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225629.1657 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225629.1681 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.1694 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225629.1698 mscn6btljn8qvl3g0gn3gg6sif Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225629.1708 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225629.1720 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225629.1744 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64597753896459700d29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64597658596459700cd3' ,0,0 ,2,23.00,60000,?,?,?)
20230508@225629.2002 mscn6btljn8qvl3g0gn3gg6sif Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.2017 mscn6btljn8qvl3g0gn3gg6sif Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225629.2022 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597753896459700d29','aut64597658596459700cd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225629.2026 mscn6btljn8qvl3g0gn3gg6sif Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597658596459700cd3','119230000110','wait',39,'ari17112337378,753000005')
20230508@225629.2042 mscn6btljn8qvl3g0gn3gg6sif Query : use flama_phc
20230508@225629.2045 mscn6btljn8qvl3g0gn3gg6sif Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225629.2058 mscn6btljn8qvl3g0gn3gg6sif Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='250';
20230508@225629.2070 mscn6btljn8qvl3g0gn3gg6sif Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='250';
20230508@225629.2082 mscn6btljn8qvl3g0gn3gg6sif Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='250';
20230508@225629.2093 mscn6btljn8qvl3g0gn3gg6sif Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='250';
20230508@225629.2422 bidqo5ueuflu36htann6fdnofh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230508@225629.3395 bidqo5ueuflu36htann6fdnofh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230508@225629.3413 bidqo5ueuflu36htann6fdnofh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='251';
20230508@225629.3454 bidqo5ueuflu36htann6fdnofh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='251';
20230508@225629.3466 bidqo5ueuflu36htann6fdnofh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='251';
20230508@225629.3479 bidqo5ueuflu36htann6fdnofh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='251';
20230508@225629.3490 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.3493 bidqo5ueuflu36htann6fdnofh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230508@225629.3507 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.3510 bidqo5ueuflu36htann6fdnofh Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20230508@225629.3546 bidqo5ueuflu36htann6fdnofh 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'
20230508@225629.3557 bidqo5ueuflu36htann6fdnofh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000112 and bi.ref ='304.4320.00.1' and bi.lordem =20000
20230508@225629.3865 bidqo5ueuflu36htann6fdnofh Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853314,4680000-2 ' 
20230508@225629.4204 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4207 bidqo5ueuflu36htann6fdnofh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230508@225629.4221 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4224 bidqo5ueuflu36htann6fdnofh Query : select top 1 1 valor from td where td.ndoc = 39
20230508@225629.4234 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4237 bidqo5ueuflu36htann6fdnofh Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230508@225629.4247 bidqo5ueuflu36htann6fdnofh 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
20230508@225629.4262 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4265 bidqo5ueuflu36htann6fdnofh Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20230508@225629.4275 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4278 bidqo5ueuflu36htann6fdnofh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230508@225629.4288 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4291 bidqo5ueuflu36htann6fdnofh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230508@225629.4301 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4304 bidqo5ueuflu36htann6fdnofh Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20230508@225629.4316 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4319 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from td where ndoc = 39
20230508@225629.4329 bidqo5ueuflu36htann6fdnofh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230508@225629.4340 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225629.4354 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230508@225629.4371 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225629.4384 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230508@225629.4389 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225629.4401 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230508@225629.4411 bidqo5ueuflu36htann6fdnofh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225629.4452 bidqo5ueuflu36htann6fdnofh Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230508@225629.4462 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230508@225629.4474 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230508@225629.4483 bidqo5ueuflu36htann6fdnofh Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut64597579716459700d6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230508@225629.4654 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230508@225629.4669 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230508@225629.4674 bidqo5ueuflu36htann6fdnofh Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597579716459700d6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225629.4679 bidqo5ueuflu36htann6fdnofh Query : select top 1 fno valor from wsft039data order by fno desc
20230508@225629.4691 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230508@225629.4704 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230508@225629.4723 bidqo5ueuflu36htann6fdnofh 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 ,encomenda ) values ('aut64597579716459700d6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',151,100327,0,'2023-05-08',39,'euro',0,0,2023 ,'20230508','2326',?,?,?,?,?)
20230508@225629.4990 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.4993 bidqo5ueuflu36htann6fdnofh Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230508@225629.5004 bidqo5ueuflu36htann6fdnofh 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'
20230508@225629.5016 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225629.5029 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230508@225629.5052 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.5065 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230508@225629.5070 bidqo5ueuflu36htann6fdnofh Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230508@225629.5079 bidqo5ueuflu36htann6fdnofh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230508@225629.5089 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230508@225629.5101 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230508@225629.5127 bidqo5ueuflu36htann6fdnofh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut64597314016459700d7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut64597579716459700d6b' ,25.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230508@225629.5399 bidqo5ueuflu36htann6fdnofh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230508@225629.5416 bidqo5ueuflu36htann6fdnofh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230508@225629.5421 bidqo5ueuflu36htann6fdnofh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64597314016459700d7c','aut64597579716459700d6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230508@225629.5426 bidqo5ueuflu36htann6fdnofh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64597579716459700d6b','119230000112','wait',39,'ari17112337378,753000005')
20230508@225629.5447 bidqo5ueuflu36htann6fdnofh Query : use flama_phc
20230508@225629.5450 bidqo5ueuflu36htann6fdnofh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230508@225629.5465 bidqo5ueuflu36htann6fdnofh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='251';
20230508@225629.5479 bidqo5ueuflu36htann6fdnofh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='251';
20230508@225629.5493 bidqo5ueuflu36htann6fdnofh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='251';
20230508@225629.5509 bidqo5ueuflu36htann6fdnofh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='251';

20230509@105118.4158 22nv1gm2qchqrhro61gt5a6s1l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='252';
20230509@105118.4185 22nv1gm2qchqrhro61gt5a6s1l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='252';
20230509@105118.4198 22nv1gm2qchqrhro61gt5a6s1l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='252';
20230509@105118.4211 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105118.4214 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230509@105118.4260 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105118.4263 22nv1gm2qchqrhro61gt5a6s1l Query : select no, estab,szadrsdesc from szadrs where u_coddest=1540
20230509@105118.4339 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230509@105118.4825 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.2212.00.1' and bi.lordem =20000
20230509@105118.5479 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,2380000-2 ' 
20230509@105118.5802 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20230509@105118.5918 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.1406.00.1' and bi.lordem =30000
20230509@105118.6219 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,2620000-3 ' 
20230509@105118.6525 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.1'
20230509@105118.6656 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.1642.00.1' and bi.lordem =40000
20230509@105118.7558 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,2840000-4 ' 
20230509@105118.8692 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20230509@105118.8822 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.1706.00.1' and bi.lordem =50000
20230509@105118.9124 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,3070000-5 ' 
20230509@105118.9441 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20230509@105118.9558 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.4421.00.1' and bi.lordem =60000
20230509@105118.9851 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,3310000-6 ' 
20230509@105119.1610 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20230509@105119.2810 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.4585.00.1' and bi.lordem =70000
20230509@105119.7640 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,3530000-7 ' 
20230509@105119.1280 22nv1gm2qchqrhro61gt5a6s1l 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'
20230509@105119.1403 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.4743.00.1' and bi.lordem =100000
20230509@105119.1836 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,421000-10 ' 
20230509@105119.2156 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20230509@105119.2279 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.1716.00.1' and bi.lordem =110000
20230509@105119.2641 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,444000-11 ' 
20230509@105119.3039 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20230509@105119.3228 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.1705.00.1' and bi.lordem =130000
20230509@105119.4332 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,488000-13 ' 
20230509@105119.4826 22nv1gm2qchqrhro61gt5a6s1l 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'
20230509@105119.4948 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='304.4860.00.1' and bi.lordem =140000
20230509@105119.5398 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,514000-14 ' 
20230509@105119.5762 22nv1gm2qchqrhro61gt5a6s1l 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'
20230509@105119.5962 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.4161.00.1' and bi.lordem =150000
20230509@105119.6452 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,537000-15 ' 
20230509@105119.6768 22nv1gm2qchqrhro61gt5a6s1l 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'
20230509@105119.6887 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000113 and bi.ref ='324.4840.00.1' and bi.lordem =160000
20230509@105119.7219 22nv1gm2qchqrhro61gt5a6s1l Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23050853910,559000-16 ' 
20230509@105119.7559 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105119.7562 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230509@105119.7733 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105119.7736 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 1 valor from td where td.ndoc = 39
20230509@105119.7797 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105119.7800 22nv1gm2qchqrhro61gt5a6s1l Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230509@105119.7839 22nv1gm2qchqrhro61gt5a6s1l 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
20230509@105119.7937 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105119.7941 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 ~inactivo valor from cl where no = '100404' and estab = 0 order by inactivo desc
20230509@105119.8100 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105119.8104 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230509@105119.8168 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105119.8171 22nv1gm2qchqrhro61gt5a6s1l Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230509@105119.8213 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105119.8216 22nv1gm2qchqrhro61gt5a6s1l Query : select szadrsstamp valor from szadrs where szadrsdesc='worten angra do heroismo'
20230509@105119.8231 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105119.8233 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from td where ndoc = 39
20230509@105119.8291 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230509@105119.8341 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230509@105119.8662 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230509@105119.8735 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230509@105119.9035 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230509@105119.9062 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230509@105119.9375 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230509@105119.9419 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230509@105119.9595 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230509@105119.9817 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230509@105119.9831 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230509@105119.9860 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645a119005645a1797e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230509@105120.5970 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230509@105120.6150 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230509@105120.6400 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645a119005645a1797e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230509@105120.1208 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 fno valor from wsft039data order by fno desc
20230509@105120.1263 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230509@105120.1314 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230509@105120.1355 22nv1gm2qchqrhro61gt5a6s1l 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 ,encomenda ) values ('aut645a119005645a1797e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',152,100404,0,'2023-05-09',39,'euro',0,0,2023 ,'20230509','1121',?,?,?,?,?)
20230509@105120.2737 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105120.2742 22nv1gm2qchqrhro61gt5a6s1l Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230509@105120.2996 22nv1gm2qchqrhro61gt5a6s1l 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.2212.00.1'
20230509@105120.3127 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230509@105120.3402 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230509@105120.3464 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230509@105120.3730 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230509@105120.3754 22nv1gm2qchqrhro61gt5a6s1l Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230509@105120.3816 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230509@105120.3851 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230509@105120.3865 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230509@105120.3908 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645a106464645a17985e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645a119005645a1797e5' ,29.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230509@105120.4851 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230509@105120.4867 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230509@105120.4957 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645a106464645a17985e','aut645a119005645a1797e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230509@105120.5226 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105120.5230 22nv1gm2qchqrhro61gt5a6s1l Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20230509@105120.5242 22nv1gm2qchqrhro61gt5a6s1l 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.1406.00.1'
20230509@105120.5391 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230509@105120.5405 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230509@105120.5431 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230509@105120.5444 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230509@105120.5448 22nv1gm2qchqrhro61gt5a6s1l Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '0720'
20230509@105120.5461 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230509@105120.5471 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230509@105120.5484 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230509@105120.5510 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645a113629645a179885',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut645a119005645a1797e5' ,20.300000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230509@105120.5737 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230509@105120.5751 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230509@105120.5755 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645a113629645a179885','aut645a119005645a1797e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230509@105120.5759 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105120.5763 22nv1gm2qchqrhro61gt5a6s1l Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230509@105120.5774 22nv1gm2qchqrhro61gt5a6s1l 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.1642.00.1'
20230509@105120.5902 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230509@105120.5916 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230509@105120.5939 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230509@105120.5953 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230509@105120.5957 22nv1gm2qchqrhro61gt5a6s1l Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230509@105120.5969 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230509@105120.5979 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230509@105120.5991 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230509@105120.6016 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645a191861645a179891',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut645a119005645a1797e5' ,81.200000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230509@105120.6262 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230509@105120.6277 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230509@105120.6281 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645a191861645a179891','aut645a119005645a1797e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230509@105120.6286 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105120.6289 22nv1gm2qchqrhro61gt5a6s1l Query : select st.usalote valor from st where st.ref = '324.1706.00.1'
20230509@105120.6300 22nv1gm2qchqrhro61gt5a6s1l 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.1706.00.1'
20230509@105120.6426 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230509@105120.6439 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230509@105120.6461 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230509@105120.6474 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230509@105120.6478 22nv1gm2qchqrhro61gt5a6s1l Query : select sestamp valor from se where ref ='324.1706.00.1' and lote = 'r2100123100b'
20230509@105120.6488 22nv1gm2qchqrhro61gt5a6s1l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230509@105120.6497 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230509@105120.6514 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230509@105120.6538 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645a164796645a17989e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645a119005645a1797e5' ,34.800000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230509@105120.6776 22nv1gm2qchqrhro61gt5a6s1l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230509@105120.6791 22nv1gm2qchqrhro61gt5a6s1l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230509@105120.6796 22nv1gm2qchqrhro61gt5a6s1l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645a164796645a17989e','aut645a119005645a1797e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230509@105120.6801 22nv1gm2qchqrhro61gt5a6s1l Query : use flama_phc
20230509@105120.6805 22nv1gm2qchqrhro61gt5a6s1l Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20230509@105120.6817 22nv1gm2qchqrhro61gt5a6s1l 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'
