20230512@154856.4350 c32vunaelt787k0u0s817vko4c INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20230512@154856.4340 c32vunaelt787k0u0s817vko4c Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20230512@154856.4490 c32vunaelt787k0u0s817vko4c Query : use flama_phc
20230512@154856.4520 c32vunaelt787k0u0s817vko4c Query : select 1 valor from td where ndoc = 39
20230512@154856.4620 c32vunaelt787k0u0s817vko4c Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154856.4730 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154856.4880 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154856.5060 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154856.5190 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154856.5490 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154856.5620 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154856.5720 c32vunaelt787k0u0s817vko4c Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154856.6150 c32vunaelt787k0u0s817vko4c Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154856.6250 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154856.6390 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154856.6510 c32vunaelt787k0u0s817vko4c Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154856.8880 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154856.9040 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154856.9330 c32vunaelt787k0u0s817vko4c Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154856.1204 c32vunaelt787k0u0s817vko4c Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154856.1312 c32vunaelt787k0u0s817vko4c Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154856.1387 c32vunaelt787k0u0s817vko4c Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154856.1479 c32vunaelt787k0u0s817vko4c Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154856.1580 c32vunaelt787k0u0s817vko4c Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154856.1708 c32vunaelt787k0u0s817vko4c Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e528815645e51d80d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154856.1982 c32vunaelt787k0u0s817vko4c Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154856.1997 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154856.2011 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154856.2028 c32vunaelt787k0u0s817vko4c 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 ('aut645e528815645e51d80d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',222,101900,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1618',?,?,?,?,?)
20230512@154856.2308 c32vunaelt787k0u0s817vko4c Query : use flama_phc
20230512@154856.2312 c32vunaelt787k0u0s817vko4c Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20230512@154856.2324 c32vunaelt787k0u0s817vko4c 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'
20230512@154856.2336 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.2349 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.2373 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.2387 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.2391 c32vunaelt787k0u0s817vko4c Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20230512@154856.2402 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.2412 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.2424 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.2447 c32vunaelt787k0u0s817vko4c 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 ('aut645e578373645e51d83a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut645e528815645e51d80d' ,21.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154856.2696 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.2711 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.2715 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e578373645e51d83a','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.2720 c32vunaelt787k0u0s817vko4c Query : use flama_phc
20230512@154856.2723 c32vunaelt787k0u0s817vko4c Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230512@154856.2734 c32vunaelt787k0u0s817vko4c 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'
20230512@154856.2749 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.2762 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.2786 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.2799 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.2803 c32vunaelt787k0u0s817vko4c Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230336'
20230512@154856.2813 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.2822 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.2836 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.2860 c32vunaelt787k0u0s817vko4c 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 ('aut645e592175645e51d844',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut645e528815645e51d80d' ,20.249000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230512@154856.3120 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.3138 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.3144 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e592175645e51d844','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.3151 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.3167 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.3203 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.3218 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.3224 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.3235 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.3249 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.3290 c32vunaelt787k0u0s817vko4c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e512417645e51d84e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e528815645e51d80d' ,0,0 ,2,23.00,30000,?,?,?)
20230512@154856.3552 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.3584 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.3589 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e512417645e51d84e','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.3594 c32vunaelt787k0u0s817vko4c Query : use flama_phc
20230512@154856.3598 c32vunaelt787k0u0s817vko4c Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230512@154856.3609 c32vunaelt787k0u0s817vko4c 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'
20230512@154856.3620 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.3633 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.3656 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.3668 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.3673 c32vunaelt787k0u0s817vko4c Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230512@154856.3684 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.3694 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.3706 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.3728 c32vunaelt787k0u0s817vko4c 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 ('aut645e526365645e51d85a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut645e528815645e51d80d' ,20.249000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230512@154856.3984 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.3999 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.4003 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e526365645e51d85a','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.4008 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.4020 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.4046 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.4058 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.4062 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.4072 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.4085 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.4109 c32vunaelt787k0u0s817vko4c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e566626645e51d863',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e528815645e51d80d' ,0,0 ,2,23.00,60000,?,?,?)
20230512@154856.4356 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.4371 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.4375 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e566626645e51d863','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.4380 c32vunaelt787k0u0s817vko4c Query : use flama_phc
20230512@154856.4383 c32vunaelt787k0u0s817vko4c Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230512@154856.4395 c32vunaelt787k0u0s817vko4c 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'
20230512@154856.4406 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.4419 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.4444 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.4457 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.4462 c32vunaelt787k0u0s817vko4c Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230512@154856.4472 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.4482 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.4494 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.4518 c32vunaelt787k0u0s817vko4c 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 ('aut645e524317645e51d86d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645e528815645e51d80d' ,20.249000,0 ,2,23.00,80000,?,?,?,?,?,?,?,?,?)
20230512@154856.4950 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.5226 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.5231 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e524317645e51d86d','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.5236 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.5250 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.5274 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.5286 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.5290 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.5299 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.5312 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.5336 c32vunaelt787k0u0s817vko4c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e573960645e51d881',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e528815645e51d80d' ,0,0 ,2,23.00,90000,?,?,?)
20230512@154856.5599 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.5614 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.5618 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e573960645e51d881','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.5623 c32vunaelt787k0u0s817vko4c Query : use flama_phc
20230512@154856.5626 c32vunaelt787k0u0s817vko4c Query : select st.usalote valor from st where st.ref = '324.2034.00.2'
20230512@154856.5637 c32vunaelt787k0u0s817vko4c 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.2034.00.2'
20230512@154856.6447 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.6772 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.6798 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.6811 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.6815 c32vunaelt787k0u0s817vko4c Query : select sestamp valor from se where ref ='324.2034.00.2' and lote = '1'
20230512@154856.6831 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.6841 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.6853 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.6875 c32vunaelt787k0u0s817vko4c 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 ('aut645e518599645e51d8a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut645e528815645e51d80d' ,20.593000,0 ,2,23.00,110000,?,?,?,?,?,?,?,?,?)
20230512@154856.7143 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.7160 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.7164 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e518599645e51d8a7','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.7169 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.7182 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154856.7205 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.7217 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154856.7222 c32vunaelt787k0u0s817vko4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154856.7231 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154856.7243 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154856.7268 c32vunaelt787k0u0s817vko4c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e556584645e51d8b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e528815645e51d80d' ,0,0 ,2,23.00,120000,?,?,?)
20230512@154856.7517 c32vunaelt787k0u0s817vko4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154856.7531 c32vunaelt787k0u0s817vko4c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154856.7536 c32vunaelt787k0u0s817vko4c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e556584645e51d8b0','aut645e528815645e51d80d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154856.7539 c32vunaelt787k0u0s817vko4c Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e528815645e51d80d','119230000180','wait',39,'ari17112337378,753000005')
20230512@154856.7559 c32vunaelt787k0u0s817vko4c Query : use flama_phc
20230512@154856.7562 c32vunaelt787k0u0s817vko4c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154856.7577 c32vunaelt787k0u0s817vko4c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='336';
20230512@154856.7590 c32vunaelt787k0u0s817vko4c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='336';
20230512@154856.7604 c32vunaelt787k0u0s817vko4c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='336';
20230512@154856.7615 c32vunaelt787k0u0s817vko4c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='336';
20230512@154856.7933 jq72evvqf41oa5e8vo9d7rvdm8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154856.7955 jq72evvqf41oa5e8vo9d7rvdm8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154856.7969 jq72evvqf41oa5e8vo9d7rvdm8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='337';
20230512@154856.8008 jq72evvqf41oa5e8vo9d7rvdm8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='337';
20230512@154856.8022 jq72evvqf41oa5e8vo9d7rvdm8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='337';
20230512@154856.8034 jq72evvqf41oa5e8vo9d7rvdm8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='337';
20230512@154856.8045 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154856.8048 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154856.8061 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154856.8064 jq72evvqf41oa5e8vo9d7rvdm8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=770
20230512@154856.8096 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20230512@154856.8244 jq72evvqf41oa5e8vo9d7rvdm8 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 = 0000181 and bi.ref ='324.1676.00.1' and bi.lordem =20000
20230512@154856.8581 jq72evvqf41oa5e8vo9d7rvdm8 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250536,6690000-2 ' 
20230512@154856.9105 jq72evvqf41oa5e8vo9d7rvdm8 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'
20230512@154856.9253 jq72evvqf41oa5e8vo9d7rvdm8 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 = 0000181 and bi.ref ='324.1462.00.1' and bi.lordem =30000
20230512@154856.9568 jq72evvqf41oa5e8vo9d7rvdm8 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250536,7410000-3 ' 
20230512@154856.9894 jq72evvqf41oa5e8vo9d7rvdm8 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'
20230512@154856.9905 jq72evvqf41oa5e8vo9d7rvdm8 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 = 0000181 and bi.ref ='324.1462.00.1' and bi.lordem =30000
20230512@154856.9917 jq72evvqf41oa5e8vo9d7rvdm8 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250536,7410000-3 ' 
20230512@154856.9927 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154856.9930 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154856.9943 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154856.9946 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154856.9955 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154856.9958 jq72evvqf41oa5e8vo9d7rvdm8 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154856.9968 jq72evvqf41oa5e8vo9d7rvdm8 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
20230512@154856.9983 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154856.9985 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230512@154856.9995 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154856.9998 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154857.8000 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154857.1100 jq72evvqf41oa5e8vo9d7rvdm8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154857.2200 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154857.2500 jq72evvqf41oa5e8vo9d7rvdm8 Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- azambuja'
20230512@154857.3600 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154857.3900 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from td where ndoc = 39
20230512@154857.4900 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154857.6000 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154857.7300 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154857.9000 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154857.1030 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154857.1290 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154857.1420 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154857.1520 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154857.1920 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154857.2010 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154857.2130 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154857.2220 jq72evvqf41oa5e8vo9d7rvdm8 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e517533645e51d903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154857.3970 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154857.4100 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154857.4400 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051234837,850000001 '
20230512@154857.5320 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051234837,850000001 '
20230512@154857.1162 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051234837,850000001 '
20230512@154857.1265 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051234837,850000001 '
20230512@154857.1338 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051234837,850000001 '
20230512@154857.1608 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051234837,850000001 '
20230512@154857.1715 jq72evvqf41oa5e8vo9d7rvdm8 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e517533645e51d903',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154857.1980 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154857.1995 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154857.2009 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154857.2027 jq72evvqf41oa5e8vo9d7rvdm8 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 ('aut645e517533645e51d903',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',223,100810,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1618',?,?,?,?,?)
20230512@154857.2315 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154857.2318 jq72evvqf41oa5e8vo9d7rvdm8 Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20230512@154857.2332 jq72evvqf41oa5e8vo9d7rvdm8 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.1676.00.1'
20230512@154857.2484 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154857.2498 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154857.2523 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154857.2538 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154857.2543 jq72evvqf41oa5e8vo9d7rvdm8 Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2200299100a'
20230512@154857.2554 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154857.2564 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154857.2576 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154857.2600 jq72evvqf41oa5e8vo9d7rvdm8 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 ('aut645e526072645e51d93e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e517533645e51d903' ,63.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154857.2909 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154857.2924 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154857.2929 jq72evvqf41oa5e8vo9d7rvdm8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e526072645e51d93e','aut645e517533645e51d903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154857.2948 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154857.2951 jq72evvqf41oa5e8vo9d7rvdm8 Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20230512@154857.2962 jq72evvqf41oa5e8vo9d7rvdm8 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'
20230512@154857.3107 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154857.3120 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154857.3144 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154857.3157 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154857.3161 jq72evvqf41oa5e8vo9d7rvdm8 Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20230512@154857.3172 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154857.3182 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154857.3193 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154857.3217 jq72evvqf41oa5e8vo9d7rvdm8 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 ('aut645e502050645e51d94d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e517533645e51d903' ,70.000000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230512@154857.3484 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154857.3499 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154857.3503 jq72evvqf41oa5e8vo9d7rvdm8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e502050645e51d94d','aut645e517533645e51d903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154857.3508 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154857.3511 jq72evvqf41oa5e8vo9d7rvdm8 Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20230512@154857.3521 jq72evvqf41oa5e8vo9d7rvdm8 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'
20230512@154857.3532 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154857.3546 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154857.3569 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154857.3582 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154857.3586 jq72evvqf41oa5e8vo9d7rvdm8 Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20230512@154857.3596 jq72evvqf41oa5e8vo9d7rvdm8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154857.3606 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154857.3618 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154857.3642 jq72evvqf41oa5e8vo9d7rvdm8 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 ('aut645e525175645e51d958',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645e517533645e51d903' ,70.000000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230512@154857.3970 jq72evvqf41oa5e8vo9d7rvdm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154857.4183 jq72evvqf41oa5e8vo9d7rvdm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154857.4265 jq72evvqf41oa5e8vo9d7rvdm8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e525175645e51d958','aut645e517533645e51d903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154857.4271 jq72evvqf41oa5e8vo9d7rvdm8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e517533645e51d903','119230000181','wait',39,'ari17112337378,753000005')
20230512@154857.4318 jq72evvqf41oa5e8vo9d7rvdm8 Query : use flama_phc
20230512@154857.4321 jq72evvqf41oa5e8vo9d7rvdm8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154857.4334 jq72evvqf41oa5e8vo9d7rvdm8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='337';
20230512@154857.4348 jq72evvqf41oa5e8vo9d7rvdm8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='337';
20230512@154857.4362 jq72evvqf41oa5e8vo9d7rvdm8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='337';
20230512@154857.4373 jq72evvqf41oa5e8vo9d7rvdm8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='337';
20230512@154857.4753 95rr19t4idqvk719324ha4tunl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154857.4779 95rr19t4idqvk719324ha4tunl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154857.4796 95rr19t4idqvk719324ha4tunl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='338';
20230512@154857.4839 95rr19t4idqvk719324ha4tunl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='338';
20230512@154857.4854 95rr19t4idqvk719324ha4tunl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='338';
20230512@154857.4868 95rr19t4idqvk719324ha4tunl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='338';
20230512@154857.4881 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.4884 95rr19t4idqvk719324ha4tunl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154857.4900 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.4903 95rr19t4idqvk719324ha4tunl Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20230512@154857.4941 95rr19t4idqvk719324ha4tunl 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'
20230512@154857.4951 95rr19t4idqvk719324ha4tunl 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 = 0000182 and bi.ref ='324.1642.00.1' and bi.lordem =20000
20230512@154857.5959 95rr19t4idqvk719324ha4tunl Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250540,5060000-2 ' 
20230512@154857.6504 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.6508 95rr19t4idqvk719324ha4tunl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154857.6520 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.6523 95rr19t4idqvk719324ha4tunl Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154857.6533 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.6536 95rr19t4idqvk719324ha4tunl Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154857.6547 95rr19t4idqvk719324ha4tunl 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
20230512@154857.6561 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.6564 95rr19t4idqvk719324ha4tunl Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154857.6574 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.6577 95rr19t4idqvk719324ha4tunl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154857.6587 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.6590 95rr19t4idqvk719324ha4tunl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154857.6600 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.6603 95rr19t4idqvk719324ha4tunl Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20230512@154857.6614 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.6617 95rr19t4idqvk719324ha4tunl Query : select 1 valor from td where ndoc = 39
20230512@154857.6626 95rr19t4idqvk719324ha4tunl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154857.6636 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154857.6651 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154857.6667 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154857.6680 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154857.6707 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154857.6720 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154857.6730 95rr19t4idqvk719324ha4tunl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154857.6777 95rr19t4idqvk719324ha4tunl Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154857.6787 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154857.6801 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154857.6810 95rr19t4idqvk719324ha4tunl Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e568161645e51d9a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154857.6981 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154857.6996 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154857.7024 95rr19t4idqvk719324ha4tunl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051134944,861000002 '
20230512@154857.7145 95rr19t4idqvk719324ha4tunl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051134944,861000002 '
20230512@154857.7251 95rr19t4idqvk719324ha4tunl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051134944,861000002 '
20230512@154857.7344 95rr19t4idqvk719324ha4tunl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051134944,861000002 '
20230512@154857.7467 95rr19t4idqvk719324ha4tunl Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051134944,861000002 '
20230512@154857.7563 95rr19t4idqvk719324ha4tunl Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051134944,861000002 '
20230512@154857.7647 95rr19t4idqvk719324ha4tunl Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e568161645e51d9a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154857.7938 95rr19t4idqvk719324ha4tunl Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154857.7953 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154857.7967 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154857.7987 95rr19t4idqvk719324ha4tunl 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 ('aut645e568161645e51d9a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',224,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1618',?,?,?,?,?)
20230512@154857.8263 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.8268 95rr19t4idqvk719324ha4tunl Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230512@154857.8282 95rr19t4idqvk719324ha4tunl 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'
20230512@154857.8295 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154857.8309 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154857.8337 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154857.8350 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154857.8355 95rr19t4idqvk719324ha4tunl Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230512@154857.8365 95rr19t4idqvk719324ha4tunl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154857.8374 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154857.8388 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154857.8411 95rr19t4idqvk719324ha4tunl 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 ('aut645e509537645e51d9cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e568161645e51d9a4' ,89.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154857.8668 95rr19t4idqvk719324ha4tunl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154857.8685 95rr19t4idqvk719324ha4tunl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154857.8689 95rr19t4idqvk719324ha4tunl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e509537645e51d9cc','aut645e568161645e51d9a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154857.8693 95rr19t4idqvk719324ha4tunl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e568161645e51d9a4','119230000182','wait',39,'ari17112337378,753000005')
20230512@154857.8744 95rr19t4idqvk719324ha4tunl Query : use flama_phc
20230512@154857.8747 95rr19t4idqvk719324ha4tunl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154857.8758 95rr19t4idqvk719324ha4tunl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='338';
20230512@154857.8773 95rr19t4idqvk719324ha4tunl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='338';
20230512@154857.8784 95rr19t4idqvk719324ha4tunl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='338';
20230512@154857.8796 95rr19t4idqvk719324ha4tunl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='338';
20230512@154857.9095 5a3ubfiajoc1d058et5itaqdm2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154857.9109 5a3ubfiajoc1d058et5itaqdm2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154857.9128 5a3ubfiajoc1d058et5itaqdm2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='339';
20230512@154857.9184 5a3ubfiajoc1d058et5itaqdm2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='339';
20230512@154858.4000 5a3ubfiajoc1d058et5itaqdm2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='339';
20230512@154858.1630 5a3ubfiajoc1d058et5itaqdm2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='339';
20230512@154858.1780 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1830 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154858.1990 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.2020 5a3ubfiajoc1d058et5itaqdm2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1268
20230512@154858.2400 5a3ubfiajoc1d058et5itaqdm2 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'
20230512@154858.2500 5a3ubfiajoc1d058et5itaqdm2 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 = 0000184 and bi.ref ='324.1642.00.1' and bi.lordem =20000
20230512@154858.6110 5a3ubfiajoc1d058et5itaqdm2 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250574,3620000-2 ' 
20230512@154858.1085 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1089 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154858.1104 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1107 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154858.1119 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1122 5a3ubfiajoc1d058et5itaqdm2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154858.1135 5a3ubfiajoc1d058et5itaqdm2 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
20230512@154858.1149 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1152 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 ~inactivo valor from cl where no = '101663' and estab = 0 order by inactivo desc
20230512@154858.1162 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1165 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154858.1176 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1179 5a3ubfiajoc1d058et5itaqdm2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154858.1190 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1194 5a3ubfiajoc1d058et5itaqdm2 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - viana do castelo'
20230512@154858.1205 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.1208 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from td where ndoc = 39
20230512@154858.1217 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154858.1227 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154858.1407 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154858.1435 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154858.1449 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154858.1476 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154858.1490 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154858.1501 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154858.1548 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154858.1557 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154858.1569 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154858.1580 5a3ubfiajoc1d058et5itaqdm2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e539692645e51da24' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154858.1747 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154858.1773 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154858.1805 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051134873,309000002 '
20230512@154858.1917 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051134873,309000002 '
20230512@154858.2015 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051134873,309000002 '
20230512@154858.2119 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051134873,309000002 '
20230512@154858.2230 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051134873,309000002 '
20230512@154858.2312 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051134873,309000002 '
20230512@154858.2388 5a3ubfiajoc1d058et5itaqdm2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e539692645e51da24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154858.2678 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154858.2692 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154858.2706 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154858.2724 5a3ubfiajoc1d058et5itaqdm2 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 ('aut645e539692645e51da24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',225,101663,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1618',?,?,?,?,?)
20230512@154858.2998 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.3003 5a3ubfiajoc1d058et5itaqdm2 Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230512@154858.3014 5a3ubfiajoc1d058et5itaqdm2 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'
20230512@154858.3027 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154858.3041 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154858.3064 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154858.3076 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154858.3081 5a3ubfiajoc1d058et5itaqdm2 Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230512@154858.3091 5a3ubfiajoc1d058et5itaqdm2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154858.3100 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154858.3113 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154858.3138 5a3ubfiajoc1d058et5itaqdm2 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 ('aut645e535183645e51da4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e539692645e51da24' ,89.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154858.3391 5a3ubfiajoc1d058et5itaqdm2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154858.3407 5a3ubfiajoc1d058et5itaqdm2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154858.3411 5a3ubfiajoc1d058et5itaqdm2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e535183645e51da4b','aut645e539692645e51da24' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154858.3415 5a3ubfiajoc1d058et5itaqdm2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e539692645e51da24','119230000184','wait',39,'ari17112337378,753000005')
20230512@154858.3431 5a3ubfiajoc1d058et5itaqdm2 Query : use flama_phc
20230512@154858.3434 5a3ubfiajoc1d058et5itaqdm2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154858.3448 5a3ubfiajoc1d058et5itaqdm2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='339';
20230512@154858.3464 5a3ubfiajoc1d058et5itaqdm2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='339';
20230512@154858.3477 5a3ubfiajoc1d058et5itaqdm2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='339';
20230512@154858.3489 5a3ubfiajoc1d058et5itaqdm2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='339';
20230512@154858.3842 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154858.3855 5mbea4uf0a8p64tvu7ls6jrqqr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154858.3871 5mbea4uf0a8p64tvu7ls6jrqqr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='340';
20230512@154858.3909 5mbea4uf0a8p64tvu7ls6jrqqr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='340';
20230512@154858.3922 5mbea4uf0a8p64tvu7ls6jrqqr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='340';
20230512@154858.3933 5mbea4uf0a8p64tvu7ls6jrqqr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='340';
20230512@154858.3946 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154858.3949 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154858.3962 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154858.3965 5mbea4uf0a8p64tvu7ls6jrqqr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230512@154858.4044 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20230512@154858.4056 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.1416.00.1' and bi.lordem =20000
20230512@154858.4432 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,0970000-2 ' 
20230512@154858.4793 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20230512@154858.4806 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.499.00.01' and bi.lordem =30000
20230512@154858.5187 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,1090000-3 ' 
20230512@154858.6525 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154858.6542 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.1406.00.1' and bi.lordem =40000
20230512@154858.6917 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,1320000-4 ' 
20230512@154858.7386 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154858.7396 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.1705.00.1' and bi.lordem =50000
20230512@154858.7847 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,1520000-5 ' 
20230512@154858.8232 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154858.8244 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.1705.00.1' and bi.lordem =50000
20230512@154858.8258 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,1520000-5 ' 
20230512@154858.8289 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20230512@154858.8301 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.988.00.01' and bi.lordem =60000
20230512@154858.8659 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,1710000-6 ' 
20230512@154858.9056 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20230512@154858.9069 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.988.00.01' and bi.lordem =60000
20230512@154858.9085 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,1710000-6 ' 
20230512@154858.9097 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154858.9272 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.4902.00.1' and bi.lordem =70000
20230512@154858.9649 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,2810000-7 ' 
20230512@154859.1230 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20230512@154859.1370 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.4970.00.1' and bi.lordem =80000
20230512@154859.5160 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,3000000-8 ' 
20230512@154859.9290 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.944.00.01'
20230512@154859.9440 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.944.00.01' and bi.lordem =90000
20230512@154859.1292 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,3120000-9 ' 
20230512@154859.1904 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.944.00.01'
20230512@154859.1918 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.944.00.01' and bi.lordem =90000
20230512@154859.1933 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,3120000-9 ' 
20230512@154859.1946 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154859.1958 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.948.00.01' and bi.lordem =100000
20230512@154859.2364 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,323000-10 ' 
20230512@154859.2702 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154859.2713 5mbea4uf0a8p64tvu7ls6jrqqr 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 = 0000185 and bi.ref ='324.948.00.01' and bi.lordem =100000
20230512@154859.2726 5mbea4uf0a8p64tvu7ls6jrqqr Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250650,323000-10 ' 
20230512@154859.2736 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.2740 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154859.2753 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.2756 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154859.2768 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.2772 5mbea4uf0a8p64tvu7ls6jrqqr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154859.2786 5mbea4uf0a8p64tvu7ls6jrqqr 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
20230512@154859.2802 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.2805 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230512@154859.2817 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.2820 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154859.2853 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.2857 5mbea4uf0a8p64tvu7ls6jrqqr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154859.2869 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.2874 5mbea4uf0a8p64tvu7ls6jrqqr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230512@154859.2888 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.2892 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from td where ndoc = 39
20230512@154859.2903 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154859.2916 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154859.2931 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154859.2953 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154859.2968 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154859.2998 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154859.3014 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154859.3026 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154859.3069 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154859.3079 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154859.3095 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154859.3107 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154859.3277 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154859.3297 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154859.3338 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051154477,068000001 '
20230512@154859.3459 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051154477,068000001 '
20230512@154859.3565 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051154477,068000001 '
20230512@154859.4691 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051154477,068000001 '
20230512@154859.4801 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051154477,068000001 '
20230512@154859.4900 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051154477,068000001 '
20230512@154859.5026 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e584248645e51db49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154859.5311 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154859.5327 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154859.5345 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154859.5366 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e584248645e51db49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',226,100810,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1618',?,?,?,?,?)
20230512@154859.5663 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.5705 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20230512@154859.5759 5mbea4uf0a8p64tvu7ls6jrqqr 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.1416.00.1'
20230512@154859.5772 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.5789 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154859.5817 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.5834 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154859.5839 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2101113200a'
20230512@154859.5851 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154859.5862 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.5880 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154859.5911 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e553708645e51db8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut645e584248645e51db49' ,39.900000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154859.6186 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.6206 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154859.6211 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e553708645e51db8f','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154859.6217 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.6230 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154859.6257 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.6271 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154859.6276 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154859.6287 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.6304 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154859.6331 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e554892645e51db99',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e584248645e51db49' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154859.6615 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.6631 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154859.6636 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e554892645e51db99','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154859.6642 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.6645 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20230512@154859.6657 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20230512@154859.6669 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.6684 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154859.6713 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.6731 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154859.6738 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20230512@154859.6751 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154859.6763 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.6779 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154859.6803 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e516147645e51dba5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut645e584248645e51db49' ,35.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230512@154859.7072 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.7090 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154859.7095 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e516147645e51dba5','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154859.7102 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.7106 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20230512@154859.7118 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154859.7131 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.7151 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154859.7180 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.7198 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154859.7243 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '0720'
20230512@154859.7314 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154859.7325 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.7339 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154859.7366 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e519357645e51dbb2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut645e584248645e51db49' ,24.500000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230512@154859.7639 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.7656 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154859.7662 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e519357645e51dbb2','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154859.7667 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.7671 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20230512@154859.7683 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154859.7695 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.7710 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154859.7736 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.7750 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154859.7755 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2200112200a'
20230512@154859.7767 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154859.7778 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.7793 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154859.7821 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e597815645e51dbbd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut645e584248645e51db49' ,35.000000,0 ,2,23.00,60000,?,?,?,?,?,?,?,?,?)
20230512@154859.8222 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.8606 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154859.8612 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e597815645e51dbbd','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154859.8617 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.8622 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20230512@154859.8634 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154859.8645 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.8658 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154859.8683 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.8696 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154859.8701 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2200112200a'
20230512@154859.8712 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154859.8722 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.8735 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154859.8759 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e548500645e51dbd4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645e584248645e51db49' ,35.000000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230512@154859.9042 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.9058 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154859.9063 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e548500645e51dbd4','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154859.9067 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.9070 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20230512@154859.9081 5mbea4uf0a8p64tvu7ls6jrqqr 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.988.00.01'
20230512@154859.9093 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.9108 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154859.9134 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.9146 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154859.9151 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2200267200a'
20230512@154859.9161 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154859.9172 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.9185 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154859.9210 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e509506645e51dbdf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut645e584248645e51db49' ,35.000000,0 ,2,23.00,80000,?,?,?,?,?,?,?,?,?)
20230512@154859.9495 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.9512 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154859.9517 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e509506645e51dbdf','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154859.9522 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154859.9526 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20230512@154859.9538 5mbea4uf0a8p64tvu7ls6jrqqr 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.988.00.01'
20230512@154859.9550 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.9571 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154859.9600 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154859.9615 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154859.9619 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2200267200a'
20230512@154859.9631 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154859.9645 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154859.9661 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154859.9692 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e587958645e51dbeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut645e584248645e51db49' ,35.000000,0 ,2,23.00,90000,?,?,?,?,?,?,?,?,?)
20230512@154900.4000 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.9600 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154900.9670 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e587958645e51dbeb','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154900.9730 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154900.9760 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230512@154900.9900 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154900.1150 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.1168 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154900.1205 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.1223 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154900.1229 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230512@154900.1245 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154900.1257 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.1273 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154900.1303 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e526124645e51dc1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut645e584248645e51db49' ,35.000000,0 ,2,23.00,100000,?,?,?,?,?,?,?,?,?)
20230512@154900.1594 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.1613 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154900.1618 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e526124645e51dc1e','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154900.1624 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.1640 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154900.1677 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.1695 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154900.1702 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154900.1716 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.1851 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154900.1915 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e510673645e51dc29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e584248645e51db49' ,0,0 ,2,23.00,110000,?,?,?)
20230512@154900.2444 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.3680 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154900.3685 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e510673645e51dc29','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154900.3691 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154900.3695 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230512@154900.3708 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20230512@154900.3720 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.3736 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154900.3762 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.3776 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154900.3782 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230512@154900.3793 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154900.3804 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.3818 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154900.3845 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e581248645e51dc5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut645e584248645e51db49' ,28.000000,0 ,2,23.00,130000,?,?,?,?,?,?,?,?,?)
20230512@154900.4135 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.4153 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154900.4158 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e581248645e51dc5c','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154900.4165 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154900.4168 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.944.00.01'
20230512@154900.4181 5mbea4uf0a8p64tvu7ls6jrqqr 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.944.00.01'
20230512@154900.4194 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.4210 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154900.4237 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.4252 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154900.4257 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.944.00.01' and lote = 'r21089300a'
20230512@154900.4268 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154900.4279 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.4293 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154900.4321 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e500728645e51dc68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut645e584248645e51db49' ,24.500000,0 ,2,23.00,140000,?,?,?,?,?,?,?,?,?)
20230512@154900.4691 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.4710 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154900.4716 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e500728645e51dc68','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154900.4721 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154900.4725 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.944.00.01'
20230512@154900.4738 5mbea4uf0a8p64tvu7ls6jrqqr 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.944.00.01'
20230512@154900.4752 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.4768 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154900.4796 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.4810 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154900.4816 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.944.00.01' and lote = 'r21089300a'
20230512@154900.4827 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154900.4838 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.4852 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154900.4880 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e563257645e51dc76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut645e584248645e51db49' ,24.500000,0 ,2,23.00,150000,?,?,?,?,?,?,?,?,?)
20230512@154900.5162 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.5183 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154900.5189 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e563257645e51dc76','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154900.5194 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154900.5197 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230512@154900.5210 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154900.5225 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.5239 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154900.5263 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.5276 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154900.5280 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230512@154900.5290 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154900.5300 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.5313 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154900.5338 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e583494645e51dc81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut645e584248645e51db49' ,32.900000,0 ,2,23.00,160000,?,?,?,?,?,?,?,?,?)
20230512@154900.5614 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.5635 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154900.5642 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e583494645e51dc81','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154900.5648 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154900.5653 5mbea4uf0a8p64tvu7ls6jrqqr Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230512@154900.5669 5mbea4uf0a8p64tvu7ls6jrqqr 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'
20230512@154900.5686 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.5703 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154900.5734 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.5748 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154900.5753 5mbea4uf0a8p64tvu7ls6jrqqr Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230512@154900.5764 5mbea4uf0a8p64tvu7ls6jrqqr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154900.5774 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154900.5787 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154900.5812 5mbea4uf0a8p64tvu7ls6jrqqr 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 ('aut645e520568645e51dc8c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut645e584248645e51db49' ,32.900000,0 ,2,23.00,170000,?,?,?,?,?,?,?,?,?)
20230512@154900.6087 5mbea4uf0a8p64tvu7ls6jrqqr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154900.6103 5mbea4uf0a8p64tvu7ls6jrqqr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154900.6108 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e520568645e51dc8c','aut645e584248645e51db49' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154900.6114 5mbea4uf0a8p64tvu7ls6jrqqr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e584248645e51db49','119230000185','wait',39,'ari17112337378,753000005')
20230512@154900.6133 5mbea4uf0a8p64tvu7ls6jrqqr Query : use flama_phc
20230512@154900.6136 5mbea4uf0a8p64tvu7ls6jrqqr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154900.6151 5mbea4uf0a8p64tvu7ls6jrqqr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='340';
20230512@154900.6166 5mbea4uf0a8p64tvu7ls6jrqqr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='340';
20230512@154900.6180 5mbea4uf0a8p64tvu7ls6jrqqr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='340';
20230512@154900.6194 5mbea4uf0a8p64tvu7ls6jrqqr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='340';
20230512@154900.6525 5apifi5re6o84ip4so3j33olj0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154900.6543 5apifi5re6o84ip4so3j33olj0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154900.6559 5apifi5re6o84ip4so3j33olj0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='341';
20230512@154900.6598 5apifi5re6o84ip4so3j33olj0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='341';
20230512@154900.6620 5apifi5re6o84ip4so3j33olj0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='341';
20230512@154900.6632 5apifi5re6o84ip4so3j33olj0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='341';
20230512@154900.6652 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.6655 5apifi5re6o84ip4so3j33olj0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154900.6668 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.6671 5apifi5re6o84ip4so3j33olj0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1268
20230512@154900.7745 5apifi5re6o84ip4so3j33olj0 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'
20230512@154900.7758 5apifi5re6o84ip4so3j33olj0 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 = 0000186 and bi.ref ='304.4860.00.1' and bi.lordem =20000
20230512@154900.8102 5apifi5re6o84ip4so3j33olj0 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250653,8720000-2 ' 
20230512@154900.8454 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.8458 5apifi5re6o84ip4so3j33olj0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154900.8474 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.8477 5apifi5re6o84ip4so3j33olj0 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154900.8490 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.8494 5apifi5re6o84ip4so3j33olj0 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154900.8507 5apifi5re6o84ip4so3j33olj0 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
20230512@154900.8523 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.8526 5apifi5re6o84ip4so3j33olj0 Query : select top 1 ~inactivo valor from cl where no = '101663' and estab = 0 order by inactivo desc
20230512@154900.8538 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.8541 5apifi5re6o84ip4so3j33olj0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154900.8552 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.8556 5apifi5re6o84ip4so3j33olj0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154900.8568 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.8571 5apifi5re6o84ip4so3j33olj0 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - viana do castelo'
20230512@154900.8584 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154900.8587 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from td where ndoc = 39
20230512@154900.8599 5apifi5re6o84ip4so3j33olj0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154900.8611 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154900.8628 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154900.8647 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154900.8662 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154900.8690 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154900.8703 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154900.8713 5apifi5re6o84ip4so3j33olj0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154900.8753 5apifi5re6o84ip4so3j33olj0 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154900.8763 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154900.8775 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154900.8785 5apifi5re6o84ip4so3j33olj0 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e525783645e51dcd4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154900.8953 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154900.8969 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154900.8998 5apifi5re6o84ip4so3j33olj0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051233718,621000002 '
20230512@154900.9113 5apifi5re6o84ip4so3j33olj0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051233718,621000002 '
20230512@154900.9217 5apifi5re6o84ip4so3j33olj0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051233718,621000002 '
20230512@154900.9323 5apifi5re6o84ip4so3j33olj0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051233718,621000002 '
20230512@154900.9422 5apifi5re6o84ip4so3j33olj0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051233718,621000002 '
20230512@154900.9525 5apifi5re6o84ip4so3j33olj0 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051233718,621000002 '
20230512@154900.9623 5apifi5re6o84ip4so3j33olj0 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e525783645e51dcd4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154900.9897 5apifi5re6o84ip4so3j33olj0 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154900.9912 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154900.9926 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154900.9944 5apifi5re6o84ip4so3j33olj0 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 ('aut645e525783645e51dcd4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',227,101663,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154901.2250 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154901.2300 5apifi5re6o84ip4so3j33olj0 Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20230512@154901.2420 5apifi5re6o84ip4so3j33olj0 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'
20230512@154901.2540 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154901.2680 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154901.2930 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154901.3070 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154901.3120 5apifi5re6o84ip4so3j33olj0 Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20230512@154901.3220 5apifi5re6o84ip4so3j33olj0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154901.3320 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154901.3580 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154901.3850 5apifi5re6o84ip4so3j33olj0 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 ('aut645e526277645e51dd08',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645e525783645e51dcd4' ,51.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154901.6570 5apifi5re6o84ip4so3j33olj0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154901.6740 5apifi5re6o84ip4so3j33olj0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154901.6790 5apifi5re6o84ip4so3j33olj0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e526277645e51dd08','aut645e525783645e51dcd4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154901.6840 5apifi5re6o84ip4so3j33olj0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e525783645e51dcd4','119230000186','wait',39,'ari17112337378,753000005')
20230512@154901.7000 5apifi5re6o84ip4so3j33olj0 Query : use flama_phc
20230512@154901.7030 5apifi5re6o84ip4so3j33olj0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154901.7140 5apifi5re6o84ip4so3j33olj0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='341';
20230512@154901.7300 5apifi5re6o84ip4so3j33olj0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='341';
20230512@154901.7420 5apifi5re6o84ip4so3j33olj0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='341';
20230512@154901.7540 5apifi5re6o84ip4so3j33olj0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='341';
20230512@154901.1079 uubvg1fbjrop6sfg44lf0h5bus Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154901.1104 uubvg1fbjrop6sfg44lf0h5bus Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154901.1122 uubvg1fbjrop6sfg44lf0h5bus Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='342';
20230512@154901.1174 uubvg1fbjrop6sfg44lf0h5bus Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='342';
20230512@154901.1191 uubvg1fbjrop6sfg44lf0h5bus Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='342';
20230512@154901.1204 uubvg1fbjrop6sfg44lf0h5bus Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='342';
20230512@154901.1217 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.1221 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154901.1235 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.1238 uubvg1fbjrop6sfg44lf0h5bus Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20230512@154901.1283 uubvg1fbjrop6sfg44lf0h5bus 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'
20230512@154901.1482 uubvg1fbjrop6sfg44lf0h5bus 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 = 0000187 and bi.ref ='324.4930.00.1' and bi.lordem =20000
20230512@154901.2090 uubvg1fbjrop6sfg44lf0h5bus Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250655,9460000-2 ' 
20230512@154901.2576 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.2581 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154901.2598 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.2602 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154901.2615 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.2621 uubvg1fbjrop6sfg44lf0h5bus Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154901.2635 uubvg1fbjrop6sfg44lf0h5bus 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
20230512@154901.2651 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.2655 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230512@154901.2666 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.2670 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154901.2682 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.2685 uubvg1fbjrop6sfg44lf0h5bus Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154901.2697 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.2700 uubvg1fbjrop6sfg44lf0h5bus Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20230512@154901.2715 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.2726 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from td where ndoc = 39
20230512@154901.2738 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154901.2752 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154901.2768 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154901.2790 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154901.2803 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154901.2833 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154901.2847 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154901.2859 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154901.2952 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154901.2968 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154901.2986 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154901.3004 uubvg1fbjrop6sfg44lf0h5bus Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e575326645e51dd45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154901.3205 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154901.3225 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154901.3258 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154901.3271 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154901.3283 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154901.3298 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154901.3311 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154901.3323 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051139605,182000001 '
20230512@154901.3335 uubvg1fbjrop6sfg44lf0h5bus Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e575326645e51dd45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154901.3649 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154901.3674 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154901.3691 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154901.3712 uubvg1fbjrop6sfg44lf0h5bus 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 ('aut645e575326645e51dd45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',228,101900,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154901.4128 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.4133 uubvg1fbjrop6sfg44lf0h5bus Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20230512@154901.4149 uubvg1fbjrop6sfg44lf0h5bus 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'
20230512@154901.4330 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154901.4346 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154901.4376 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154901.4395 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154901.4401 uubvg1fbjrop6sfg44lf0h5bus Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2100754100a'
20230512@154901.4416 uubvg1fbjrop6sfg44lf0h5bus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154901.4437 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154901.4452 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154901.4482 uubvg1fbjrop6sfg44lf0h5bus 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 ('aut645e576168645e51dd6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut645e575326645e51dd45' ,17.500000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154901.4801 uubvg1fbjrop6sfg44lf0h5bus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154901.4821 uubvg1fbjrop6sfg44lf0h5bus Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154901.4827 uubvg1fbjrop6sfg44lf0h5bus Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e576168645e51dd6c','aut645e575326645e51dd45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154901.4833 uubvg1fbjrop6sfg44lf0h5bus Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e575326645e51dd45','119230000187','wait',39,'ari17112337378,753000005')
20230512@154901.4854 uubvg1fbjrop6sfg44lf0h5bus Query : use flama_phc
20230512@154901.4858 uubvg1fbjrop6sfg44lf0h5bus Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154901.4875 uubvg1fbjrop6sfg44lf0h5bus Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='342';
20230512@154901.4892 uubvg1fbjrop6sfg44lf0h5bus Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='342';
20230512@154901.4913 uubvg1fbjrop6sfg44lf0h5bus Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='342';
20230512@154901.4974 uubvg1fbjrop6sfg44lf0h5bus Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='342';
20230512@154901.5283 7ctvd0st6d7vttal9k3luipkhu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154901.5305 7ctvd0st6d7vttal9k3luipkhu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154901.5324 7ctvd0st6d7vttal9k3luipkhu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='343';
20230512@154901.5373 7ctvd0st6d7vttal9k3luipkhu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='343';
20230512@154901.5388 7ctvd0st6d7vttal9k3luipkhu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='343';
20230512@154901.5404 7ctvd0st6d7vttal9k3luipkhu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='343';
20230512@154901.5418 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.5423 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154901.5439 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.5443 7ctvd0st6d7vttal9k3luipkhu Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20230512@154901.5486 7ctvd0st6d7vttal9k3luipkhu 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'
20230512@154901.5499 7ctvd0st6d7vttal9k3luipkhu 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 = 0000188 and bi.ref ='304.4860.00.1' and bi.lordem =20000
20230512@154901.5893 7ctvd0st6d7vttal9k3luipkhu Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250702,9830000-2 ' 
20230512@154901.7354 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.7560 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154901.7881 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.7886 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154901.7897 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.7901 7ctvd0st6d7vttal9k3luipkhu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154901.7915 7ctvd0st6d7vttal9k3luipkhu 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
20230512@154901.7931 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.7935 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154901.7946 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.7949 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154901.7960 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.7963 7ctvd0st6d7vttal9k3luipkhu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154901.7976 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.7979 7ctvd0st6d7vttal9k3luipkhu Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20230512@154901.7993 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154901.7995 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from td where ndoc = 39
20230512@154901.8005 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154901.8016 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154901.8030 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154901.8050 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154901.8065 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154901.8093 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154901.8107 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154901.8118 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154901.8161 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154901.8171 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154901.8187 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154901.8197 7ctvd0st6d7vttal9k3luipkhu Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e537421645e51ddc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154901.8368 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154901.8386 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154901.8417 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051236116,550000002 '
20230512@154901.8542 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051236116,550000002 '
20230512@154901.8651 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051236116,550000002 '
20230512@154901.8761 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051236116,550000002 '
20230512@154901.8882 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051236116,550000002 '
20230512@154901.8989 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051236116,550000002 '
20230512@154901.9086 7ctvd0st6d7vttal9k3luipkhu Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e537421645e51ddc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154901.9440 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154902.3480 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154902.3660 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154902.3870 7ctvd0st6d7vttal9k3luipkhu 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 ('aut645e537421645e51ddc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',229,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154902.6650 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154902.6690 7ctvd0st6d7vttal9k3luipkhu Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20230512@154902.6820 7ctvd0st6d7vttal9k3luipkhu 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'
20230512@154902.6950 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.7100 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154902.7410 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.7590 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154902.7640 7ctvd0st6d7vttal9k3luipkhu Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20230512@154902.7770 7ctvd0st6d7vttal9k3luipkhu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154902.7890 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.8030 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154902.8410 7ctvd0st6d7vttal9k3luipkhu 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 ('aut645e562968645e51de13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645e537421645e51ddc6' ,51.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154902.1103 7ctvd0st6d7vttal9k3luipkhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.1120 7ctvd0st6d7vttal9k3luipkhu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154902.1126 7ctvd0st6d7vttal9k3luipkhu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e562968645e51de13','aut645e537421645e51ddc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154902.1131 7ctvd0st6d7vttal9k3luipkhu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e537421645e51ddc6','119230000188','wait',39,'ari17112337378,753000005')
20230512@154902.1149 7ctvd0st6d7vttal9k3luipkhu Query : use flama_phc
20230512@154902.1152 7ctvd0st6d7vttal9k3luipkhu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154902.1165 7ctvd0st6d7vttal9k3luipkhu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='343';
20230512@154902.1180 7ctvd0st6d7vttal9k3luipkhu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='343';
20230512@154902.1192 7ctvd0st6d7vttal9k3luipkhu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='343';
20230512@154902.1205 7ctvd0st6d7vttal9k3luipkhu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='343';
20230512@154902.1522 dag0al06r2uqumjl5tjmk9v5pt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154902.1543 dag0al06r2uqumjl5tjmk9v5pt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154902.1561 dag0al06r2uqumjl5tjmk9v5pt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='344';
20230512@154902.1603 dag0al06r2uqumjl5tjmk9v5pt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='344';
20230512@154902.1616 dag0al06r2uqumjl5tjmk9v5pt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='344';
20230512@154902.1628 dag0al06r2uqumjl5tjmk9v5pt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='344';
20230512@154902.1639 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.1643 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154902.1657 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.1660 dag0al06r2uqumjl5tjmk9v5pt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20230512@154902.1701 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154902.1713 dag0al06r2uqumjl5tjmk9v5pt 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 = 0000189 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154902.2069 dag0al06r2uqumjl5tjmk9v5pt Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250721,6780000-2 ' 
20230512@154902.2434 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154902.2446 dag0al06r2uqumjl5tjmk9v5pt 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 = 0000189 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154902.2459 dag0al06r2uqumjl5tjmk9v5pt Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250721,6780000-2 ' 
20230512@154902.2471 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.2475 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154902.2490 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.2493 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154902.2504 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.2508 dag0al06r2uqumjl5tjmk9v5pt Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154902.2520 dag0al06r2uqumjl5tjmk9v5pt 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
20230512@154902.2537 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.2541 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154902.2552 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.2556 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154902.2568 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.2572 dag0al06r2uqumjl5tjmk9v5pt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154902.2584 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.2587 dag0al06r2uqumjl5tjmk9v5pt Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20230512@154902.2601 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.2604 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from td where ndoc = 39
20230512@154902.2615 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154902.2636 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154902.2651 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154902.2670 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154902.2684 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154902.2713 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154902.2726 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154902.2739 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154902.2780 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154902.2790 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154902.2803 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154902.2813 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e519674645e51de42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154902.2998 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154902.3014 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154902.3042 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051245096,442000002 '
20230512@154902.3159 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051245096,442000002 '
20230512@154902.3259 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051245096,442000002 '
20230512@154902.3344 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051245096,442000002 '
20230512@154902.3451 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051245096,442000002 '
20230512@154902.3561 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051245096,442000002 '
20230512@154902.3680 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e519674645e51de42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154902.3984 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154902.3999 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154902.4012 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154902.4031 dag0al06r2uqumjl5tjmk9v5pt 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 ('aut645e519674645e51de42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',230,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154902.4346 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.4353 dag0al06r2uqumjl5tjmk9v5pt Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154902.4366 dag0al06r2uqumjl5tjmk9v5pt 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 = '328.9316.00.1'
20230512@154902.4377 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.4391 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154902.4413 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.4426 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154902.4430 dag0al06r2uqumjl5tjmk9v5pt Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154902.4441 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154902.4452 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.4464 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154902.4488 dag0al06r2uqumjl5tjmk9v5pt 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 ('aut645e540139645e51de6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e519674645e51de42' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154902.4767 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.5001 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154902.5006 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e540139645e51de6c','aut645e519674645e51de42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154902.5012 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.5025 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154902.5048 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.5060 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154902.5064 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154902.5073 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.5085 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154902.5106 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e536623645e51de7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e519674645e51de42' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154902.5361 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.5376 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154902.5380 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e536623645e51de7b','aut645e519674645e51de42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154902.5385 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.5388 dag0al06r2uqumjl5tjmk9v5pt Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154902.5398 dag0al06r2uqumjl5tjmk9v5pt 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 = '328.9316.00.1'
20230512@154902.5409 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.5423 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154902.5445 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.5457 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154902.5462 dag0al06r2uqumjl5tjmk9v5pt Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154902.5471 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154902.5481 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.5493 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154902.5516 dag0al06r2uqumjl5tjmk9v5pt 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 ('aut645e541982645e51de85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e519674645e51de42' ,83.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230512@154902.5795 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.5810 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154902.5814 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e541982645e51de85','aut645e519674645e51de42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154902.5819 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.5831 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154902.5859 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.5871 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154902.5875 dag0al06r2uqumjl5tjmk9v5pt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154902.5886 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154902.5898 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154902.5922 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e545510645e51de8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e519674645e51de42' ,0,0 ,2,23.00,50000,?,?,?)
20230512@154902.6187 dag0al06r2uqumjl5tjmk9v5pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154902.6203 dag0al06r2uqumjl5tjmk9v5pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154902.6207 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e545510645e51de8f','aut645e519674645e51de42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154902.6212 dag0al06r2uqumjl5tjmk9v5pt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e519674645e51de42','119230000189','wait',39,'ari17112337378,753000005')
20230512@154902.6229 dag0al06r2uqumjl5tjmk9v5pt Query : use flama_phc
20230512@154902.6233 dag0al06r2uqumjl5tjmk9v5pt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154902.6244 dag0al06r2uqumjl5tjmk9v5pt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='344';
20230512@154902.6259 dag0al06r2uqumjl5tjmk9v5pt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='344';
20230512@154902.6270 dag0al06r2uqumjl5tjmk9v5pt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='344';
20230512@154902.6281 dag0al06r2uqumjl5tjmk9v5pt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='344';
20230512@154902.6587 k49033badvq6k2hf4rkquvl813 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154902.6600 k49033badvq6k2hf4rkquvl813 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154902.6616 k49033badvq6k2hf4rkquvl813 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='345';
20230512@154902.6654 k49033badvq6k2hf4rkquvl813 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='345';
20230512@154902.6666 k49033badvq6k2hf4rkquvl813 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='345';
20230512@154902.6678 k49033badvq6k2hf4rkquvl813 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='345';
20230512@154902.6688 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.6691 k49033badvq6k2hf4rkquvl813 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154902.6704 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.6707 k49033badvq6k2hf4rkquvl813 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1452
20230512@154902.6740 k49033badvq6k2hf4rkquvl813 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230512@154902.6750 k49033badvq6k2hf4rkquvl813 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 = 0000190 and bi.ref ='324.1690.00.1' and bi.lordem =20000
20230512@154902.8053 k49033badvq6k2hf4rkquvl813 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250743,0070000-2 ' 
20230512@154902.8397 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.8400 k49033badvq6k2hf4rkquvl813 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154902.8413 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.8416 k49033badvq6k2hf4rkquvl813 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154902.8426 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.8429 k49033badvq6k2hf4rkquvl813 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154902.8440 k49033badvq6k2hf4rkquvl813 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
20230512@154902.8454 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.8457 k49033badvq6k2hf4rkquvl813 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154902.8467 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.8470 k49033badvq6k2hf4rkquvl813 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154902.8480 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.8483 k49033badvq6k2hf4rkquvl813 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154902.8493 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.8495 k49033badvq6k2hf4rkquvl813 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - castelo branco'
20230512@154902.8507 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154902.8510 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from td where ndoc = 39
20230512@154902.8519 k49033badvq6k2hf4rkquvl813 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154902.8529 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154902.8544 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154902.8562 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154902.8576 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154902.8604 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154902.8617 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154902.8627 k49033badvq6k2hf4rkquvl813 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154902.8667 k49033badvq6k2hf4rkquvl813 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154902.8677 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154902.8691 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154902.8709 k49033badvq6k2hf4rkquvl813 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e545574645e51ded2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154902.8874 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154902.8889 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154902.8915 k49033badvq6k2hf4rkquvl813 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051136450,403000002 '
20230512@154902.9016 k49033badvq6k2hf4rkquvl813 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051136450,403000002 '
20230512@154902.9106 k49033badvq6k2hf4rkquvl813 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051136450,403000002 '
20230512@154902.9194 k49033badvq6k2hf4rkquvl813 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051136450,403000002 '
20230512@154902.9276 k49033badvq6k2hf4rkquvl813 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051136450,403000002 '
20230512@154902.9353 k49033badvq6k2hf4rkquvl813 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051136450,403000002 '
20230512@154902.9429 k49033badvq6k2hf4rkquvl813 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e545574645e51ded2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154902.9703 k49033badvq6k2hf4rkquvl813 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154902.9719 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154902.9735 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154902.9754 k49033badvq6k2hf4rkquvl813 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 ('aut645e545574645e51ded2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',231,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154903.4800 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154903.5200 k49033badvq6k2hf4rkquvl813 Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230512@154903.6500 k49033badvq6k2hf4rkquvl813 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.1690.00.1'
20230512@154903.7700 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.9400 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154903.1190 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.1330 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154903.1390 k49033badvq6k2hf4rkquvl813 Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100238200a'
20230512@154903.1500 k49033badvq6k2hf4rkquvl813 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154903.1620 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.1750 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154903.2010 k49033badvq6k2hf4rkquvl813 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 ('aut645e509093645e51df03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e545574645e51ded2' ,140.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154903.4590 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.4740 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154903.4780 k49033badvq6k2hf4rkquvl813 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e509093645e51df03','aut645e545574645e51ded2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154903.4830 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.4970 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154903.5240 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.5400 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154903.5450 k49033badvq6k2hf4rkquvl813 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154903.5560 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.5700 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154903.5960 k49033badvq6k2hf4rkquvl813 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e559842645e51df0d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e545574645e51ded2' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154903.8460 k49033badvq6k2hf4rkquvl813 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.8600 k49033badvq6k2hf4rkquvl813 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154903.8650 k49033badvq6k2hf4rkquvl813 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e559842645e51df0d','aut645e545574645e51ded2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154903.8690 k49033badvq6k2hf4rkquvl813 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e545574645e51ded2','119230000190','wait',39,'ari17112337378,753000005')
20230512@154903.8870 k49033badvq6k2hf4rkquvl813 Query : use flama_phc
20230512@154903.8900 k49033badvq6k2hf4rkquvl813 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154903.9010 k49033badvq6k2hf4rkquvl813 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='345';
20230512@154903.9150 k49033badvq6k2hf4rkquvl813 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='345';
20230512@154903.9260 k49033badvq6k2hf4rkquvl813 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='345';
20230512@154903.9400 k49033badvq6k2hf4rkquvl813 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='345';
20230512@154903.1291 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154903.1305 25k94nbgk8m2mfq3bpn2lgqfjk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154903.1326 25k94nbgk8m2mfq3bpn2lgqfjk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='346';
20230512@154903.1367 25k94nbgk8m2mfq3bpn2lgqfjk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='346';
20230512@154903.1389 25k94nbgk8m2mfq3bpn2lgqfjk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='346';
20230512@154903.1401 25k94nbgk8m2mfq3bpn2lgqfjk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='346';
20230512@154903.1417 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.1420 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154903.1437 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.1440 25k94nbgk8m2mfq3bpn2lgqfjk Query : select no, estab,szadrsdesc from szadrs where u_coddest=1452
20230512@154903.1476 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154903.1486 25k94nbgk8m2mfq3bpn2lgqfjk 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 = 0000191 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154903.1829 25k94nbgk8m2mfq3bpn2lgqfjk Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250757,7340000-2 ' 
20230512@154903.2226 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154903.2237 25k94nbgk8m2mfq3bpn2lgqfjk 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 = 0000191 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154903.2249 25k94nbgk8m2mfq3bpn2lgqfjk Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250757,7340000-2 ' 
20230512@154903.2258 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.2261 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154903.2274 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.2276 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154903.2286 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.2289 25k94nbgk8m2mfq3bpn2lgqfjk Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154903.2298 25k94nbgk8m2mfq3bpn2lgqfjk 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
20230512@154903.2320 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.2323 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154903.2333 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.2336 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154903.2914 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.2998 25k94nbgk8m2mfq3bpn2lgqfjk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154903.3860 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.3945 25k94nbgk8m2mfq3bpn2lgqfjk Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - castelo branco'
20230512@154903.4244 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.4248 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from td where ndoc = 39
20230512@154903.4258 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154903.4270 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154903.4284 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154903.4305 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154903.4320 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154903.4350 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154903.4363 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154903.4373 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154903.4416 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154903.4426 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154903.4449 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154903.4459 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e597565645e51df6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154903.4623 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154903.4641 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154903.4668 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051244449,223000002 '
20230512@154903.4788 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051244449,223000002 '
20230512@154903.4892 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051244449,223000002 '
20230512@154903.5000 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051244449,223000002 '
20230512@154903.5089 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051244449,223000002 '
20230512@154903.5173 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051244449,223000002 '
20230512@154903.5269 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e597565645e51df6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154903.5633 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154903.5650 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154903.5666 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154903.5685 25k94nbgk8m2mfq3bpn2lgqfjk 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 ('aut645e597565645e51df6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',232,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154903.6095 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.6100 25k94nbgk8m2mfq3bpn2lgqfjk Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154903.6114 25k94nbgk8m2mfq3bpn2lgqfjk 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 = '328.9316.00.1'
20230512@154903.6127 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.6143 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154903.6169 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.6184 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154903.6189 25k94nbgk8m2mfq3bpn2lgqfjk Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154903.6201 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154903.6212 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.6231 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154903.6254 25k94nbgk8m2mfq3bpn2lgqfjk 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 ('aut645e520349645e51df97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e597565645e51df6a' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154903.6547 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.6562 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154903.6577 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e520349645e51df97','aut645e597565645e51df6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154903.6584 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.6599 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154903.6620 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.6631 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154903.6636 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154903.6646 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.6657 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154903.6680 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e542279645e51dfa2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e597565645e51df6a' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154903.6940 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.6958 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154903.6963 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e542279645e51dfa2','aut645e597565645e51df6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154903.6967 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.6971 25k94nbgk8m2mfq3bpn2lgqfjk Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154903.6983 25k94nbgk8m2mfq3bpn2lgqfjk 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 = '328.9316.00.1'
20230512@154903.6995 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.7009 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154903.7035 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.7051 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154903.7056 25k94nbgk8m2mfq3bpn2lgqfjk Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154903.7068 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154903.7077 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.7090 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154903.7113 25k94nbgk8m2mfq3bpn2lgqfjk 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 ('aut645e533516645e51dfac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e597565645e51df6a' ,83.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230512@154903.7370 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.7385 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154903.7390 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e533516645e51dfac','aut645e597565645e51df6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154903.7394 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.7407 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154903.7428 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.7440 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154903.7444 25k94nbgk8m2mfq3bpn2lgqfjk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154903.7453 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154903.7465 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154903.7487 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e517234645e51dfb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e597565645e51df6a' ,0,0 ,2,23.00,50000,?,?,?)
20230512@154903.7739 25k94nbgk8m2mfq3bpn2lgqfjk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154903.7754 25k94nbgk8m2mfq3bpn2lgqfjk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154903.7760 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e517234645e51dfb5','aut645e597565645e51df6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154903.7765 25k94nbgk8m2mfq3bpn2lgqfjk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e597565645e51df6a','119230000191','wait',39,'ari17112337378,753000005')
20230512@154903.7782 25k94nbgk8m2mfq3bpn2lgqfjk Query : use flama_phc
20230512@154903.7785 25k94nbgk8m2mfq3bpn2lgqfjk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154903.7799 25k94nbgk8m2mfq3bpn2lgqfjk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='346';
20230512@154903.7814 25k94nbgk8m2mfq3bpn2lgqfjk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='346';
20230512@154903.7826 25k94nbgk8m2mfq3bpn2lgqfjk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='346';
20230512@154903.7838 25k94nbgk8m2mfq3bpn2lgqfjk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='346';
20230512@154903.8171 4illbbadu2pn0mebr5k9jt1hmc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154903.8190 4illbbadu2pn0mebr5k9jt1hmc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154903.8206 4illbbadu2pn0mebr5k9jt1hmc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='347';
20230512@154903.8246 4illbbadu2pn0mebr5k9jt1hmc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='347';
20230512@154903.8258 4illbbadu2pn0mebr5k9jt1hmc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='347';
20230512@154903.8269 4illbbadu2pn0mebr5k9jt1hmc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='347';
20230512@154903.8280 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.8283 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154903.8296 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.8299 4illbbadu2pn0mebr5k9jt1hmc Query : select no, estab,szadrsdesc from szadrs where u_coddest=634
20230512@154903.8374 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230512@154903.8387 4illbbadu2pn0mebr5k9jt1hmc 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 = 0000192 and bi.ref ='324.1690.00.1' and bi.lordem =20000
20230512@154903.8739 4illbbadu2pn0mebr5k9jt1hmc Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250774,4100000-2 ' 
20230512@154903.9091 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.9095 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154903.9108 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.9111 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154903.9121 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.9124 4illbbadu2pn0mebr5k9jt1hmc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154903.9136 4illbbadu2pn0mebr5k9jt1hmc 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
20230512@154903.9152 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.9154 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154903.9165 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.9167 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154903.9178 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.9182 4illbbadu2pn0mebr5k9jt1hmc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154903.9193 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.9196 4illbbadu2pn0mebr5k9jt1hmc Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom - covilhã'
20230512@154903.9209 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154903.9212 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from td where ndoc = 39
20230512@154903.9222 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154903.9235 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154903.9249 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154903.9267 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154903.9279 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154903.9305 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154903.9317 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154903.9326 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154903.9366 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154903.9375 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154903.9387 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154903.9396 4illbbadu2pn0mebr5k9jt1hmc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e539402645e51dfe3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154903.9554 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154903.9567 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154903.9596 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051135824,711000002 '
20230512@154903.9698 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051135824,711000002 '
20230512@154903.9798 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051135824,711000002 '
20230512@154903.9900 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051135824,711000002 '
20230512@154904.2000 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051135824,711000002 '
20230512@154904.1270 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051135824,711000002 '
20230512@154904.2280 4illbbadu2pn0mebr5k9jt1hmc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e539402645e51dfe3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154904.5070 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154904.5280 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154904.5460 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154904.5670 4illbbadu2pn0mebr5k9jt1hmc 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 ('aut645e539402645e51dfe3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',233,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154904.8930 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154904.8970 4illbbadu2pn0mebr5k9jt1hmc Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230512@154904.9110 4illbbadu2pn0mebr5k9jt1hmc 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.1690.00.1'
20230512@154904.9280 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.9470 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154904.9920 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.1010 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154904.1015 4illbbadu2pn0mebr5k9jt1hmc Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100238200a'
20230512@154904.1028 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154904.1040 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.1055 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154904.1081 4illbbadu2pn0mebr5k9jt1hmc 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 ('aut645e548134645e51e019',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e539402645e51dfe3' ,140.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154904.1357 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.1374 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154904.1379 4illbbadu2pn0mebr5k9jt1hmc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e548134645e51e019','aut645e539402645e51dfe3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154904.1385 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.1426 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154904.2455 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.2471 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154904.2476 4illbbadu2pn0mebr5k9jt1hmc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154904.2489 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.2504 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154904.2532 4illbbadu2pn0mebr5k9jt1hmc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e508757645e51e03c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e539402645e51dfe3' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154904.2938 4illbbadu2pn0mebr5k9jt1hmc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.2961 4illbbadu2pn0mebr5k9jt1hmc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154904.2968 4illbbadu2pn0mebr5k9jt1hmc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e508757645e51e03c','aut645e539402645e51dfe3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154904.2975 4illbbadu2pn0mebr5k9jt1hmc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e539402645e51dfe3','119230000192','wait',39,'ari17112337378,753000005')
20230512@154904.2999 4illbbadu2pn0mebr5k9jt1hmc Query : use flama_phc
20230512@154904.3003 4illbbadu2pn0mebr5k9jt1hmc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154904.3017 4illbbadu2pn0mebr5k9jt1hmc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='347';
20230512@154904.3035 4illbbadu2pn0mebr5k9jt1hmc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='347';
20230512@154904.3051 4illbbadu2pn0mebr5k9jt1hmc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='347';
20230512@154904.3063 4illbbadu2pn0mebr5k9jt1hmc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='347';
20230512@154904.3378 ainfck4rchftg8jod0o6cor3o0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154904.3397 ainfck4rchftg8jod0o6cor3o0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154904.3417 ainfck4rchftg8jod0o6cor3o0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='348';
20230512@154904.3464 ainfck4rchftg8jod0o6cor3o0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='348';
20230512@154904.3478 ainfck4rchftg8jod0o6cor3o0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='348';
20230512@154904.3493 ainfck4rchftg8jod0o6cor3o0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='348';
20230512@154904.3506 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.3511 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154904.3529 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.3533 ainfck4rchftg8jod0o6cor3o0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=634
20230512@154904.3582 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154904.3594 ainfck4rchftg8jod0o6cor3o0 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 = 0000193 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154904.3950 ainfck4rchftg8jod0o6cor3o0 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250787,1500000-2 ' 
20230512@154904.4465 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154904.4476 ainfck4rchftg8jod0o6cor3o0 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 = 0000193 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154904.4488 ainfck4rchftg8jod0o6cor3o0 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250787,1500000-2 ' 
20230512@154904.4498 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.4501 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154904.4514 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.4517 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154904.4526 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.4529 ainfck4rchftg8jod0o6cor3o0 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154904.4542 ainfck4rchftg8jod0o6cor3o0 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
20230512@154904.4560 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.4564 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154904.4576 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.4579 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154904.4591 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.4594 ainfck4rchftg8jod0o6cor3o0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154904.4604 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.4607 ainfck4rchftg8jod0o6cor3o0 Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom - covilhã'
20230512@154904.4620 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.4623 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from td where ndoc = 39
20230512@154904.4635 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154904.4647 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154904.4662 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154904.4684 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154904.4703 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154904.4740 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154904.4764 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154904.4779 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154904.4856 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154904.4870 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154904.4888 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154904.4900 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e540301645e51e074' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154904.5140 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154904.5157 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154904.5192 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051244711,701000002 '
20230512@154904.5300 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051244711,701000002 '
20230512@154904.5397 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051244711,701000002 '
20230512@154904.5511 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051244711,701000002 '
20230512@154904.5619 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051244711,701000002 '
20230512@154904.5819 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051244711,701000002 '
20230512@154904.6091 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e540301645e51e074',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154904.6464 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154904.6613 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154904.6628 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154904.6648 ainfck4rchftg8jod0o6cor3o0 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 ('aut645e540301645e51e074',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',234,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154904.6970 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.7010 ainfck4rchftg8jod0o6cor3o0 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154904.7067 ainfck4rchftg8jod0o6cor3o0 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 = '328.9316.00.1'
20230512@154904.7079 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.7095 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154904.7122 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.7139 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154904.7144 ainfck4rchftg8jod0o6cor3o0 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154904.7155 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154904.7165 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.7177 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154904.7205 ainfck4rchftg8jod0o6cor3o0 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 ('aut645e521294645e51e0ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e540301645e51e074' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154904.7474 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.7490 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154904.7495 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e521294645e51e0ae','aut645e540301645e51e074' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154904.7500 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.7514 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154904.7542 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.7555 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154904.7560 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154904.7571 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.7584 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154904.7609 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e511334645e51e0b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e540301645e51e074' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154904.7866 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.7882 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154904.7886 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e511334645e51e0b8','aut645e540301645e51e074' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154904.7891 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.7895 ainfck4rchftg8jod0o6cor3o0 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154904.7906 ainfck4rchftg8jod0o6cor3o0 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 = '328.9316.00.1'
20230512@154904.7918 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.7931 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154904.7956 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.7971 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154904.7976 ainfck4rchftg8jod0o6cor3o0 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154904.7987 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154904.7998 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.8012 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154904.8037 ainfck4rchftg8jod0o6cor3o0 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 ('aut645e532182645e51e0c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e540301645e51e074' ,83.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230512@154904.8292 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.8308 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154904.8314 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e532182645e51e0c3','aut645e540301645e51e074' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154904.8319 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.8333 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154904.8360 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.8373 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154904.8378 ainfck4rchftg8jod0o6cor3o0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154904.8391 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154904.8404 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154904.8428 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e544362645e51e0cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e540301645e51e074' ,0,0 ,2,23.00,50000,?,?,?)
20230512@154904.8696 ainfck4rchftg8jod0o6cor3o0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154904.8712 ainfck4rchftg8jod0o6cor3o0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154904.8716 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e544362645e51e0cc','aut645e540301645e51e074' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154904.8721 ainfck4rchftg8jod0o6cor3o0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e540301645e51e074','119230000193','wait',39,'ari17112337378,753000005')
20230512@154904.8737 ainfck4rchftg8jod0o6cor3o0 Query : use flama_phc
20230512@154904.8741 ainfck4rchftg8jod0o6cor3o0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154904.8752 ainfck4rchftg8jod0o6cor3o0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='348';
20230512@154904.8769 ainfck4rchftg8jod0o6cor3o0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='348';
20230512@154904.8784 ainfck4rchftg8jod0o6cor3o0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='348';
20230512@154904.8799 ainfck4rchftg8jod0o6cor3o0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='348';
20230512@154904.9085 gokp9m04o4mgqm0vk22u4midr4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154904.9100 gokp9m04o4mgqm0vk22u4midr4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154904.9116 gokp9m04o4mgqm0vk22u4midr4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='349';
20230512@154904.9159 gokp9m04o4mgqm0vk22u4midr4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='349';
20230512@154904.9173 gokp9m04o4mgqm0vk22u4midr4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='349';
20230512@154904.9186 gokp9m04o4mgqm0vk22u4midr4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='349';
20230512@154904.9198 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154904.9201 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154904.9217 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154904.9221 gokp9m04o4mgqm0vk22u4midr4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20230512@154904.9302 gokp9m04o4mgqm0vk22u4midr4 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'
20230512@154904.9315 gokp9m04o4mgqm0vk22u4midr4 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 = 0000194 and bi.ref ='304.4860.00.1' and bi.lordem =20000
20230512@154904.9728 gokp9m04o4mgqm0vk22u4midr4 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250803,5440000-2 ' 
20230512@154905.9700 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.1010 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154905.1170 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.1200 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154905.1310 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.1340 gokp9m04o4mgqm0vk22u4midr4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154905.1480 gokp9m04o4mgqm0vk22u4midr4 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
20230512@154905.1630 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.1660 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154905.1780 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.1810 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154905.1930 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.1960 gokp9m04o4mgqm0vk22u4midr4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154905.2070 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.2100 gokp9m04o4mgqm0vk22u4midr4 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20230512@154905.2230 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.2260 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from td where ndoc = 39
20230512@154905.2360 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154905.2470 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154905.2600 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154905.2760 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154905.2880 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154905.3140 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154905.3270 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154905.3380 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154905.3790 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154905.3900 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154905.4030 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154905.4130 gokp9m04o4mgqm0vk22u4midr4 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e530730645e51e108' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154905.6820 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154905.7610 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154905.7900 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051236189,946000002 '
20230512@154905.1039 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051236189,946000002 '
20230512@154905.1141 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051236189,946000002 '
20230512@154905.1228 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051236189,946000002 '
20230512@154905.1515 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051236189,946000002 '
20230512@154905.1622 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051236189,946000002 '
20230512@154905.1711 gokp9m04o4mgqm0vk22u4midr4 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e530730645e51e108',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154905.1977 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154905.1992 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154905.2005 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154905.2022 gokp9m04o4mgqm0vk22u4midr4 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 ('aut645e530730645e51e108',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',235,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154905.2300 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.2303 gokp9m04o4mgqm0vk22u4midr4 Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20230512@154905.2315 gokp9m04o4mgqm0vk22u4midr4 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'
20230512@154905.2325 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154905.2338 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154905.2364 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154905.2377 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154905.2381 gokp9m04o4mgqm0vk22u4midr4 Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20230512@154905.2392 gokp9m04o4mgqm0vk22u4midr4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154905.2401 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154905.2414 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154905.2436 gokp9m04o4mgqm0vk22u4midr4 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 ('aut645e541893645e51e13a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645e530730645e51e108' ,51.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154905.2682 gokp9m04o4mgqm0vk22u4midr4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154905.2698 gokp9m04o4mgqm0vk22u4midr4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154905.2703 gokp9m04o4mgqm0vk22u4midr4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e541893645e51e13a','aut645e530730645e51e108' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154905.2708 gokp9m04o4mgqm0vk22u4midr4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e530730645e51e108','119230000194','wait',39,'ari17112337378,753000005')
20230512@154905.2725 gokp9m04o4mgqm0vk22u4midr4 Query : use flama_phc
20230512@154905.2728 gokp9m04o4mgqm0vk22u4midr4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154905.2739 gokp9m04o4mgqm0vk22u4midr4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='349';
20230512@154905.2754 gokp9m04o4mgqm0vk22u4midr4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='349';
20230512@154905.2766 gokp9m04o4mgqm0vk22u4midr4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='349';
20230512@154905.2777 gokp9m04o4mgqm0vk22u4midr4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='349';
20230512@154905.3151 0mae8rurspb1pq3iatd65bjnca Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154905.3165 0mae8rurspb1pq3iatd65bjnca Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154905.3181 0mae8rurspb1pq3iatd65bjnca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='350';
20230512@154905.3222 0mae8rurspb1pq3iatd65bjnca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='350';
20230512@154905.3235 0mae8rurspb1pq3iatd65bjnca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='350';
20230512@154905.3247 0mae8rurspb1pq3iatd65bjnca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='350';
20230512@154905.3258 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.3262 0mae8rurspb1pq3iatd65bjnca Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154905.3276 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.3279 0mae8rurspb1pq3iatd65bjnca Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20230512@154905.3313 0mae8rurspb1pq3iatd65bjnca 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'
20230512@154905.3324 0mae8rurspb1pq3iatd65bjnca 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 = 0000195 and bi.ref ='324.1642.00.1' and bi.lordem =20000
20230512@154905.3689 0mae8rurspb1pq3iatd65bjnca Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250817,2460000-2 ' 
20230512@154905.4035 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.4039 0mae8rurspb1pq3iatd65bjnca Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154905.4052 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.4055 0mae8rurspb1pq3iatd65bjnca Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154905.4066 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.4069 0mae8rurspb1pq3iatd65bjnca Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154905.4081 0mae8rurspb1pq3iatd65bjnca 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
20230512@154905.4097 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.4100 0mae8rurspb1pq3iatd65bjnca Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154905.4112 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.4115 0mae8rurspb1pq3iatd65bjnca Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154905.4126 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.4130 0mae8rurspb1pq3iatd65bjnca Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154905.4140 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.4143 0mae8rurspb1pq3iatd65bjnca Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20230512@154905.4155 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.4158 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from td where ndoc = 39
20230512@154905.4168 0mae8rurspb1pq3iatd65bjnca Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154905.4179 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154905.4192 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154905.4210 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154905.4222 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154905.4250 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154905.4263 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154905.4273 0mae8rurspb1pq3iatd65bjnca Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154905.4316 0mae8rurspb1pq3iatd65bjnca Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154905.4325 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154905.4339 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154905.4349 0mae8rurspb1pq3iatd65bjnca Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e552315645e51e168' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154905.4520 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154905.4536 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154905.4566 0mae8rurspb1pq3iatd65bjnca Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051135040,062000002 '
20230512@154905.4682 0mae8rurspb1pq3iatd65bjnca Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051135040,062000002 '
20230512@154905.4793 0mae8rurspb1pq3iatd65bjnca Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051135040,062000002 '
20230512@154905.4892 0mae8rurspb1pq3iatd65bjnca Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051135040,062000002 '
20230512@154905.4975 0mae8rurspb1pq3iatd65bjnca Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051135040,062000002 '
20230512@154905.5065 0mae8rurspb1pq3iatd65bjnca Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051135040,062000002 '
20230512@154905.5167 0mae8rurspb1pq3iatd65bjnca Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e552315645e51e168',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154905.5454 0mae8rurspb1pq3iatd65bjnca Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154905.5550 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154905.5640 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154905.5662 0mae8rurspb1pq3iatd65bjnca 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 ('aut645e552315645e51e168',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',236,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154905.6109 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.6113 0mae8rurspb1pq3iatd65bjnca Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230512@154905.6125 0mae8rurspb1pq3iatd65bjnca 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'
20230512@154905.6136 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154905.6150 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154905.6178 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154905.6194 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154905.6199 0mae8rurspb1pq3iatd65bjnca Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230512@154905.6211 0mae8rurspb1pq3iatd65bjnca Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154905.6221 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154905.6234 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154905.6258 0mae8rurspb1pq3iatd65bjnca 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 ('aut645e549463645e51e197',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e552315645e51e168' ,89.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154905.6525 0mae8rurspb1pq3iatd65bjnca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154905.6542 0mae8rurspb1pq3iatd65bjnca Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154905.6547 0mae8rurspb1pq3iatd65bjnca Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e549463645e51e197','aut645e552315645e51e168' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154905.6552 0mae8rurspb1pq3iatd65bjnca Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e552315645e51e168','119230000195','wait',39,'ari17112337378,753000005')
20230512@154905.6571 0mae8rurspb1pq3iatd65bjnca Query : use flama_phc
20230512@154905.6574 0mae8rurspb1pq3iatd65bjnca Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154905.6600 0mae8rurspb1pq3iatd65bjnca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='350';
20230512@154905.6615 0mae8rurspb1pq3iatd65bjnca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='350';
20230512@154905.6626 0mae8rurspb1pq3iatd65bjnca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='350';
20230512@154905.6638 0mae8rurspb1pq3iatd65bjnca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='350';
20230512@154905.6970 gvbfl25e3fth99r4b6ntmamvlj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154905.6984 gvbfl25e3fth99r4b6ntmamvlj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154905.7003 gvbfl25e3fth99r4b6ntmamvlj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='351';
20230512@154905.7043 gvbfl25e3fth99r4b6ntmamvlj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='351';
20230512@154905.7056 gvbfl25e3fth99r4b6ntmamvlj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='351';
20230512@154905.7067 gvbfl25e3fth99r4b6ntmamvlj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='351';
20230512@154905.7078 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.7081 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154905.7093 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.7096 gvbfl25e3fth99r4b6ntmamvlj Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20230512@154905.8154 gvbfl25e3fth99r4b6ntmamvlj 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'
20230512@154905.8166 gvbfl25e3fth99r4b6ntmamvlj 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 = 0000196 and bi.ref ='324.1642.00.1' and bi.lordem =20000
20230512@154905.8502 gvbfl25e3fth99r4b6ntmamvlj Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250839,1710000-2 ' 
20230512@154905.8831 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.8834 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154905.8847 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.8850 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154905.8861 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.8863 gvbfl25e3fth99r4b6ntmamvlj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154905.8874 gvbfl25e3fth99r4b6ntmamvlj 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
20230512@154905.8888 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.8891 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154905.8900 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.8904 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154905.8913 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.8916 gvbfl25e3fth99r4b6ntmamvlj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154905.8927 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.8930 gvbfl25e3fth99r4b6ntmamvlj Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - ovar'
20230512@154905.8944 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154905.8948 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from td where ndoc = 39
20230512@154905.8959 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154905.8969 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154905.8983 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154905.8999 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154905.9011 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154905.9038 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154905.9051 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154905.9061 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154905.9113 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154905.9123 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154905.9136 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154905.9146 gvbfl25e3fth99r4b6ntmamvlj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e577473645e51e1dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154905.9305 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154905.9321 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154905.9349 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051135144,147000002 '
20230512@154905.9445 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051135144,147000002 '
20230512@154905.9527 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051135144,147000002 '
20230512@154905.9610 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051135144,147000002 '
20230512@154905.9701 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051135144,147000002 '
20230512@154905.9775 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051135144,147000002 '
20230512@154905.9850 gvbfl25e3fth99r4b6ntmamvlj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e577473645e51e1dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154906.1360 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154906.1510 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154906.1660 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154906.1840 gvbfl25e3fth99r4b6ntmamvlj 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 ('aut645e577473645e51e1dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',237,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154906.4890 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154906.4940 gvbfl25e3fth99r4b6ntmamvlj Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230512@154906.5050 gvbfl25e3fth99r4b6ntmamvlj 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'
20230512@154906.5170 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154906.5300 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154906.5540 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154906.5670 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154906.5720 gvbfl25e3fth99r4b6ntmamvlj Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230512@154906.5820 gvbfl25e3fth99r4b6ntmamvlj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154906.5910 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154906.6030 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154906.6270 gvbfl25e3fth99r4b6ntmamvlj 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 ('aut645e585421645e51e20e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e577473645e51e1dd' ,89.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154906.8800 gvbfl25e3fth99r4b6ntmamvlj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154906.8980 gvbfl25e3fth99r4b6ntmamvlj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154906.9030 gvbfl25e3fth99r4b6ntmamvlj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e585421645e51e20e','aut645e577473645e51e1dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154906.9070 gvbfl25e3fth99r4b6ntmamvlj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e577473645e51e1dd','119230000196','wait',39,'ari17112337378,753000005')
20230512@154906.9230 gvbfl25e3fth99r4b6ntmamvlj Query : use flama_phc
20230512@154906.9250 gvbfl25e3fth99r4b6ntmamvlj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154906.9360 gvbfl25e3fth99r4b6ntmamvlj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='351';
20230512@154906.9500 gvbfl25e3fth99r4b6ntmamvlj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='351';
20230512@154906.9620 gvbfl25e3fth99r4b6ntmamvlj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='351';
20230512@154906.9730 gvbfl25e3fth99r4b6ntmamvlj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='351';
20230512@154906.1282 kfq6k1qtldct0mthsl23cqiaum Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154906.1297 kfq6k1qtldct0mthsl23cqiaum Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154906.1314 kfq6k1qtldct0mthsl23cqiaum Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='352';
20230512@154906.1550 kfq6k1qtldct0mthsl23cqiaum Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='352';
20230512@154906.1566 kfq6k1qtldct0mthsl23cqiaum Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='352';
20230512@154906.1581 kfq6k1qtldct0mthsl23cqiaum Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='352';
20230512@154906.1594 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.1597 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154906.1609 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.1613 kfq6k1qtldct0mthsl23cqiaum Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20230512@154906.1645 kfq6k1qtldct0mthsl23cqiaum 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'
20230512@154906.1654 kfq6k1qtldct0mthsl23cqiaum 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 = 0000197 and bi.ref ='304.4860.00.1' and bi.lordem =20000
20230512@154906.2007 kfq6k1qtldct0mthsl23cqiaum Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250858,7880000-2 ' 
20230512@154906.2358 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.2363 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154906.2378 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.2382 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154906.2394 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.2397 kfq6k1qtldct0mthsl23cqiaum Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154906.2409 kfq6k1qtldct0mthsl23cqiaum 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
20230512@154906.2425 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.2428 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154906.2438 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.2442 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154906.2452 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.2455 kfq6k1qtldct0mthsl23cqiaum Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154906.2465 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.2468 kfq6k1qtldct0mthsl23cqiaum Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - ovar'
20230512@154906.2480 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.2483 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from td where ndoc = 39
20230512@154906.2492 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154906.2503 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154906.2517 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154906.2537 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154906.2551 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154906.2577 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154906.2589 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154906.2599 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154906.2652 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154906.2662 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154906.2676 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154906.2688 kfq6k1qtldct0mthsl23cqiaum Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e591602645e51e23f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154906.2857 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154906.2874 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154906.2901 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051235151,235000001 '
20230512@154906.3148 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051235151,235000001 '
20230512@154906.3246 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051235151,235000001 '
20230512@154906.3326 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051235151,235000001 '
20230512@154906.3412 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051235151,235000001 '
20230512@154906.3496 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051235151,235000001 '
20230512@154906.3587 kfq6k1qtldct0mthsl23cqiaum Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e591602645e51e23f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154906.3849 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154906.3864 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154906.3877 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154906.3905 kfq6k1qtldct0mthsl23cqiaum 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 ('aut645e591602645e51e23f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',238,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154906.4194 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.4199 kfq6k1qtldct0mthsl23cqiaum Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20230512@154906.4211 kfq6k1qtldct0mthsl23cqiaum 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'
20230512@154906.4223 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154906.4237 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154906.4259 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154906.4272 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154906.4276 kfq6k1qtldct0mthsl23cqiaum Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20230512@154906.4286 kfq6k1qtldct0mthsl23cqiaum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154906.4296 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154906.4308 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154906.4332 kfq6k1qtldct0mthsl23cqiaum 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 ('aut645e592798645e51e268',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645e591602645e51e23f' ,51.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154906.4581 kfq6k1qtldct0mthsl23cqiaum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154906.4598 kfq6k1qtldct0mthsl23cqiaum Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154906.4602 kfq6k1qtldct0mthsl23cqiaum Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e592798645e51e268','aut645e591602645e51e23f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154906.4607 kfq6k1qtldct0mthsl23cqiaum Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e591602645e51e23f','119230000197','wait',39,'ari17112337378,753000005')
20230512@154906.4623 kfq6k1qtldct0mthsl23cqiaum Query : use flama_phc
20230512@154906.4627 kfq6k1qtldct0mthsl23cqiaum Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154906.4638 kfq6k1qtldct0mthsl23cqiaum Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='352';
20230512@154906.4653 kfq6k1qtldct0mthsl23cqiaum Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='352';
20230512@154906.4664 kfq6k1qtldct0mthsl23cqiaum Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='352';
20230512@154906.4676 kfq6k1qtldct0mthsl23cqiaum Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='352';
20230512@154906.4988 o90fcvggkp3lp45iv3qggj28b6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154906.5010 o90fcvggkp3lp45iv3qggj28b6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154906.5027 o90fcvggkp3lp45iv3qggj28b6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='353';
20230512@154906.5071 o90fcvggkp3lp45iv3qggj28b6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='353';
20230512@154906.5090 o90fcvggkp3lp45iv3qggj28b6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='353';
20230512@154906.5104 o90fcvggkp3lp45iv3qggj28b6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='353';
20230512@154906.5116 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.5119 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154906.5209 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.5213 o90fcvggkp3lp45iv3qggj28b6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2014
20230512@154906.5298 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230512@154906.5310 o90fcvggkp3lp45iv3qggj28b6 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 = 0000200 and bi.ref ='324.1690.00.1' and bi.lordem =20000
20230512@154906.5699 o90fcvggkp3lp45iv3qggj28b6 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250912,8780000-2 ' 
20230512@154906.6166 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.6171 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154906.6187 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.6191 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154906.6203 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.6207 o90fcvggkp3lp45iv3qggj28b6 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154906.6219 o90fcvggkp3lp45iv3qggj28b6 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
20230512@154906.6234 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.6238 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154906.6249 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.6253 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154906.6266 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.6269 o90fcvggkp3lp45iv3qggj28b6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154906.6282 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.6287 o90fcvggkp3lp45iv3qggj28b6 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - guarda'
20230512@154906.6305 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.6309 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from td where ndoc = 39
20230512@154906.6324 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154906.6340 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154906.6357 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154906.6379 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154906.6394 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154906.6429 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154906.6444 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154906.6457 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154906.6525 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154906.6677 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154906.6694 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154906.6707 o90fcvggkp3lp45iv3qggj28b6 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e586275645e51e29d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154906.6877 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154906.6894 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154906.6924 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051136359,804000002 '
20230512@154906.7025 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051136359,804000002 '
20230512@154906.7115 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051136359,804000002 '
20230512@154906.7214 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051136359,804000002 '
20230512@154906.7312 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051136359,804000002 '
20230512@154906.7406 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051136359,804000002 '
20230512@154906.8612 o90fcvggkp3lp45iv3qggj28b6 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e586275645e51e29d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154906.8891 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154906.8908 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154906.8923 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154906.8943 o90fcvggkp3lp45iv3qggj28b6 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 ('aut645e586275645e51e29d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',239,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154906.9262 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154906.9267 o90fcvggkp3lp45iv3qggj28b6 Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230512@154906.9280 o90fcvggkp3lp45iv3qggj28b6 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.1690.00.1'
20230512@154906.9292 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154906.9307 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154906.9330 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154906.9343 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154906.9348 o90fcvggkp3lp45iv3qggj28b6 Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100238200a'
20230512@154906.9359 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154906.9371 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154906.9391 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154906.9419 o90fcvggkp3lp45iv3qggj28b6 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 ('aut645e516123645e51e2e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e586275645e51e29d' ,140.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154906.9750 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154906.9766 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154906.9771 o90fcvggkp3lp45iv3qggj28b6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e516123645e51e2e4','aut645e586275645e51e29d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154906.9776 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154906.9791 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154906.9819 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154906.9834 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154906.9838 o90fcvggkp3lp45iv3qggj28b6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154906.9849 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154906.9866 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154906.9894 o90fcvggkp3lp45iv3qggj28b6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e540433645e51e2f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e586275645e51e29d' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154907.2640 o90fcvggkp3lp45iv3qggj28b6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154907.2860 o90fcvggkp3lp45iv3qggj28b6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154907.2920 o90fcvggkp3lp45iv3qggj28b6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e540433645e51e2f0','aut645e586275645e51e29d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154907.2980 o90fcvggkp3lp45iv3qggj28b6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e586275645e51e29d','119230000200','wait',39,'ari17112337378,753000005')
20230512@154907.3170 o90fcvggkp3lp45iv3qggj28b6 Query : use flama_phc
20230512@154907.3210 o90fcvggkp3lp45iv3qggj28b6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154907.3330 o90fcvggkp3lp45iv3qggj28b6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='353';
20230512@154907.3510 o90fcvggkp3lp45iv3qggj28b6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='353';
20230512@154907.3630 o90fcvggkp3lp45iv3qggj28b6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='353';
20230512@154907.3760 o90fcvggkp3lp45iv3qggj28b6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='353';
20230512@154907.6850 85pmt09ajgpdd9i476c4js2edu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154907.7090 85pmt09ajgpdd9i476c4js2edu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154907.7270 85pmt09ajgpdd9i476c4js2edu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='354';
20230512@154907.7730 85pmt09ajgpdd9i476c4js2edu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='354';
20230512@154907.7920 85pmt09ajgpdd9i476c4js2edu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='354';
20230512@154907.8050 85pmt09ajgpdd9i476c4js2edu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='354';
20230512@154907.8180 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.8210 85pmt09ajgpdd9i476c4js2edu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154907.8350 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.8380 85pmt09ajgpdd9i476c4js2edu Query : select no, estab,szadrsdesc from szadrs where u_coddest=2014
20230512@154907.8810 85pmt09ajgpdd9i476c4js2edu 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'
20230512@154907.8950 85pmt09ajgpdd9i476c4js2edu 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 = 0000201 and bi.ref ='304.4860.00.1' and bi.lordem =20000
20230512@154907.1373 85pmt09ajgpdd9i476c4js2edu Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250927,6640000-2 ' 
20230512@154907.1724 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.1728 85pmt09ajgpdd9i476c4js2edu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154907.1743 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.1746 85pmt09ajgpdd9i476c4js2edu Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154907.1757 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.1760 85pmt09ajgpdd9i476c4js2edu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154907.1773 85pmt09ajgpdd9i476c4js2edu 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
20230512@154907.1787 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.1790 85pmt09ajgpdd9i476c4js2edu Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154907.1801 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.1804 85pmt09ajgpdd9i476c4js2edu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154907.1821 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.1825 85pmt09ajgpdd9i476c4js2edu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154907.1836 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.1839 85pmt09ajgpdd9i476c4js2edu Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - guarda'
20230512@154907.1851 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.1853 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from td where ndoc = 39
20230512@154907.1864 85pmt09ajgpdd9i476c4js2edu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154907.1877 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154907.1890 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154907.1935 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154907.1950 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154907.1979 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154907.1994 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154907.2006 85pmt09ajgpdd9i476c4js2edu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154907.2048 85pmt09ajgpdd9i476c4js2edu Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154907.2057 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154907.2070 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154907.2080 85pmt09ajgpdd9i476c4js2edu Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e599813645e51e330' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154907.2266 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154907.2283 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154907.2318 85pmt09ajgpdd9i476c4js2edu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051235340,852000002 '
20230512@154907.2424 85pmt09ajgpdd9i476c4js2edu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051235340,852000002 '
20230512@154907.2515 85pmt09ajgpdd9i476c4js2edu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051235340,852000002 '
20230512@154907.2610 85pmt09ajgpdd9i476c4js2edu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051235340,852000002 '
20230512@154907.2702 85pmt09ajgpdd9i476c4js2edu Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051235340,852000002 '
20230512@154907.2782 85pmt09ajgpdd9i476c4js2edu Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051235340,852000002 '
20230512@154907.2862 85pmt09ajgpdd9i476c4js2edu Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e599813645e51e330',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154907.3363 85pmt09ajgpdd9i476c4js2edu Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154907.3380 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154907.3399 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154907.3417 85pmt09ajgpdd9i476c4js2edu 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 ('aut645e599813645e51e330',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',240,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154907.3708 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.3713 85pmt09ajgpdd9i476c4js2edu Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20230512@154907.3724 85pmt09ajgpdd9i476c4js2edu 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'
20230512@154907.3736 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154907.3751 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154907.3773 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154907.3788 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154907.3794 85pmt09ajgpdd9i476c4js2edu Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20230512@154907.3805 85pmt09ajgpdd9i476c4js2edu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154907.3816 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154907.3832 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154907.3862 85pmt09ajgpdd9i476c4js2edu 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 ('aut645e558738645e51e35d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645e599813645e51e330' ,51.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154907.4188 85pmt09ajgpdd9i476c4js2edu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154907.4222 85pmt09ajgpdd9i476c4js2edu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154907.4227 85pmt09ajgpdd9i476c4js2edu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e558738645e51e35d','aut645e599813645e51e330' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154907.4232 85pmt09ajgpdd9i476c4js2edu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e599813645e51e330','119230000201','wait',39,'ari17112337378,753000005')
20230512@154907.4252 85pmt09ajgpdd9i476c4js2edu Query : use flama_phc
20230512@154907.4255 85pmt09ajgpdd9i476c4js2edu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154907.4267 85pmt09ajgpdd9i476c4js2edu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='354';
20230512@154907.4285 85pmt09ajgpdd9i476c4js2edu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='354';
20230512@154907.4297 85pmt09ajgpdd9i476c4js2edu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='354';
20230512@154907.4311 85pmt09ajgpdd9i476c4js2edu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='354';
20230512@154907.4656 72g9okl6spjm16sn45l7c7lf0o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154907.4673 72g9okl6spjm16sn45l7c7lf0o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154907.4692 72g9okl6spjm16sn45l7c7lf0o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='355';
20230512@154907.4784 72g9okl6spjm16sn45l7c7lf0o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='355';
20230512@154907.4798 72g9okl6spjm16sn45l7c7lf0o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='355';
20230512@154907.4815 72g9okl6spjm16sn45l7c7lf0o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='355';
20230512@154907.4828 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.4832 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154907.4849 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.4852 72g9okl6spjm16sn45l7c7lf0o Query : select no, estab,szadrsdesc from szadrs where u_coddest=2632
20230512@154907.4939 72g9okl6spjm16sn45l7c7lf0o 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'
20230512@154907.4953 72g9okl6spjm16sn45l7c7lf0o 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 = 0000202 and bi.ref ='304.4860.00.1' and bi.lordem =20000
20230512@154907.6682 72g9okl6spjm16sn45l7c7lf0o Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250955,7980000-2 ' 
20230512@154907.7145 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.7149 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154907.7164 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.7167 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154907.7178 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.7182 72g9okl6spjm16sn45l7c7lf0o Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154907.7194 72g9okl6spjm16sn45l7c7lf0o 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
20230512@154907.7208 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.7211 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154907.7222 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.7225 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154907.7235 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.7238 72g9okl6spjm16sn45l7c7lf0o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154907.7251 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.7254 72g9okl6spjm16sn45l7c7lf0o Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- braganÇa'
20230512@154907.7266 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.7268 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from td where ndoc = 39
20230512@154907.7278 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154907.7289 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154907.7302 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154907.7319 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154907.7331 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154907.7360 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154907.7373 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154907.7384 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154907.7424 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154907.7435 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154907.7448 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154907.7518 72g9okl6spjm16sn45l7c7lf0o Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e584078645e51e3b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154907.7851 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154907.7867 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154907.7894 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051236048,892000002 '
20230512@154907.8761 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051236048,892000002 '
20230512@154907.8866 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051236048,892000002 '
20230512@154907.8940 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051236048,892000002 '
20230512@154907.9014 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051236048,892000002 '
20230512@154907.9096 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051236048,892000002 '
20230512@154907.9196 72g9okl6spjm16sn45l7c7lf0o Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e584078645e51e3b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154907.9479 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154907.9494 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154907.9508 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154907.9526 72g9okl6spjm16sn45l7c7lf0o 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 ('aut645e584078645e51e3b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',241,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154907.9810 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154907.9814 72g9okl6spjm16sn45l7c7lf0o Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20230512@154907.9825 72g9okl6spjm16sn45l7c7lf0o 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'
20230512@154907.9837 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154907.9852 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154907.9875 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154907.9888 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154907.9892 72g9okl6spjm16sn45l7c7lf0o Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20230512@154907.9902 72g9okl6spjm16sn45l7c7lf0o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154907.9912 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154907.9924 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154907.9948 72g9okl6spjm16sn45l7c7lf0o 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 ('aut645e528299645e51e3f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645e584078645e51e3b4' ,51.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154908.1990 72g9okl6spjm16sn45l7c7lf0o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.2130 72g9okl6spjm16sn45l7c7lf0o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154908.2170 72g9okl6spjm16sn45l7c7lf0o Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e528299645e51e3f1','aut645e584078645e51e3b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154908.2200 72g9okl6spjm16sn45l7c7lf0o Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e584078645e51e3b4','119230000202','wait',39,'ari17112337378,753000005')
20230512@154908.2350 72g9okl6spjm16sn45l7c7lf0o Query : use flama_phc
20230512@154908.2380 72g9okl6spjm16sn45l7c7lf0o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154908.2490 72g9okl6spjm16sn45l7c7lf0o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='355';
20230512@154908.2630 72g9okl6spjm16sn45l7c7lf0o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='355';
20230512@154908.2760 72g9okl6spjm16sn45l7c7lf0o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='355';
20230512@154908.2870 72g9okl6spjm16sn45l7c7lf0o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='355';
20230512@154908.5800 tji6347a4ud5b8o7dtactqu7jg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154908.6000 tji6347a4ud5b8o7dtactqu7jg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154908.6170 tji6347a4ud5b8o7dtactqu7jg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='356';
20230512@154908.6580 tji6347a4ud5b8o7dtactqu7jg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='356';
20230512@154908.6710 tji6347a4ud5b8o7dtactqu7jg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='356';
20230512@154908.6830 tji6347a4ud5b8o7dtactqu7jg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='356';
20230512@154908.6940 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.6970 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154908.7100 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.7130 tji6347a4ud5b8o7dtactqu7jg Query : select no, estab,szadrsdesc from szadrs where u_coddest=2632
20230512@154908.7460 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154908.7560 tji6347a4ud5b8o7dtactqu7jg 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 = 0000203 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154908.1089 tji6347a4ud5b8o7dtactqu7jg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250968,4050000-2 ' 
20230512@154908.1426 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154908.1437 tji6347a4ud5b8o7dtactqu7jg 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 = 0000203 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154908.1450 tji6347a4ud5b8o7dtactqu7jg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051250968,4050000-2 ' 
20230512@154908.1461 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.1465 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154908.1478 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.1480 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154908.1490 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.1493 tji6347a4ud5b8o7dtactqu7jg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154908.1503 tji6347a4ud5b8o7dtactqu7jg 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
20230512@154908.1517 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.1520 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154908.1530 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.1533 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154908.1542 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.1546 tji6347a4ud5b8o7dtactqu7jg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154908.1556 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.1559 tji6347a4ud5b8o7dtactqu7jg Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- braganÇa'
20230512@154908.1570 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.1572 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from td where ndoc = 39
20230512@154908.1582 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154908.1593 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154908.1607 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154908.1624 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154908.1636 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154908.1691 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154908.1706 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154908.1716 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154908.1757 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154908.1766 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154908.1779 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154908.1789 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e579365645e51e429' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154908.1954 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154908.1968 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154908.1995 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051244526,577000002 '
20230512@154908.2099 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051244526,577000002 '
20230512@154908.2181 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051244526,577000002 '
20230512@154908.2262 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051244526,577000002 '
20230512@154908.2337 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051244526,577000002 '
20230512@154908.2416 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051244526,577000002 '
20230512@154908.2502 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e579365645e51e429',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154908.2764 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154908.2779 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154908.2793 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154908.2811 tji6347a4ud5b8o7dtactqu7jg 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 ('aut645e579365645e51e429',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',242,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154908.3251 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.3255 tji6347a4ud5b8o7dtactqu7jg Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154908.3267 tji6347a4ud5b8o7dtactqu7jg 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 = '328.9316.00.1'
20230512@154908.3278 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.3293 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154908.3318 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.3332 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154908.3336 tji6347a4ud5b8o7dtactqu7jg Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154908.3346 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154908.3357 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.3369 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154908.3396 tji6347a4ud5b8o7dtactqu7jg 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 ('aut645e518660645e51e451',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e579365645e51e429' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154908.3667 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.3682 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154908.3687 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e518660645e51e451','aut645e579365645e51e429' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154908.3692 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.3705 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154908.3729 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.3741 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154908.3746 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154908.3758 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.3772 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154908.3800 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e574311645e51e45b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e579365645e51e429' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154908.4260 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.4792 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154908.4797 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e574311645e51e45b','aut645e579365645e51e429' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154908.4806 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.4810 tji6347a4ud5b8o7dtactqu7jg Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154908.4822 tji6347a4ud5b8o7dtactqu7jg 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 = '328.9316.00.1'
20230512@154908.4833 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.4848 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154908.4872 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.4885 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154908.4889 tji6347a4ud5b8o7dtactqu7jg Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154908.4900 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154908.4911 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.4923 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154908.4948 tji6347a4ud5b8o7dtactqu7jg 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 ('aut645e553727645e51e477',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e579365645e51e429' ,83.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230512@154908.5202 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.5217 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154908.5221 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e553727645e51e477','aut645e579365645e51e429' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154908.5226 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.5239 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154908.5261 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.5272 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154908.5277 tji6347a4ud5b8o7dtactqu7jg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154908.5286 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.5299 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154908.5326 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e578221645e51e481',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e579365645e51e429' ,0,0 ,2,23.00,50000,?,?,?)
20230512@154908.5585 tji6347a4ud5b8o7dtactqu7jg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154908.5604 tji6347a4ud5b8o7dtactqu7jg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154908.5610 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e578221645e51e481','aut645e579365645e51e429' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154908.5616 tji6347a4ud5b8o7dtactqu7jg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e579365645e51e429','119230000203','wait',39,'ari17112337378,753000005')
20230512@154908.5639 tji6347a4ud5b8o7dtactqu7jg Query : use flama_phc
20230512@154908.5642 tji6347a4ud5b8o7dtactqu7jg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154908.5657 tji6347a4ud5b8o7dtactqu7jg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='356';
20230512@154908.5672 tji6347a4ud5b8o7dtactqu7jg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='356';
20230512@154908.5684 tji6347a4ud5b8o7dtactqu7jg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='356';
20230512@154908.5696 tji6347a4ud5b8o7dtactqu7jg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='356';
20230512@154908.6367 utijnrfr4qagu9r8osj8k50r92 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154908.6381 utijnrfr4qagu9r8osj8k50r92 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154908.6437 utijnrfr4qagu9r8osj8k50r92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='357';
20230512@154908.6510 utijnrfr4qagu9r8osj8k50r92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='357';
20230512@154908.6526 utijnrfr4qagu9r8osj8k50r92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='357';
20230512@154908.6537 utijnrfr4qagu9r8osj8k50r92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='357';
20230512@154908.6548 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.6551 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154908.6562 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.6565 utijnrfr4qagu9r8osj8k50r92 Query : select no, estab,szadrsdesc from szadrs where u_coddest=908
20230512@154908.6635 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154908.6645 utijnrfr4qagu9r8osj8k50r92 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 = 0000205 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154908.6988 utijnrfr4qagu9r8osj8k50r92 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251740,1630000-2 ' 
20230512@154908.7324 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154908.7334 utijnrfr4qagu9r8osj8k50r92 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 = 0000205 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154908.7348 utijnrfr4qagu9r8osj8k50r92 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251740,1630000-2 ' 
20230512@154908.7358 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.7361 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154908.7373 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.7375 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154908.7385 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.7388 utijnrfr4qagu9r8osj8k50r92 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154908.7399 utijnrfr4qagu9r8osj8k50r92 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
20230512@154908.7412 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.7415 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154908.7424 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.7427 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154908.7436 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.7439 utijnrfr4qagu9r8osj8k50r92 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154908.7449 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.7452 utijnrfr4qagu9r8osj8k50r92 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda-aveiro'
20230512@154908.7464 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.7466 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from td where ndoc = 39
20230512@154908.7475 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154908.7486 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154908.7499 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154908.7515 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154908.7527 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154908.7555 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154908.7567 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154908.7576 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154908.7615 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154908.7625 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154908.7636 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154908.7645 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e555575645e51e4b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154908.7820 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154908.8752 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154908.8780 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051245154,177000002 '
20230512@154908.8880 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051245154,177000002 '
20230512@154908.8952 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051245154,177000002 '
20230512@154908.9069 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051245154,177000002 '
20230512@154908.9164 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051245154,177000002 '
20230512@154908.9249 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051245154,177000002 '
20230512@154908.9343 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e555575645e51e4b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154908.9618 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154908.9636 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154908.9649 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154908.9666 utijnrfr4qagu9r8osj8k50r92 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 ('aut645e555575645e51e4b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',243,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154908.9936 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154908.9955 utijnrfr4qagu9r8osj8k50r92 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154908.9967 utijnrfr4qagu9r8osj8k50r92 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 = '328.9316.00.1'
20230512@154908.9978 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154908.9992 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154909.1600 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.2900 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154909.3400 utijnrfr4qagu9r8osj8k50r92 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154909.4400 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154909.5400 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.6600 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154909.8900 utijnrfr4qagu9r8osj8k50r92 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 ('aut645e503480645e51e501',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e555575645e51e4b8' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154909.3970 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.1979 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154909.2006 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e503480645e51e501','aut645e555575645e51e4b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154909.2020 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.2035 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154909.2062 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.2075 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154909.2080 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154909.2089 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.2102 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154909.2128 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e596473645e51e533',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e555575645e51e4b8' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154909.2378 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.2393 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154909.2398 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e596473645e51e533','aut645e555575645e51e4b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154909.2402 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154909.2405 utijnrfr4qagu9r8osj8k50r92 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154909.2415 utijnrfr4qagu9r8osj8k50r92 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 = '328.9316.00.1'
20230512@154909.2426 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.2439 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154909.2462 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.2474 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154909.2478 utijnrfr4qagu9r8osj8k50r92 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154909.2488 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154909.2498 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.2510 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154909.2533 utijnrfr4qagu9r8osj8k50r92 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 ('aut645e533241645e51e53c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e555575645e51e4b8' ,83.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230512@154909.2776 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.2791 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154909.2795 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e533241645e51e53c','aut645e555575645e51e4b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154909.2800 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.2812 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154909.2836 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.2848 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154909.2852 utijnrfr4qagu9r8osj8k50r92 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154909.2862 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.2874 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154909.2896 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e554015645e51e545',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e555575645e51e4b8' ,0,0 ,2,23.00,50000,?,?,?)
20230512@154909.3138 utijnrfr4qagu9r8osj8k50r92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.3153 utijnrfr4qagu9r8osj8k50r92 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154909.3158 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e554015645e51e545','aut645e555575645e51e4b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154909.3162 utijnrfr4qagu9r8osj8k50r92 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e555575645e51e4b8','119230000205','wait',39,'ari17112337378,753000005')
20230512@154909.3177 utijnrfr4qagu9r8osj8k50r92 Query : use flama_phc
20230512@154909.3180 utijnrfr4qagu9r8osj8k50r92 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154909.3193 utijnrfr4qagu9r8osj8k50r92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='357';
20230512@154909.3207 utijnrfr4qagu9r8osj8k50r92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='357';
20230512@154909.3218 utijnrfr4qagu9r8osj8k50r92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='357';
20230512@154909.3229 utijnrfr4qagu9r8osj8k50r92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='357';
20230512@154909.3545 c9joghvp9to9m2i7haiunfq9la Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154909.3560 c9joghvp9to9m2i7haiunfq9la Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154909.3576 c9joghvp9to9m2i7haiunfq9la Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='358';
20230512@154909.3620 c9joghvp9to9m2i7haiunfq9la Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='358';
20230512@154909.3672 c9joghvp9to9m2i7haiunfq9la Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='358';
20230512@154909.3685 c9joghvp9to9m2i7haiunfq9la Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='358';
20230512@154909.3695 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.3699 c9joghvp9to9m2i7haiunfq9la Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154909.3711 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.3714 c9joghvp9to9m2i7haiunfq9la Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20230512@154909.3810 c9joghvp9to9m2i7haiunfq9la Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230512@154909.3822 c9joghvp9to9m2i7haiunfq9la 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 = 0000206 and bi.ref ='324.1690.00.1' and bi.lordem =20000
20230512@154909.4151 c9joghvp9to9m2i7haiunfq9la Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251764,1520000-2 ' 
20230512@154909.4494 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.4498 c9joghvp9to9m2i7haiunfq9la Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154909.4511 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.4514 c9joghvp9to9m2i7haiunfq9la Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154909.4524 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.4527 c9joghvp9to9m2i7haiunfq9la Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154909.4538 c9joghvp9to9m2i7haiunfq9la 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
20230512@154909.4553 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.4556 c9joghvp9to9m2i7haiunfq9la Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154909.4566 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.4569 c9joghvp9to9m2i7haiunfq9la Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154909.4579 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.4582 c9joghvp9to9m2i7haiunfq9la Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154909.4592 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.4596 c9joghvp9to9m2i7haiunfq9la Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20230512@154909.4610 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.4613 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from td where ndoc = 39
20230512@154909.4623 c9joghvp9to9m2i7haiunfq9la Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154909.4636 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154909.4650 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154909.4667 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154909.4679 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154909.4709 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154909.4723 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154909.4735 c9joghvp9to9m2i7haiunfq9la Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154909.4776 c9joghvp9to9m2i7haiunfq9la Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154909.4785 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154909.4799 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154909.4808 c9joghvp9to9m2i7haiunfq9la Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e580629645e51e573' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154909.4969 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154909.4984 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154909.5012 c9joghvp9to9m2i7haiunfq9la Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051136137,296000002 '
20230512@154909.5104 c9joghvp9to9m2i7haiunfq9la Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051136137,296000002 '
20230512@154909.5180 c9joghvp9to9m2i7haiunfq9la Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051136137,296000002 '
20230512@154909.5257 c9joghvp9to9m2i7haiunfq9la Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051136137,296000002 '
20230512@154909.6280 c9joghvp9to9m2i7haiunfq9la Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051136137,296000002 '
20230512@154909.6383 c9joghvp9to9m2i7haiunfq9la Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051136137,296000002 '
20230512@154909.6466 c9joghvp9to9m2i7haiunfq9la Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e580629645e51e573',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154909.6732 c9joghvp9to9m2i7haiunfq9la Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154909.6747 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154909.6761 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154909.6779 c9joghvp9to9m2i7haiunfq9la 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 ('aut645e580629645e51e573',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',244,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154909.7055 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.7059 c9joghvp9to9m2i7haiunfq9la Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230512@154909.7071 c9joghvp9to9m2i7haiunfq9la 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.1690.00.1'
20230512@154909.7082 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.7096 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154909.7120 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.7133 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154909.7139 c9joghvp9to9m2i7haiunfq9la Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100238200a'
20230512@154909.7151 c9joghvp9to9m2i7haiunfq9la Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154909.7161 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.7172 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154909.7196 c9joghvp9to9m2i7haiunfq9la 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 ('aut645e514778645e51e5ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e580629645e51e573' ,140.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154909.7478 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.7493 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154909.7498 c9joghvp9to9m2i7haiunfq9la Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e514778645e51e5ae','aut645e580629645e51e573' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154909.7503 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.7515 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154909.7539 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.7552 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154909.7556 c9joghvp9to9m2i7haiunfq9la Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154909.7566 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154909.7577 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154909.7601 c9joghvp9to9m2i7haiunfq9la Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e555294645e51e5b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e580629645e51e573' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154909.7853 c9joghvp9to9m2i7haiunfq9la Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154909.7868 c9joghvp9to9m2i7haiunfq9la Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154909.7873 c9joghvp9to9m2i7haiunfq9la Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e555294645e51e5b8','aut645e580629645e51e573' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154909.7885 c9joghvp9to9m2i7haiunfq9la Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e580629645e51e573','119230000206','wait',39,'ari17112337378,753000005')
20230512@154909.7901 c9joghvp9to9m2i7haiunfq9la Query : use flama_phc
20230512@154909.7903 c9joghvp9to9m2i7haiunfq9la Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154909.7915 c9joghvp9to9m2i7haiunfq9la Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='358';
20230512@154909.7929 c9joghvp9to9m2i7haiunfq9la Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='358';
20230512@154909.7940 c9joghvp9to9m2i7haiunfq9la Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='358';
20230512@154909.7952 c9joghvp9to9m2i7haiunfq9la Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='358';
20230512@154909.8278 rb5td71nrtup4jqua9j3e7iqts Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154909.8304 rb5td71nrtup4jqua9j3e7iqts Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154909.8321 rb5td71nrtup4jqua9j3e7iqts Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='359';
20230512@154909.8362 rb5td71nrtup4jqua9j3e7iqts Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='359';
20230512@154909.8375 rb5td71nrtup4jqua9j3e7iqts Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='359';
20230512@154909.8390 rb5td71nrtup4jqua9j3e7iqts Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='359';
20230512@154909.8403 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154909.8406 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154909.8418 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154909.8421 rb5td71nrtup4jqua9j3e7iqts Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20230512@154909.8454 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5389.00.1'
20230512@154909.8614 rb5td71nrtup4jqua9j3e7iqts 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 = 0000207 and bi.ref ='324.5389.00.1' and bi.lordem =20000
20230512@154909.8954 rb5td71nrtup4jqua9j3e7iqts Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251779,9250000-2 ' 
20230512@154910.9800 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.1020 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154910.1160 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.1190 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154910.1290 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.1320 rb5td71nrtup4jqua9j3e7iqts Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154910.1440 rb5td71nrtup4jqua9j3e7iqts 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
20230512@154910.1570 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.1600 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154910.1700 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.1730 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154910.1830 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.1860 rb5td71nrtup4jqua9j3e7iqts Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154910.1970 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.1990 rb5td71nrtup4jqua9j3e7iqts Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20230512@154910.2220 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.2250 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from td where ndoc = 39
20230512@154910.2340 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154910.2450 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154910.2590 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154910.2740 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154910.2870 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154910.3110 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154910.3230 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154910.3320 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154910.3710 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154910.3800 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154910.3920 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154910.4020 rb5td71nrtup4jqua9j3e7iqts Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e532339645e51e608' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154910.5640 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154910.5780 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154910.6070 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051251139,208000002 '
20230512@154910.7030 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051251139,208000002 '
20230512@154910.7800 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051251139,208000002 '
20230512@154910.8540 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051251139,208000002 '
20230512@154910.9280 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051251139,208000002 '
20230512@154910.9980 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051251139,208000002 '
20230512@154910.1082 rb5td71nrtup4jqua9j3e7iqts Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e532339645e51e608',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154910.1340 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154910.1354 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154910.1368 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154910.1385 rb5td71nrtup4jqua9j3e7iqts 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 ('aut645e532339645e51e608',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',245,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154910.1655 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.1659 rb5td71nrtup4jqua9j3e7iqts Query : select st.usalote valor from st where st.ref = '324.5389.00.1'
20230512@154910.1671 rb5td71nrtup4jqua9j3e7iqts 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.5389.00.1'
20230512@154910.1813 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154910.1826 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154910.1848 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154910.1861 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154910.1866 rb5td71nrtup4jqua9j3e7iqts Query : select sestamp valor from se where ref ='324.5389.00.1' and lote = '26/19'
20230512@154910.1883 rb5td71nrtup4jqua9j3e7iqts Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154910.1892 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154910.1904 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154910.1928 rb5td71nrtup4jqua9j3e7iqts 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 ('aut645e551080645e51e62e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut645e532339645e51e608' ,25.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154910.2347 rb5td71nrtup4jqua9j3e7iqts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154910.2378 rb5td71nrtup4jqua9j3e7iqts Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154910.2383 rb5td71nrtup4jqua9j3e7iqts Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e551080645e51e62e','aut645e532339645e51e608' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154910.2388 rb5td71nrtup4jqua9j3e7iqts Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e532339645e51e608','119230000207','wait',39,'ari17112337378,753000005')
20230512@154910.2406 rb5td71nrtup4jqua9j3e7iqts Query : use flama_phc
20230512@154910.2409 rb5td71nrtup4jqua9j3e7iqts Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154910.2420 rb5td71nrtup4jqua9j3e7iqts Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='359';
20230512@154910.2434 rb5td71nrtup4jqua9j3e7iqts Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='359';
20230512@154910.2445 rb5td71nrtup4jqua9j3e7iqts Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='359';
20230512@154910.2458 rb5td71nrtup4jqua9j3e7iqts Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='359';
20230512@154910.2855 kh7c7m9oaifa68gnea1d6p9078 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154910.2873 kh7c7m9oaifa68gnea1d6p9078 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154910.2891 kh7c7m9oaifa68gnea1d6p9078 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='360';
20230512@154910.2930 kh7c7m9oaifa68gnea1d6p9078 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='360';
20230512@154910.2946 kh7c7m9oaifa68gnea1d6p9078 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='360';
20230512@154910.2957 kh7c7m9oaifa68gnea1d6p9078 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='360';
20230512@154910.2969 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.2972 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154910.2984 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.2987 kh7c7m9oaifa68gnea1d6p9078 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2632
20230512@154910.3020 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5389.00.1'
20230512@154910.3030 kh7c7m9oaifa68gnea1d6p9078 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 = 0000208 and bi.ref ='324.5389.00.1' and bi.lordem =20000
20230512@154910.3367 kh7c7m9oaifa68gnea1d6p9078 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251796,7490000-2 ' 
20230512@154910.3734 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.3738 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154910.3751 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.3754 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154910.3765 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.3767 kh7c7m9oaifa68gnea1d6p9078 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154910.3779 kh7c7m9oaifa68gnea1d6p9078 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
20230512@154910.3794 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.3797 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154910.3807 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.3810 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154910.3819 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.3822 kh7c7m9oaifa68gnea1d6p9078 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154910.3833 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.3836 kh7c7m9oaifa68gnea1d6p9078 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- braganÇa'
20230512@154910.3847 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.3850 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from td where ndoc = 39
20230512@154910.3859 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154910.3870 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154910.3884 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154910.3899 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154910.3912 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154910.3937 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154910.3950 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154910.3960 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154910.4000 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154910.4010 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154910.4023 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154910.4032 kh7c7m9oaifa68gnea1d6p9078 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e576562645e51e660' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154910.4190 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154910.4203 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154910.4229 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051251405,664000002 '
20230512@154910.4325 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051251405,664000002 '
20230512@154910.4408 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051251405,664000002 '
20230512@154910.4488 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051251405,664000002 '
20230512@154910.4612 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051251405,664000002 '
20230512@154910.4829 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051251405,664000002 '
20230512@154910.4951 kh7c7m9oaifa68gnea1d6p9078 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e576562645e51e660',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154910.5220 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154910.5234 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154910.5248 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154910.5265 kh7c7m9oaifa68gnea1d6p9078 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 ('aut645e576562645e51e660',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',246,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154910.5539 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.5543 kh7c7m9oaifa68gnea1d6p9078 Query : select st.usalote valor from st where st.ref = '324.5389.00.1'
20230512@154910.5555 kh7c7m9oaifa68gnea1d6p9078 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.5389.00.1'
20230512@154910.5566 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154910.5582 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154910.5609 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154910.5624 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154910.5629 kh7c7m9oaifa68gnea1d6p9078 Query : select sestamp valor from se where ref ='324.5389.00.1' and lote = '26/19'
20230512@154910.5650 kh7c7m9oaifa68gnea1d6p9078 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154910.5661 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154910.5675 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154910.5703 kh7c7m9oaifa68gnea1d6p9078 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 ('aut645e505333645e51e68a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut645e576562645e51e660' ,25.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154910.5996 kh7c7m9oaifa68gnea1d6p9078 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154910.6013 kh7c7m9oaifa68gnea1d6p9078 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154910.6017 kh7c7m9oaifa68gnea1d6p9078 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e505333645e51e68a','aut645e576562645e51e660' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154910.6022 kh7c7m9oaifa68gnea1d6p9078 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e576562645e51e660','119230000208','wait',39,'ari17112337378,753000005')
20230512@154910.6041 kh7c7m9oaifa68gnea1d6p9078 Query : use flama_phc
20230512@154910.6044 kh7c7m9oaifa68gnea1d6p9078 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154910.6055 kh7c7m9oaifa68gnea1d6p9078 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='360';
20230512@154910.6070 kh7c7m9oaifa68gnea1d6p9078 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='360';
20230512@154910.6081 kh7c7m9oaifa68gnea1d6p9078 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='360';
20230512@154910.6093 kh7c7m9oaifa68gnea1d6p9078 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='360';
20230512@154910.6426 0jiqmkm63nmldfd243q2r959bv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154910.6441 0jiqmkm63nmldfd243q2r959bv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154910.6459 0jiqmkm63nmldfd243q2r959bv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='361';
20230512@154910.6507 0jiqmkm63nmldfd243q2r959bv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='361';
20230512@154910.6522 0jiqmkm63nmldfd243q2r959bv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='361';
20230512@154910.6538 0jiqmkm63nmldfd243q2r959bv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='361';
20230512@154910.6552 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.6556 0jiqmkm63nmldfd243q2r959bv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154910.6572 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.6576 0jiqmkm63nmldfd243q2r959bv Query : select no, estab,szadrsdesc from szadrs where u_coddest=3080
20230512@154910.6662 0jiqmkm63nmldfd243q2r959bv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154910.6675 0jiqmkm63nmldfd243q2r959bv 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 = 0000209 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154910.7185 0jiqmkm63nmldfd243q2r959bv Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251832,2260000-2 ' 
20230512@154910.7544 0jiqmkm63nmldfd243q2r959bv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154910.7555 0jiqmkm63nmldfd243q2r959bv 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 = 0000209 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154910.7568 0jiqmkm63nmldfd243q2r959bv Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251832,2260000-2 ' 
20230512@154910.7578 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.7582 0jiqmkm63nmldfd243q2r959bv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154910.7596 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.7599 0jiqmkm63nmldfd243q2r959bv Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154910.7609 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.7612 0jiqmkm63nmldfd243q2r959bv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154910.7622 0jiqmkm63nmldfd243q2r959bv 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
20230512@154910.7637 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.7640 0jiqmkm63nmldfd243q2r959bv Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154910.7651 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.7654 0jiqmkm63nmldfd243q2r959bv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154910.7664 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.7667 0jiqmkm63nmldfd243q2r959bv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154910.7677 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.7680 0jiqmkm63nmldfd243q2r959bv Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- barcelos entrega'
20230512@154910.7694 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.7697 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from td where ndoc = 39
20230512@154910.7707 0jiqmkm63nmldfd243q2r959bv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154910.7718 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154910.7732 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154910.7749 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154910.7762 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154910.7790 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154910.7803 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154910.7813 0jiqmkm63nmldfd243q2r959bv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154910.7855 0jiqmkm63nmldfd243q2r959bv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154910.7865 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154910.7878 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154910.7888 0jiqmkm63nmldfd243q2r959bv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e591730645e51e6be' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154910.8060 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154910.8076 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154910.8106 0jiqmkm63nmldfd243q2r959bv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051244634,691000002 '
20230512@154910.8224 0jiqmkm63nmldfd243q2r959bv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051244634,691000002 '
20230512@154910.8331 0jiqmkm63nmldfd243q2r959bv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051244634,691000002 '
20230512@154910.8435 0jiqmkm63nmldfd243q2r959bv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051244634,691000002 '
20230512@154910.8533 0jiqmkm63nmldfd243q2r959bv Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051244634,691000002 '
20230512@154910.8621 0jiqmkm63nmldfd243q2r959bv Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051244634,691000002 '
20230512@154910.8714 0jiqmkm63nmldfd243q2r959bv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e591730645e51e6be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154910.8979 0jiqmkm63nmldfd243q2r959bv Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154910.8995 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154910.9009 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154910.9027 0jiqmkm63nmldfd243q2r959bv 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 ('aut645e591730645e51e6be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',247,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154910.9311 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154910.9315 0jiqmkm63nmldfd243q2r959bv Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154910.9327 0jiqmkm63nmldfd243q2r959bv 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 = '328.9316.00.1'
20230512@154910.9338 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154910.9352 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154910.9377 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154910.9391 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154910.9396 0jiqmkm63nmldfd243q2r959bv Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154910.9406 0jiqmkm63nmldfd243q2r959bv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154910.9417 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154910.9431 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154910.9455 0jiqmkm63nmldfd243q2r959bv 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 ('aut645e519717645e51e6e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e591730645e51e6be' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154910.9842 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.4820 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154911.4880 0jiqmkm63nmldfd243q2r959bv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e519717645e51e6e5','aut645e591730645e51e6be' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154911.4940 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154911.5090 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154911.5340 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.5480 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154911.5520 0jiqmkm63nmldfd243q2r959bv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154911.5630 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154911.5760 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154911.6020 0jiqmkm63nmldfd243q2r959bv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e525419645e51e70d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e591730645e51e6be' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154911.8580 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.8740 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154911.8790 0jiqmkm63nmldfd243q2r959bv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e525419645e51e70d','aut645e591730645e51e6be' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154911.8870 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154911.8900 0jiqmkm63nmldfd243q2r959bv Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154911.1855 0jiqmkm63nmldfd243q2r959bv 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 = '328.9316.00.1'
20230512@154911.1868 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154911.1882 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154911.1907 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.1920 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154911.1924 0jiqmkm63nmldfd243q2r959bv Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154911.1935 0jiqmkm63nmldfd243q2r959bv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154911.1945 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154911.1959 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154911.1983 0jiqmkm63nmldfd243q2r959bv 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 ('aut645e524655645e51e72f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e591730645e51e6be' ,83.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230512@154911.2253 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.2270 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154911.2274 0jiqmkm63nmldfd243q2r959bv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e524655645e51e72f','aut645e591730645e51e6be' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154911.2279 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154911.2293 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154911.2318 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.2330 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154911.2335 0jiqmkm63nmldfd243q2r959bv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154911.2347 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154911.2360 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154911.2387 0jiqmkm63nmldfd243q2r959bv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e503696645e51e739',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e591730645e51e6be' ,0,0 ,2,23.00,50000,?,?,?)
20230512@154911.2651 0jiqmkm63nmldfd243q2r959bv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.2666 0jiqmkm63nmldfd243q2r959bv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154911.2671 0jiqmkm63nmldfd243q2r959bv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e503696645e51e739','aut645e591730645e51e6be' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154911.2675 0jiqmkm63nmldfd243q2r959bv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e591730645e51e6be','119230000209','wait',39,'ari17112337378,753000005')
20230512@154911.2692 0jiqmkm63nmldfd243q2r959bv Query : use flama_phc
20230512@154911.2695 0jiqmkm63nmldfd243q2r959bv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154911.2706 0jiqmkm63nmldfd243q2r959bv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='361';
20230512@154911.2721 0jiqmkm63nmldfd243q2r959bv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='361';
20230512@154911.2732 0jiqmkm63nmldfd243q2r959bv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='361';
20230512@154911.2744 0jiqmkm63nmldfd243q2r959bv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='361';
20230512@154911.3065 c6kj8sjjedgvl79l9amt0u7t0n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154911.3079 c6kj8sjjedgvl79l9amt0u7t0n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154911.3096 c6kj8sjjedgvl79l9amt0u7t0n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='362';
20230512@154911.3143 c6kj8sjjedgvl79l9amt0u7t0n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='362';
20230512@154911.3159 c6kj8sjjedgvl79l9amt0u7t0n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='362';
20230512@154911.3173 c6kj8sjjedgvl79l9amt0u7t0n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='362';
20230512@154911.3186 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.3189 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154911.3202 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.3205 c6kj8sjjedgvl79l9amt0u7t0n Query : select no, estab,szadrsdesc from szadrs where u_coddest=3080
20230512@154911.3247 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5389.00.1'
20230512@154911.3258 c6kj8sjjedgvl79l9amt0u7t0n 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 = 0000210 and bi.ref ='324.5389.00.1' and bi.lordem =20000
20230512@154911.3630 c6kj8sjjedgvl79l9amt0u7t0n Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251847,2670000-2 ' 
20230512@154911.4150 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.4154 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154911.4167 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.4170 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154911.4180 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.4183 c6kj8sjjedgvl79l9amt0u7t0n Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154911.4194 c6kj8sjjedgvl79l9amt0u7t0n 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
20230512@154911.4207 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.4210 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154911.4221 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.4224 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154911.4234 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.4237 c6kj8sjjedgvl79l9amt0u7t0n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154911.4255 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.4259 c6kj8sjjedgvl79l9amt0u7t0n Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- barcelos entrega'
20230512@154911.4273 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.4276 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from td where ndoc = 39
20230512@154911.4287 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154911.4298 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154911.4312 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154911.4330 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154911.4343 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154911.4371 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154911.4384 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154911.4394 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154911.4434 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154911.4443 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154911.4456 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154911.4474 c6kj8sjjedgvl79l9amt0u7t0n Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e570298645e51e76b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154911.4643 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154911.4657 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154911.4689 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051251043,999000001 '
20230512@154911.4797 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051251043,999000001 '
20230512@154911.4888 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051251043,999000001 '
20230512@154911.4967 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051251043,999000001 '
20230512@154911.5043 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051251043,999000001 '
20230512@154911.5120 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051251043,999000001 '
20230512@154911.5195 c6kj8sjjedgvl79l9amt0u7t0n Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e570298645e51e76b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154911.5463 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154911.5477 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154911.5489 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154911.5506 c6kj8sjjedgvl79l9amt0u7t0n 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 ('aut645e570298645e51e76b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',248,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154911.5778 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.5782 c6kj8sjjedgvl79l9amt0u7t0n Query : select st.usalote valor from st where st.ref = '324.5389.00.1'
20230512@154911.5796 c6kj8sjjedgvl79l9amt0u7t0n 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.5389.00.1'
20230512@154911.7430 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154911.7445 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154911.7466 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.7478 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154911.7482 c6kj8sjjedgvl79l9amt0u7t0n Query : select sestamp valor from se where ref ='324.5389.00.1' and lote = '26/19'
20230512@154911.7491 c6kj8sjjedgvl79l9amt0u7t0n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154911.7500 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154911.7510 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154911.7531 c6kj8sjjedgvl79l9amt0u7t0n 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 ('aut645e531679645e51e7b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut645e570298645e51e76b' ,25.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154911.7767 c6kj8sjjedgvl79l9amt0u7t0n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154911.8756 c6kj8sjjedgvl79l9amt0u7t0n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154911.8763 c6kj8sjjedgvl79l9amt0u7t0n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e531679645e51e7b7','aut645e570298645e51e76b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154911.8768 c6kj8sjjedgvl79l9amt0u7t0n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645e570298645e51e76b','119230000210','wait',39,'ari17112337378,753000005')
20230512@154911.8786 c6kj8sjjedgvl79l9amt0u7t0n Query : use flama_phc
20230512@154911.8788 c6kj8sjjedgvl79l9amt0u7t0n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230512@154911.8801 c6kj8sjjedgvl79l9amt0u7t0n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='362';
20230512@154911.8815 c6kj8sjjedgvl79l9amt0u7t0n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='362';
20230512@154911.8828 c6kj8sjjedgvl79l9amt0u7t0n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='362';
20230512@154911.8839 c6kj8sjjedgvl79l9amt0u7t0n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='362';
20230512@154911.9242 dj7o5rrj2jrt4hebmg2s0q0t1b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230512@154911.9254 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230512@154911.9269 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='363';
20230512@154911.9307 dj7o5rrj2jrt4hebmg2s0q0t1b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='363';
20230512@154911.9319 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='363';
20230512@154911.9331 dj7o5rrj2jrt4hebmg2s0q0t1b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='363';
20230512@154911.9346 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154911.9349 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230512@154911.9360 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154911.9363 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select no, estab,szadrsdesc from szadrs where u_coddest=1328
20230512@154911.9395 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154911.9405 dj7o5rrj2jrt4hebmg2s0q0t1b 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 = 0000211 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154911.9733 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251869,4000000-2 ' 
20230512@154912.6000 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230512@154912.7000 dj7o5rrj2jrt4hebmg2s0q0t1b 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 = 0000211 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230512@154912.8200 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051251869,4000000-2 ' 
20230512@154912.9100 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.9400 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230512@154912.1060 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.1100 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 1 valor from td where td.ndoc = 39
20230512@154912.1190 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.1220 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230512@154912.1360 dj7o5rrj2jrt4hebmg2s0q0t1b 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
20230512@154912.1510 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.1540 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230512@154912.1760 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.1790 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230512@154912.1890 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.1920 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230512@154912.2020 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.2050 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - mealhada'
20230512@154912.2170 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.2200 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from td where ndoc = 39
20230512@154912.2290 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230512@154912.2400 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154912.2530 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230512@154912.2700 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154912.2930 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230512@154912.3200 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154912.3330 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230512@154912.3420 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154912.3820 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230512@154912.3910 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230512@154912.4030 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230512@154912.4130 dj7o5rrj2jrt4hebmg2s0q0t1b Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645e532635645e51e808' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230512@154912.5660 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230512@154912.5790 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230512@154912.6080 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051244852,452000002 '
20230512@154912.7060 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051244852,452000002 '
20230512@154912.7850 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051244852,452000002 '
20230512@154912.8540 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051244852,452000002 '
20230512@154912.9240 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051244852,452000002 '
20230512@154912.9980 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051244852,452000002 '
20230512@154912.1071 dj7o5rrj2jrt4hebmg2s0q0t1b Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645e532635645e51e808',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230512@154912.1322 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 fno valor from wsft039data order by fno desc
20230512@154912.1338 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230512@154912.1351 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230512@154912.1369 dj7o5rrj2jrt4hebmg2s0q0t1b 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 ('aut645e532635645e51e808',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',249,101621,0,'2023-05-12',39,'euro',0,0,2023 ,'20230512','1619',?,?,?,?,?)
20230512@154912.1628 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.1632 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154912.1643 dj7o5rrj2jrt4hebmg2s0q0t1b 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 = '328.9316.00.1'
20230512@154912.1654 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154912.1668 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154912.1692 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154912.1705 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154912.1710 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154912.1720 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154912.1729 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154912.1742 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154912.1766 dj7o5rrj2jrt4hebmg2s0q0t1b 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 ('aut645e598420645e51e82a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e532635645e51e808' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230512@154912.2029 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154912.2045 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154912.2049 dj7o5rrj2jrt4hebmg2s0q0t1b Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e598420645e51e82a','aut645e532635645e51e808' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154912.2054 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154912.2067 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154912.2091 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154912.2104 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154912.2109 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154912.2118 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154912.2130 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154912.2156 dj7o5rrj2jrt4hebmg2s0q0t1b Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e571986645e51e833',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e532635645e51e808' ,0,0 ,2,23.00,20000,?,?,?)
20230512@154912.2396 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154912.2412 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154912.2416 dj7o5rrj2jrt4hebmg2s0q0t1b Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e571986645e51e833','aut645e532635645e51e808' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154912.2420 dj7o5rrj2jrt4hebmg2s0q0t1b Query : use flama_phc
20230512@154912.2423 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230512@154912.2435 dj7o5rrj2jrt4hebmg2s0q0t1b 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 = '328.9316.00.1'
20230512@154912.2446 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154912.2459 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154912.2483 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154912.2495 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154912.2499 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230512@154912.2510 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154912.2520 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154912.2532 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154912.2558 dj7o5rrj2jrt4hebmg2s0q0t1b 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 ('aut645e549146645e51e83d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645e532635645e51e808' ,83.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230512@154912.2806 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154912.2821 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230512@154912.2826 dj7o5rrj2jrt4hebmg2s0q0t1b Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645e549146645e51e83d','aut645e532635645e51e808' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230512@154912.2832 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154912.2846 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230512@154912.2873 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230512@154912.2886 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230512@154912.2890 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230512@154912.2900 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230512@154912.2913 dj7o5rrj2jrt4hebmg2s0q0t1b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230512@154912.2936 dj7o5rrj2jrt4hebmg2s0q0t1b Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645e594005645e51e846',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645e532635645e51e808' ,0,0 ,2,23.00,50000,?,?,?)
