20240806@172813.2045 oe8ls1vsfi8tuejpdmfanms9u4 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240806@172813.2043 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172813.2083 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240806@172813.2096 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240806@172813.2107 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240806@172813.2118 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240806@172813.2130 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240806@172813.2142 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240806@172813.2154 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b240247066b24f1d2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240806@172813.2390 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 fno valor from wsftdata order by fno desc
20240806@172813.2405 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.2420 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172813.2442 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 'normal' from dummy
20240806@172813.2457 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b240247066b24f1d2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',230,100080,0,'2024-08-06',39,'euro',0,0,2024 ,?,?)
20240806@172813.2736 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.2739 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240806@172813.2760 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20240806@172813.2898 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.2913 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.2940 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.2954 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.2962 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.2974 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240806@172813.2987 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3001 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.3012 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b242867766b24f1d48','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.3016 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3031 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.3058 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b242867766b24f1d48',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,10000,?,?,?,?)
20240806@172813.3305 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3320 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.3346 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3361 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.3369 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.3381 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3396 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.3408 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b248454766b24f1d52','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.3411 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3429 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.3459 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b248454766b24f1d52',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,20000,?,?,?)
20240806@172813.3697 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.3700 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '325.1905.0001'
20240806@172813.3721 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1905.0001'
20240806@172813.3872 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3889 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.3914 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3929 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.3938 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.3951 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='325.1905.0001' and lote = 'r180073920'
20240806@172813.3971 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.3986 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.3998 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b240643466b24f1d60','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.4002 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.4017 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.4045 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b240643466b24f1d60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,40000,?,?,?,?)
20240806@172813.4326 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.4329 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20240806@172813.4351 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20240806@172813.4512 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.4531 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.4568 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.4584 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.4593 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.4607 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20240806@172813.4624 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.4639 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.4653 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b241593866b24f1d70','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.4657 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.4677 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.4712 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b241593866b24f1d70',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,50000,?,?,?,?)
20240806@172813.5065 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.5078 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240806@172813.5333 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240806@172813.5489 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.5508 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.5539 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.5558 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.5568 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.5644 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240806@172813.5663 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.5871 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.6024 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b243887566b24f1d8a','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.6031 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.6051 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.6085 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b243887566b24f1d8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,60000,?,?,?,?)
20240806@172813.6363 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.6366 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240806@172813.6390 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240806@172813.6530 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.6547 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.6576 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.6591 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.6599 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.6611 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240806@172813.6624 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.6638 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.6649 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b249141466b24f1da1','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.6653 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.6667 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.6695 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b249141466b24f1da1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,70000,?,?,?,?)
20240806@172813.6947 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.6950 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.1528.00.1'
20240806@172813.6970 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1528.00.1'
20240806@172813.7131 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.7150 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.7180 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.7195 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.7205 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.7217 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.1528.00.1' and lote = 'r2200263100a'
20240806@172813.7242 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.7259 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.7272 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b241555166b24f1db0','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.7277 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.7293 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.7324 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b241555166b24f1db0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,80000,?,?,?,?)
20240806@172813.7569 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.7573 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240806@172813.7593 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20240806@172813.7736 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.7752 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.7782 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.7798 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.7807 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.7820 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240806@172813.7834 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.7849 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.7861 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b246509666b24f1dbf','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.7865 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.7881 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.7911 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b246509666b24f1dbf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,90000,?,?,?,?)
20240806@172813.8154 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.8157 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20240806@172813.8177 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20240806@172813.8317 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.8333 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.8360 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.8377 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.8386 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.8398 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20240806@172813.8412 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.8430 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.8444 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b243737566b24f1dcd','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.8448 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.8463 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.8495 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b243737566b24f1dcd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,100000,?,?,?,?)
20240806@172813.8733 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.8743 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240806@172813.8765 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20240806@172813.8908 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.8926 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.8957 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.8973 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.8983 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.8997 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20240806@172813.9013 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.9028 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.9041 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b249962066b24f1ddc','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.9045 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.9061 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.9090 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b249962066b24f1ddc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,110000,?,?,?,?)
20240806@172813.9345 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.9361 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.9390 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.9408 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.9418 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172813.9431 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.9447 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.9459 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b243423266b24f1de6','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172813.9463 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.9479 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.9510 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b243423266b24f1de6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,120000,?,?,?)
20240806@172813.9758 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172813.9761 oe8ls1vsfi8tuejpdmfanms9u4 Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240806@172813.9782 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20240806@172813.9931 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.9947 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172813.9972 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172813.9987 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172813.9996 oe8ls1vsfi8tuejpdmfanms9u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172814.8000 oe8ls1vsfi8tuejpdmfanms9u4 Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20240806@172814.2400 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.3900 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.5100 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b242434366b24f1e00','aut66b240247066b24f1d2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172814.5500 oe8ls1vsfi8tuejpdmfanms9u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.6900 oe8ls1vsfi8tuejpdmfanms9u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.9900 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b242434366b24f1e00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b240247066b24f1d2a' ,0,0 ,2,23.00,140000,?,?,?,?)
20240806@172814.3610 oe8ls1vsfi8tuejpdmfanms9u4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b240247066b24f1d2a','2405252','wait',39,'adm09112754980.682000002')
20240806@172814.4350 oe8ls1vsfi8tuejpdmfanms9u4 Query : use flama_phc
20240806@172814.4380 oe8ls1vsfi8tuejpdmfanms9u4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240806@172814.4670 oe8ls1vsfi8tuejpdmfanms9u4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1406';
20240806@172814.4920 oe8ls1vsfi8tuejpdmfanms9u4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1406';
20240806@172814.5600 oe8ls1vsfi8tuejpdmfanms9u4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1406';
20240806@172814.8300 oe8ls1vsfi8tuejpdmfanms9u4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1406';
20240806@172814.1629 nj2kskfkin6evn32n0lo4j6ncq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240806@172814.1640 nj2kskfkin6evn32n0lo4j6ncq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240806@172814.1705 nj2kskfkin6evn32n0lo4j6ncq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1407';
20240806@172814.1759 nj2kskfkin6evn32n0lo4j6ncq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1407';
20240806@172814.3793 nj2kskfkin6evn32n0lo4j6ncq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1407';
20240806@172814.3819 nj2kskfkin6evn32n0lo4j6ncq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1407';
20240806@172814.3867 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.3870 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240806@172814.3934 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.3937 nj2kskfkin6evn32n0lo4j6ncq Query : select no, estab,szadrsdesc from szadrs where u_coddest=2119
20240806@172814.4018 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20240806@172814.4038 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20240806@172814.4056 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20240806@172814.4074 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240806@172814.4096 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240806@172814.4116 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240806@172814.4269 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.4273 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240806@172814.4306 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.4310 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 1 valor from td where td.ndoc = 39
20240806@172814.4340 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.4342 nj2kskfkin6evn32n0lo4j6ncq Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240806@172814.4369 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240806@172814.4404 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.4407 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 ~inactivo valor from cl where no = '101631' and estab = 0 order by inactivo desc
20240806@172814.4538 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.4541 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240806@172814.4572 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.4575 nj2kskfkin6evn32n0lo4j6ncq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240806@172814.4616 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.4619 nj2kskfkin6evn32n0lo4j6ncq Query : select szadrsstamp valor from szadrs where szadrsdesc='belmiro martins ribeiro,lda-1'
20240806@172814.4666 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.4668 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from td where ndoc = 39
20240806@172814.4683 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240806@172814.4696 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.4711 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172814.4731 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.4745 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172814.4774 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.4788 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172814.4801 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172814.4870 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172814.4882 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.4897 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172814.4913 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240806@172814.5084 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.5100 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172814.5133 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240806@172814.5145 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240806@172814.5156 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240806@172814.5168 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240806@172814.5180 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240806@172814.5192 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240806@172814.5203 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b248807966b24f1e75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240806@172814.5439 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 fno valor from wsftdata order by fno desc
20240806@172814.5455 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.5471 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172814.5493 nj2kskfkin6evn32n0lo4j6ncq Query : select 'normal' from dummy
20240806@172814.5508 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b248807966b24f1e75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',231,101631,0,'2024-08-06',39,'euro',0,0,2024 ,?,?)
20240806@172814.5790 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.5793 nj2kskfkin6evn32n0lo4j6ncq Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240806@172814.5816 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240806@172814.5829 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.5845 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.5870 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.5885 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.5894 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172814.5905 nj2kskfkin6evn32n0lo4j6ncq Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301210200a'
20240806@172814.5918 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.5935 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.5947 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b241033366b24f1e90','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172814.5951 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.5965 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.5994 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b241033366b24f1e90',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,10000,?,?,?,?)
20240806@172814.6250 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.6265 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.6291 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.6305 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.6314 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172814.6328 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.6342 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.6354 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b245486066b24f1e9a','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172814.6358 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.7477 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.7509 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b245486066b24f1e9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,20000,?,?,?)
20240806@172814.7763 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.7767 nj2kskfkin6evn32n0lo4j6ncq Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240806@172814.7787 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240806@172814.7801 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.7818 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.7844 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.7859 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.7868 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172814.7881 nj2kskfkin6evn32n0lo4j6ncq Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301210200a'
20240806@172814.7894 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.7909 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.7921 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b247054566b24f1ec0','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172814.7926 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.7941 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.7971 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b247054566b24f1ec0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,40000,?,?,?,?)
20240806@172814.8220 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.8236 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.8264 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.8279 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.8288 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172814.8302 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.8318 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.8330 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b247352566b24f1eca','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172814.8334 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.8348 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.8379 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b247352566b24f1eca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,50000,?,?,?)
20240806@172814.8640 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.8643 nj2kskfkin6evn32n0lo4j6ncq Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240806@172814.8661 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240806@172814.8676 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.8691 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.8717 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.8732 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.8740 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172814.8752 nj2kskfkin6evn32n0lo4j6ncq Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301210200a'
20240806@172814.8764 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.8782 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.8794 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b244150866b24f1ed5','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172814.8798 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.8813 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.8842 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b244150866b24f1ed5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,70000,?,?,?,?)
20240806@172814.9120 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.9136 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.9164 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.9180 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.9189 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172814.9201 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.9216 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.9228 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b245034966b24f1ee0','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172814.9233 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.9247 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.9276 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b245034966b24f1ee0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,80000,?,?,?)
20240806@172814.9534 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.9537 nj2kskfkin6evn32n0lo4j6ncq Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240806@172814.9557 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20240806@172814.9571 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.9588 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.9613 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.9628 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.9636 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172814.9649 nj2kskfkin6evn32n0lo4j6ncq Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2300831200a'
20240806@172814.9661 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.9681 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172814.9693 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b242321066b24f1eeb','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172814.9697 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172814.9712 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172814.9741 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b242321066b24f1eeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,100000,?,?,?,?)
20240806@172814.9986 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172814.9989 nj2kskfkin6evn32n0lo4j6ncq Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240806@172815.8000 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20240806@172815.2100 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.3700 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.6200 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.7800 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.8700 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172815.9900 nj2kskfkin6evn32n0lo4j6ncq Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301207200a'
20240806@172815.1110 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.1280 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.1400 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b240275166b24f1f02','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172815.1440 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.1580 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.1880 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b240275166b24f1f02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,110000,?,?,?,?)
20240806@172815.4390 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172815.4420 nj2kskfkin6evn32n0lo4j6ncq Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240806@172815.4620 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20240806@172815.6050 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.6210 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.6460 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.6600 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.6680 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172815.6790 nj2kskfkin6evn32n0lo4j6ncq Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2300643200a'
20240806@172815.6990 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.7130 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.7250 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b243292166b24f1f11','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172815.7290 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.7430 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.7690 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b243292166b24f1f11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,120000,?,?,?,?)
20240806@172815.1784 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.2185 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.2211 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.2225 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.2233 nj2kskfkin6evn32n0lo4j6ncq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172815.2245 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.2260 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.2271 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b241340866b24f1f36','aut66b248807966b24f1e75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172815.2276 nj2kskfkin6evn32n0lo4j6ncq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.2292 nj2kskfkin6evn32n0lo4j6ncq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.2320 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b241340866b24f1f36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b248807966b24f1e75' ,0,0 ,2,23.00,130000,?,?,?)
20240806@172815.2575 nj2kskfkin6evn32n0lo4j6ncq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b248807966b24f1e75','2405254','wait',39,'adm09112754980.682000002')
20240806@172815.2650 nj2kskfkin6evn32n0lo4j6ncq Query : use flama_phc
20240806@172815.2653 nj2kskfkin6evn32n0lo4j6ncq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240806@172815.2685 nj2kskfkin6evn32n0lo4j6ncq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1407';
20240806@172815.2709 nj2kskfkin6evn32n0lo4j6ncq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1407';
20240806@172815.2748 nj2kskfkin6evn32n0lo4j6ncq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1407';
20240806@172815.2773 nj2kskfkin6evn32n0lo4j6ncq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1407';
20240806@172815.3289 rr30ugpll5rtff4lc30k7f30fu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240806@172815.3300 rr30ugpll5rtff4lc30k7f30fu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240806@172815.3346 rr30ugpll5rtff4lc30k7f30fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1408';
20240806@172815.3399 rr30ugpll5rtff4lc30k7f30fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1408';
20240806@172815.3447 rr30ugpll5rtff4lc30k7f30fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1408';
20240806@172815.3470 rr30ugpll5rtff4lc30k7f30fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1408';
20240806@172815.3515 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.3518 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240806@172815.3584 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.3587 rr30ugpll5rtff4lc30k7f30fu Query : select no, estab,szadrsdesc from szadrs where u_coddest=1527
20240806@172815.3666 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20240806@172815.3820 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.3824 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240806@172815.3863 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.3867 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 1 valor from td where td.ndoc = 39
20240806@172815.3898 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.3901 rr30ugpll5rtff4lc30k7f30fu Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240806@172815.3931 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240806@172815.3967 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.3970 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 ~inactivo valor from cl where no = '102202' and estab = 0 order by inactivo desc
20240806@172815.4094 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.4098 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240806@172815.4130 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.4133 rr30ugpll5rtff4lc30k7f30fu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240806@172815.4174 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.4182 rr30ugpll5rtff4lc30k7f30fu Query : select szadrsstamp valor from szadrs where szadrsdesc='filipe manuel magalhÃes maia'
20240806@172815.4233 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.4236 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from td where ndoc = 39
20240806@172815.4249 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240806@172815.4265 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.4284 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172815.4306 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.4323 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172815.4354 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.4369 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172815.4384 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172815.4456 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172815.4470 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.4487 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172815.4502 rr30ugpll5rtff4lc30k7f30fu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b244235066b24f1f6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240806@172815.4685 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.4703 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172815.4737 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240806@172815.4750 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240806@172815.4761 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240806@172815.4774 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240806@172815.4786 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240806@172815.4797 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240806@172815.4809 rr30ugpll5rtff4lc30k7f30fu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b244235066b24f1f6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240806@172815.5053 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 fno valor from wsftdata order by fno desc
20240806@172815.5068 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.5084 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172815.5106 rr30ugpll5rtff4lc30k7f30fu Query : select 'normal' from dummy
20240806@172815.5121 rr30ugpll5rtff4lc30k7f30fu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b244235066b24f1f6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',232,102202,0,'2024-08-06',39,'euro',0,0,2024 ,?,?)
20240806@172815.5402 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.5405 rr30ugpll5rtff4lc30k7f30fu Query : select st.usalote valor from st where st.ref = '324.1293.00.1'
20240806@172815.5427 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1293.00.1'
20240806@172815.5571 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.5586 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.5611 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.5625 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.5634 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172815.5646 rr30ugpll5rtff4lc30k7f30fu Query : select sestamp valor from se where ref ='324.1293.00.1' and lote = 'r2101042200a'
20240806@172815.5665 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.5681 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.5692 rr30ugpll5rtff4lc30k7f30fu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b248957566b24f1f8a','aut66b244235066b24f1f6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172815.5696 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.5712 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.5742 rr30ugpll5rtff4lc30k7f30fu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b248957566b24f1f8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66b244235066b24f1f6b' ,0,0 ,2,23.00,10000,?,?,?,?)
20240806@172815.5994 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.6009 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.6038 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.6053 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.6061 rr30ugpll5rtff4lc30k7f30fu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172815.6074 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.6088 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172815.6100 rr30ugpll5rtff4lc30k7f30fu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b245383866b24f1f94','aut66b244235066b24f1f6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172815.6104 rr30ugpll5rtff4lc30k7f30fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172815.6119 rr30ugpll5rtff4lc30k7f30fu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172815.6147 rr30ugpll5rtff4lc30k7f30fu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b245383866b24f1f94',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b244235066b24f1f6b' ,0,0 ,2,23.00,20000,?,?,?)
20240806@172815.6400 rr30ugpll5rtff4lc30k7f30fu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b244235066b24f1f6b','2405255','wait',39,'adm09112754980.682000002')
20240806@172815.7583 rr30ugpll5rtff4lc30k7f30fu Query : use flama_phc
20240806@172815.7588 rr30ugpll5rtff4lc30k7f30fu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240806@172815.7622 rr30ugpll5rtff4lc30k7f30fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1408';
20240806@172815.7649 rr30ugpll5rtff4lc30k7f30fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1408';
20240806@172815.7687 rr30ugpll5rtff4lc30k7f30fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1408';
20240806@172815.7711 rr30ugpll5rtff4lc30k7f30fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1408';
20240806@172815.9699 gh28lbfumfq6l9296c45lvpd02 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240806@172815.9712 gh28lbfumfq6l9296c45lvpd02 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240806@172815.9759 gh28lbfumfq6l9296c45lvpd02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1409';
20240806@172815.9807 gh28lbfumfq6l9296c45lvpd02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1409';
20240806@172815.9852 gh28lbfumfq6l9296c45lvpd02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1409';
20240806@172815.9873 gh28lbfumfq6l9296c45lvpd02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1409';
20240806@172815.9916 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172815.9919 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240806@172815.9978 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172815.9981 gh28lbfumfq6l9296c45lvpd02 Query : select no, estab,szadrsdesc from szadrs where u_coddest=7254
20240806@172816.5600 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20240806@172816.2090 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240806@172816.2320 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240806@172816.3690 gh28lbfumfq6l9296c45lvpd02 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'
20240806@172816.5000 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.5030 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240806@172816.5330 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.5360 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 1 valor from td where td.ndoc = 39
20240806@172816.5640 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.5660 gh28lbfumfq6l9296c45lvpd02 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240806@172816.5940 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240806@172816.6260 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.6290 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240806@172816.7380 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.7410 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240806@172816.7700 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.7730 gh28lbfumfq6l9296c45lvpd02 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240806@172816.8310 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.8340 gh28lbfumfq6l9296c45lvpd02 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m alverca'
20240806@172816.8780 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.8810 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from td where ndoc = 39
20240806@172816.8920 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240806@172816.9360 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.9560 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172816.9740 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.9980 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172816.1031 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.1045 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172816.1063 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172816.1135 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172816.1147 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.1161 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172816.1176 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b247328866b24f2019' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240806@172816.1434 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.1491 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172816.1536 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240806@172816.1548 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240806@172816.1560 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240806@172816.1573 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240806@172816.1585 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240806@172816.1596 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240806@172816.1608 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b247328866b24f2019',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240806@172816.1858 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 fno valor from wsftdata order by fno desc
20240806@172816.1875 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.1891 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172816.1913 gh28lbfumfq6l9296c45lvpd02 Query : select 'normal' from dummy
20240806@172816.1930 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b247328866b24f2019',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',233,101621,0,'2024-08-06',39,'euro',0,0,2024 ,?,?)
20240806@172816.2211 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.2214 gh28lbfumfq6l9296c45lvpd02 Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20240806@172816.2238 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1716.00.1'
20240806@172816.2379 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.2394 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.2419 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.2438 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.2447 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172816.2458 gh28lbfumfq6l9296c45lvpd02 Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20240806@172816.2472 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.2487 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.2498 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b246328066b24f203c','aut66b247328866b24f2019' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172816.2503 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.2518 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.2546 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b246328066b24f203c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b247328866b24f2019' ,0,0 ,2,23.00,10000,?,?,?,?)
20240806@172816.2792 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.2795 gh28lbfumfq6l9296c45lvpd02 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240806@172816.2814 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240806@172816.2827 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.2843 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.2869 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.2884 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.2893 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172816.2905 gh28lbfumfq6l9296c45lvpd02 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240806@172816.2917 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.2931 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.2943 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b240097766b24f2047','aut66b247328866b24f2019' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172816.2946 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.2961 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.2989 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b240097766b24f2047',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b247328866b24f2019' ,0,0 ,2,23.00,20000,?,?,?,?)
20240806@172816.3230 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.3245 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.3271 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.3286 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.3296 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172816.3308 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.3324 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.3336 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b249596766b24f2050','aut66b247328866b24f2019' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172816.3341 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.3356 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.3387 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b249596766b24f2050',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b247328866b24f2019' ,0,0 ,2,23.00,30000,?,?,?)
20240806@172816.3645 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.3648 gh28lbfumfq6l9296c45lvpd02 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240806@172816.3670 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240806@172816.3815 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.3831 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.3861 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.3876 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.3886 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172816.3899 gh28lbfumfq6l9296c45lvpd02 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240806@172816.3914 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.3929 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.3942 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b248678566b24f205f','aut66b247328866b24f2019' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172816.3946 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.3962 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.3992 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b248678566b24f205f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b247328866b24f2019' ,0,0 ,2,23.00,50000,?,?,?,?)
20240806@172816.4249 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.4267 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.4296 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.4312 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.4321 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172816.4333 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.4347 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.4359 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b248430966b24f2069','aut66b247328866b24f2019' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172816.4364 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.4378 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.4407 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b248430966b24f2069',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b247328866b24f2019' ,0,0 ,2,23.00,60000,?,?,?)
20240806@172816.4656 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.4659 gh28lbfumfq6l9296c45lvpd02 Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240806@172816.4684 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240806@172816.4840 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.4859 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.4888 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.4905 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.4915 gh28lbfumfq6l9296c45lvpd02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172816.4930 gh28lbfumfq6l9296c45lvpd02 Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240806@172816.4949 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.4965 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172816.4978 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b241864966b24f2078','aut66b247328866b24f2019' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172816.4984 gh28lbfumfq6l9296c45lvpd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.5000 gh28lbfumfq6l9296c45lvpd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.6146 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b241864966b24f2078',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b247328866b24f2019' ,0,0 ,2,23.00,80000,?,?,?,?)
20240806@172816.6413 gh28lbfumfq6l9296c45lvpd02 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b247328866b24f2019','2405256','wait',39,'adm09112754980.682000002')
20240806@172816.6492 gh28lbfumfq6l9296c45lvpd02 Query : use flama_phc
20240806@172816.6496 gh28lbfumfq6l9296c45lvpd02 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240806@172816.6534 gh28lbfumfq6l9296c45lvpd02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1409';
20240806@172816.6563 gh28lbfumfq6l9296c45lvpd02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1409';
20240806@172816.6603 gh28lbfumfq6l9296c45lvpd02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1409';
20240806@172816.6628 gh28lbfumfq6l9296c45lvpd02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1409';
20240806@172816.7202 7fhp0hseqlh5051cqk26j8gf0l Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240806@172816.7214 7fhp0hseqlh5051cqk26j8gf0l Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240806@172816.7263 7fhp0hseqlh5051cqk26j8gf0l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1410';
20240806@172816.7313 7fhp0hseqlh5051cqk26j8gf0l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1410';
20240806@172816.7368 7fhp0hseqlh5051cqk26j8gf0l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1410';
20240806@172816.7392 7fhp0hseqlh5051cqk26j8gf0l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1410';
20240806@172816.7440 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.7443 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240806@172816.7509 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.7512 7fhp0hseqlh5051cqk26j8gf0l Query : select no, estab,szadrsdesc from szadrs where u_coddest=6855
20240806@172816.7590 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240806@172816.7742 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240806@172816.7765 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240806@172816.7784 7fhp0hseqlh5051cqk26j8gf0l 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'
20240806@172816.7805 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.7808 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240806@172816.7846 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.7848 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 1 valor from td where td.ndoc = 39
20240806@172816.7884 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.7887 7fhp0hseqlh5051cqk26j8gf0l Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240806@172816.7916 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240806@172816.7957 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.7960 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240806@172816.7998 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.8001 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240806@172816.8035 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.8038 7fhp0hseqlh5051cqk26j8gf0l Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240806@172816.8085 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.8088 7fhp0hseqlh5051cqk26j8gf0l Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - montijo nova'
20240806@172816.8141 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.8144 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from td where ndoc = 39
20240806@172816.8157 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240806@172816.8170 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.8187 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172816.8206 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.8221 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172816.8250 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.8265 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172816.8278 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172816.8351 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172816.8364 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.8379 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172816.8395 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b249896866b24f20ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240806@172816.8571 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.8589 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172816.8625 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240806@172816.8637 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240806@172816.8649 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240806@172816.8662 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240806@172816.8674 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240806@172816.8686 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240806@172816.8697 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b249896866b24f20ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240806@172816.8932 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 fno valor from wsftdata order by fno desc
20240806@172816.8948 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.8963 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172816.8987 7fhp0hseqlh5051cqk26j8gf0l Query : select 'normal' from dummy
20240806@172816.9002 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b249896866b24f20ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',234,101621,0,'2024-08-06',39,'euro',0,0,2024 ,?,?)
20240806@172816.9509 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172816.9512 7fhp0hseqlh5051cqk26j8gf0l Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240806@172816.9534 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240806@172816.9884 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172816.9915 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172816.9968 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1000 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.1100 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.2400 7fhp0hseqlh5051cqk26j8gf0l Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240806@172817.3700 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.5600 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.6700 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b249539166b24f2100','aut66b249896866b24f20ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.7100 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.8500 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.1110 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b249539166b24f2100',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b249896866b24f20ca' ,0,0 ,2,23.00,10000,?,?,?,?)
20240806@172817.4450 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172817.4490 7fhp0hseqlh5051cqk26j8gf0l Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240806@172817.4720 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240806@172817.5250 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.5430 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.5710 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.5860 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.5940 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.6080 7fhp0hseqlh5051cqk26j8gf0l Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240806@172817.6200 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.6360 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.6550 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b243757466b24f210f','aut66b249896866b24f20ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.6600 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.6750 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.7030 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b243757466b24f210f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66b249896866b24f20ca' ,0,0 ,2,23.00,20000,?,?,?,?)
20240806@172817.9620 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9780 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.1005 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1019 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.1029 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.1042 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1057 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.1071 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b240569466b24f2119','aut66b249896866b24f20ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.1075 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1091 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.1120 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b240569466b24f2119',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b249896866b24f20ca' ,0,0 ,2,23.00,30000,?,?,?)
20240806@172817.1359 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172817.1363 7fhp0hseqlh5051cqk26j8gf0l Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240806@172817.1382 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240806@172817.1396 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1410 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.1436 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1452 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.1461 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.1475 7fhp0hseqlh5051cqk26j8gf0l Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240806@172817.1621 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1637 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.1649 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b244325766b24f2127','aut66b249896866b24f20ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.1654 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1668 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.1696 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b244325766b24f2127',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66b249896866b24f20ca' ,0,0 ,2,23.00,50000,?,?,?,?)
20240806@172817.1954 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.1969 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.1997 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.2011 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.2020 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.2033 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.2047 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.2059 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b249591566b24f2131','aut66b249896866b24f20ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.2063 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.2078 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.2106 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b249591566b24f2131',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b249896866b24f20ca' ,0,0 ,2,23.00,60000,?,?,?)
20240806@172817.2536 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172817.2562 7fhp0hseqlh5051cqk26j8gf0l Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240806@172817.2604 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240806@172817.2618 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.2636 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.2661 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.2677 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.2685 7fhp0hseqlh5051cqk26j8gf0l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.2697 7fhp0hseqlh5051cqk26j8gf0l Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240806@172817.2710 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.2725 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.2736 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b247630766b24f2142','aut66b249896866b24f20ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.2740 7fhp0hseqlh5051cqk26j8gf0l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.2756 7fhp0hseqlh5051cqk26j8gf0l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.2785 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b247630766b24f2142',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b249896866b24f20ca' ,0,0 ,2,23.00,80000,?,?,?,?)
20240806@172817.3042 7fhp0hseqlh5051cqk26j8gf0l Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b249896866b24f20ca','2405257','wait',39,'adm09112754980.682000002')
20240806@172817.3116 7fhp0hseqlh5051cqk26j8gf0l Query : use flama_phc
20240806@172817.3119 7fhp0hseqlh5051cqk26j8gf0l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240806@172817.3151 7fhp0hseqlh5051cqk26j8gf0l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1410';
20240806@172817.3177 7fhp0hseqlh5051cqk26j8gf0l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1410';
20240806@172817.3216 7fhp0hseqlh5051cqk26j8gf0l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1410';
20240806@172817.3240 7fhp0hseqlh5051cqk26j8gf0l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1410';
20240806@172817.4584 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240806@172817.4596 5sk3ais4ug6e63sg8cnk7etpsu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240806@172817.4653 5sk3ais4ug6e63sg8cnk7etpsu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1411';
20240806@172817.4725 5sk3ais4ug6e63sg8cnk7etpsu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1411';
20240806@172817.4773 5sk3ais4ug6e63sg8cnk7etpsu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1411';
20240806@172817.4798 5sk3ais4ug6e63sg8cnk7etpsu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1411';
20240806@172817.4844 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.4848 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240806@172817.4920 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.4923 5sk3ais4ug6e63sg8cnk7etpsu Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240806@172817.5003 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240806@172817.5160 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240806@172817.5295 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240806@172817.5413 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240806@172817.5435 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240806@172817.5557 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240806@172817.5682 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.5685 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240806@172817.5719 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.5723 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 1 valor from td where td.ndoc = 39
20240806@172817.5753 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.5756 5sk3ais4ug6e63sg8cnk7etpsu Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240806@172817.5783 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240806@172817.5817 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.5821 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240806@172817.5953 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.5957 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240806@172817.5988 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.5991 5sk3ais4ug6e63sg8cnk7etpsu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240806@172817.6032 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.6036 5sk3ais4ug6e63sg8cnk7etpsu Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240806@172817.6082 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.6085 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from td where ndoc = 39
20240806@172817.6097 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240806@172817.6111 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.6128 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172817.6147 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.6162 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172817.6190 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.6206 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172817.6218 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172817.6302 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172817.6316 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.6331 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172817.6347 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b244939466b24f2197' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240806@172817.6518 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.6536 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172817.6572 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240806@172817.6585 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240806@172817.6596 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240806@172817.6608 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240806@172817.6620 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240806@172817.6632 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240806@172817.6644 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b244939466b24f2197',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240806@172817.6877 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 fno valor from wsftdata order by fno desc
20240806@172817.6893 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.6908 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172817.6934 5sk3ais4ug6e63sg8cnk7etpsu Query : select 'normal' from dummy
20240806@172817.6949 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b244939466b24f2197',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',235,199800,0,'2024-08-06',39,'euro',0,0,2024 ,?,?)
20240806@172817.7230 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.7233 5sk3ais4ug6e63sg8cnk7etpsu Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240806@172817.7255 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20240806@172817.7402 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.7417 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.7443 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.7457 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.7466 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.7480 5sk3ais4ug6e63sg8cnk7etpsu Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240806@172817.7493 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.7508 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.7520 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b246656766b24f21b6','aut66b244939466b24f2197' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.7524 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.7539 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.7566 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b246656766b24f21b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b244939466b24f2197' ,0,0 ,2,23.00,10000,?,?,?,?)
20240806@172817.7826 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.7842 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.7867 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.7883 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.7892 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.7905 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.7920 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.7933 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b246424166b24f21c1','aut66b244939466b24f2197' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.7937 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.7956 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.7986 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b246424166b24f21c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b244939466b24f2197' ,0,0 ,2,23.00,20000,?,?,?)
20240806@172817.8277 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.8280 5sk3ais4ug6e63sg8cnk7etpsu Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240806@172817.8302 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20240806@172817.8448 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.8468 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.8500 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.8516 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.8525 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.8537 5sk3ais4ug6e63sg8cnk7etpsu Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240806@172817.8550 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.8564 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.8575 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b246002766b24f21d0','aut66b244939466b24f2197' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.8580 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.8594 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.8623 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b246002766b24f21d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66b244939466b24f2197' ,0,0 ,2,23.00,40000,?,?,?,?)
20240806@172817.8877 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.8880 5sk3ais4ug6e63sg8cnk7etpsu Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240806@172817.8899 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240806@172817.9044 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9059 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.9084 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9099 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.9107 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.9119 5sk3ais4ug6e63sg8cnk7etpsu Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240806@172817.9132 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9146 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.9158 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b247590466b24f21de','aut66b244939466b24f2197' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.9162 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9177 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.9204 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b247590466b24f21de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut66b244939466b24f2197' ,0,0 ,2,23.00,50000,?,?,?,?)
20240806@172817.9457 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.9460 5sk3ais4ug6e63sg8cnk7etpsu Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240806@172817.9478 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240806@172817.9493 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9508 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.9534 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9548 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.9557 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172817.9568 5sk3ais4ug6e63sg8cnk7etpsu Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240806@172817.9581 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9597 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172817.9608 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b240000666b24f21e9','aut66b244939466b24f2197' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172817.9613 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172817.9628 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172817.9655 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b240000666b24f21e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut66b244939466b24f2197' ,0,0 ,2,23.00,60000,?,?,?,?)
20240806@172817.9901 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172817.9904 5sk3ais4ug6e63sg8cnk7etpsu Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240806@172817.9923 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20240806@172818.6200 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7700 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.1020 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.1160 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.1260 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.1390 5sk3ais4ug6e63sg8cnk7etpsu Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240806@172818.1520 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.1660 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.1830 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b244305066b24f2203','aut66b244939466b24f2197' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.1870 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.2020 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.2310 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b244305066b24f2203',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66b244939466b24f2197' ,0,0 ,2,23.00,70000,?,?,?,?)
20240806@172818.4720 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172818.4750 5sk3ais4ug6e63sg8cnk7etpsu Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240806@172818.4940 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20240806@172818.6350 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6490 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.6740 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6870 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.6950 5sk3ais4ug6e63sg8cnk7etpsu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.7070 5sk3ais4ug6e63sg8cnk7etpsu Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240806@172818.7200 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7340 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.7470 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b245711266b24f2211','aut66b244939466b24f2197' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.7510 5sk3ais4ug6e63sg8cnk7etpsu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7640 5sk3ais4ug6e63sg8cnk7etpsu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.7910 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b245711266b24f2211',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut66b244939466b24f2197' ,0,0 ,2,23.00,80000,?,?,?,?)
20240806@172818.1345 5sk3ais4ug6e63sg8cnk7etpsu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b244939466b24f2197','2405258','wait',39,'adm09112754980.682000002')
20240806@172818.2325 5sk3ais4ug6e63sg8cnk7etpsu Query : use flama_phc
20240806@172818.2328 5sk3ais4ug6e63sg8cnk7etpsu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240806@172818.2359 5sk3ais4ug6e63sg8cnk7etpsu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1411';
20240806@172818.2383 5sk3ais4ug6e63sg8cnk7etpsu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1411';
20240806@172818.2419 5sk3ais4ug6e63sg8cnk7etpsu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1411';
20240806@172818.2443 5sk3ais4ug6e63sg8cnk7etpsu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1411';
20240806@172818.3133 jqd598t57svg4tnihcuk2hkfv1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240806@172818.3145 jqd598t57svg4tnihcuk2hkfv1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240806@172818.3195 jqd598t57svg4tnihcuk2hkfv1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1412';
20240806@172818.3246 jqd598t57svg4tnihcuk2hkfv1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1412';
20240806@172818.3298 jqd598t57svg4tnihcuk2hkfv1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1412';
20240806@172818.3321 jqd598t57svg4tnihcuk2hkfv1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1412';
20240806@172818.3366 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.3369 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240806@172818.3437 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.3440 jqd598t57svg4tnihcuk2hkfv1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20240806@172818.3516 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240806@172818.3667 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240806@172818.3790 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20240806@172818.3921 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20240806@172818.4094 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240806@172818.4243 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.4246 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240806@172818.4283 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.4286 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 1 valor from td where td.ndoc = 39
20240806@172818.4318 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.4321 jqd598t57svg4tnihcuk2hkfv1 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240806@172818.4375 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240806@172818.4408 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.4411 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20240806@172818.4531 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.4534 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240806@172818.4563 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.4566 jqd598t57svg4tnihcuk2hkfv1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240806@172818.4605 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.4608 jqd598t57svg4tnihcuk2hkfv1 Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20240806@172818.4655 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.4658 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from td where ndoc = 39
20240806@172818.4671 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240806@172818.4688 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.4706 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172818.4728 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.4743 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172818.4776 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.4791 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172818.4803 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172818.4874 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172818.4887 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.4903 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172818.4921 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240806@172818.5097 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.5113 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172818.5147 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240806@172818.5159 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240806@172818.5190 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240806@172818.5207 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240806@172818.5220 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240806@172818.5239 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240806@172818.5253 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b242311166b24f2275',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240806@172818.5505 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 fno valor from wsftdata order by fno desc
20240806@172818.5523 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.5540 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172818.5564 jqd598t57svg4tnihcuk2hkfv1 Query : select 'normal' from dummy
20240806@172818.5579 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b242311166b24f2275',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',236,101889,0,'2024-08-06',39,'euro',0,0,2024 ,?,?)
20240806@172818.5906 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.5909 jqd598t57svg4tnihcuk2hkfv1 Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240806@172818.5934 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5347.00.1'
20240806@172818.6108 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6125 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.6150 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6165 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.6173 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.6186 jqd598t57svg4tnihcuk2hkfv1 Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240806@172818.6200 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6215 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.6227 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b241113166b24f2297','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.6231 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6246 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.6342 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b241113166b24f2297',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,10000,?,?,?,?)
20240806@172818.6624 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6643 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.6673 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6690 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.6699 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.6712 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6728 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.6741 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b245510266b24f22a3','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.6745 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.6761 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.6794 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b245510266b24f22a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,20000,?,?,?)
20240806@172818.7041 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.7044 jqd598t57svg4tnihcuk2hkfv1 Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20240806@172818.7066 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5342.00.1'
20240806@172818.7218 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7234 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.7262 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7277 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.7285 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.7297 jqd598t57svg4tnihcuk2hkfv1 Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20240806@172818.7311 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7327 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.7339 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b248707166b24f22b2','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.7343 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7357 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.7385 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b248707166b24f22b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,40000,?,?,?,?)
20240806@172818.7649 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7665 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.7693 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7707 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.7716 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.7748 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7762 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.7775 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b246321766b24f22bd','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.7779 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.7794 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.7825 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b246321766b24f22bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,50000,?,?,?)
20240806@172818.8076 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.8079 jqd598t57svg4tnihcuk2hkfv1 Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20240806@172818.8100 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20240806@172818.8238 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.8254 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.8280 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.8294 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.8303 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.8314 jqd598t57svg4tnihcuk2hkfv1 Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20240806@172818.8329 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.8345 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.8361 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b243625466b24f22cb','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.8370 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.8446 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.8473 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b243625466b24f22cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,70000,?,?,?,?)
20240806@172818.8734 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.8750 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.8779 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.8793 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.8802 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.8814 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.8831 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.8842 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b247572366b24f22d7','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.8847 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.8863 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.8893 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b247572366b24f22d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,80000,?,?,?)
20240806@172818.9144 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172818.9147 jqd598t57svg4tnihcuk2hkfv1 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240806@172818.9397 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20240806@172818.9695 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.9714 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.9739 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.9754 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.9763 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172818.9776 jqd598t57svg4tnihcuk2hkfv1 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240806@172818.9790 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.9804 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172818.9816 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b245396266b24f22ef','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172818.9820 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172818.9836 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172818.9865 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b245396266b24f22ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,100000,?,?,?,?)
20240806@172819.1390 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172819.2200 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172819.2920 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172819.3080 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172819.3160 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172819.3300 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172819.3490 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172819.3600 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b248912266b24f2308','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172819.3640 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172819.3990 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172819.4380 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b248912266b24f2308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,110000,?,?,?)
20240806@172819.8780 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172819.8830 jqd598t57svg4tnihcuk2hkfv1 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240806@172819.8878 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5501.00.1'
20240806@172820.1648 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.1814 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172820.1962 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.1980 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172820.2038 jqd598t57svg4tnihcuk2hkfv1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172820.2049 jqd598t57svg4tnihcuk2hkfv1 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240806@172820.2062 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.2078 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172820.2090 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b245270866b24f2432','aut66b242311166b24f2275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172820.2094 jqd598t57svg4tnihcuk2hkfv1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.2108 jqd598t57svg4tnihcuk2hkfv1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172820.2136 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b245270866b24f2432',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b242311166b24f2275' ,0,0 ,2,23.00,130000,?,?,?,?)
20240806@172820.2768 jqd598t57svg4tnihcuk2hkfv1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b242311166b24f2275','2405261','wait',39,'adm09112754980.682000002')
20240806@172820.3617 jqd598t57svg4tnihcuk2hkfv1 Query : use flama_phc
20240806@172820.3620 jqd598t57svg4tnihcuk2hkfv1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240806@172820.3652 jqd598t57svg4tnihcuk2hkfv1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1412';
20240806@172820.3678 jqd598t57svg4tnihcuk2hkfv1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1412';
20240806@172820.3714 jqd598t57svg4tnihcuk2hkfv1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1412';
20240806@172820.3740 jqd598t57svg4tnihcuk2hkfv1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1412';
20240806@172820.4353 ath6f8qsbdeei4fd53a0dkqjcs Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240806@172820.4365 ath6f8qsbdeei4fd53a0dkqjcs Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240806@172820.4417 ath6f8qsbdeei4fd53a0dkqjcs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1413';
20240806@172820.4476 ath6f8qsbdeei4fd53a0dkqjcs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1413';
20240806@172820.4529 ath6f8qsbdeei4fd53a0dkqjcs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1413';
20240806@172820.4555 ath6f8qsbdeei4fd53a0dkqjcs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1413';
20240806@172820.4602 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.4606 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240806@172820.4671 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.4674 ath6f8qsbdeei4fd53a0dkqjcs Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20240806@172820.4726 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240806@172820.4899 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.4903 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240806@172820.4939 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.4942 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 1 valor from td where td.ndoc = 39
20240806@172820.5038 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.5080 ath6f8qsbdeei4fd53a0dkqjcs Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240806@172820.5114 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240806@172820.5154 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.5158 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20240806@172820.5192 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.5196 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240806@172820.5277 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.5282 ath6f8qsbdeei4fd53a0dkqjcs Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240806@172820.5329 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.5335 ath6f8qsbdeei4fd53a0dkqjcs Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20240806@172820.5385 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.5389 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from td where ndoc = 39
20240806@172820.5404 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240806@172820.5419 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.5438 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172820.5494 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.5510 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172820.5543 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.5566 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172820.5588 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172820.5751 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240806@172820.5921 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.5944 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240806@172820.5962 ath6f8qsbdeei4fd53a0dkqjcs Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b243567366b24f2488' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240806@172820.6142 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.6160 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240806@172820.6195 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240806@172820.6211 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240806@172820.6227 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240806@172820.6239 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240806@172820.6276 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240806@172820.6290 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240806@172820.6304 ath6f8qsbdeei4fd53a0dkqjcs Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b243567366b24f2488',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240806@172820.6564 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 fno valor from wsftdata order by fno desc
20240806@172820.6582 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.6599 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240806@172820.6626 ath6f8qsbdeei4fd53a0dkqjcs Query : select 'normal' from dummy
20240806@172820.6645 ath6f8qsbdeei4fd53a0dkqjcs Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b243567366b24f2488',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',237,101889,0,'2024-08-06',39,'euro',0,0,2024 ,?,?)
20240806@172820.7019 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.7023 ath6f8qsbdeei4fd53a0dkqjcs Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240806@172820.7049 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20240806@172820.7248 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.7266 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172820.7298 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.7314 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172820.7323 ath6f8qsbdeei4fd53a0dkqjcs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240806@172820.7338 ath6f8qsbdeei4fd53a0dkqjcs Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2100202100a'
20240806@172820.7360 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.7379 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240806@172820.7391 ath6f8qsbdeei4fd53a0dkqjcs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b245856966b24f24b3','aut66b243567366b24f2488' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240806@172820.7396 ath6f8qsbdeei4fd53a0dkqjcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240806@172820.7411 ath6f8qsbdeei4fd53a0dkqjcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240806@172820.7441 ath6f8qsbdeei4fd53a0dkqjcs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b245856966b24f24b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b243567366b24f2488' ,0,0 ,2,23.00,10000,?,?,?,?)
20240806@172820.7768 ath6f8qsbdeei4fd53a0dkqjcs Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b243567366b24f2488','2405262','wait',39,'adm09112754980.682000002')
20240806@172820.7838 ath6f8qsbdeei4fd53a0dkqjcs Query : use flama_phc
20240806@172820.7844 ath6f8qsbdeei4fd53a0dkqjcs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240806@172820.7877 ath6f8qsbdeei4fd53a0dkqjcs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1413';
20240806@172820.7904 ath6f8qsbdeei4fd53a0dkqjcs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1413';
20240806@172820.7942 ath6f8qsbdeei4fd53a0dkqjcs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1413';
20240806@172820.7969 ath6f8qsbdeei4fd53a0dkqjcs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1413';

20240807@160036.8638 bpg99h8trhe4outpgfcl734uki Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1414';
20240807@160036.8710 bpg99h8trhe4outpgfcl734uki Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1414';
20240807@160036.8740 bpg99h8trhe4outpgfcl734uki Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1414';
20240807@160036.8781 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160036.8786 bpg99h8trhe4outpgfcl734uki Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240807@160036.8899 bpg99h8trhe4outpgfcl734uki Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1889.00.1'
20240807@160036.9024 bpg99h8trhe4outpgfcl734uki Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400289 and bi.ref ='324.1889.00.1' and bi.lordem =20000
20240807@160036.9388 bpg99h8trhe4outpgfcl734uki Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24031443578,474000002 ' 
20240807@160036.9718 bpg99h8trhe4outpgfcl734uki Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1889.00.1'
20240807@160036.9740 bpg99h8trhe4outpgfcl734uki Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400289 and bi.ref ='324.1889.00.1' and bi.lordem =20000
20240807@160036.9766 bpg99h8trhe4outpgfcl734uki Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24031443578,474000002 ' 
20240807@160036.9803 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160036.9807 bpg99h8trhe4outpgfcl734uki Query : select top 1 1 valor from ts where ts.ndos = 61
20240807@160036.9915 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160036.9919 bpg99h8trhe4outpgfcl734uki Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240807@160036.9989 bpg99h8trhe4outpgfcl734uki Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240807@160037.1540 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160037.1570 bpg99h8trhe4outpgfcl734uki Query : select top 1 ~inactivo valor from fl where no = '202241' and estab = 00 order by inactivo desc
20240807@160037.2770 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160037.2810 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from ts where ndos = 61
20240807@160037.3650 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.6420 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240807@160037.7110 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.7320 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240807@160037.7430 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.7610 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240807@160037.7730 bpg99h8trhe4outpgfcl734uki Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20240807@160037.9140 bpg99h8trhe4outpgfcl734uki Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240807@160037.1026 bpg99h8trhe4outpgfcl734uki Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240807@160037.1050 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160037.1057 bpg99h8trhe4outpgfcl734uki Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202241' and estab=00
20240807@160037.1153 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.1173 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240807@160037.1219 bpg99h8trhe4outpgfcl734uki Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b380212666b38c1519',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240807@160037.1290 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.1309 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240807@160037.1323 bpg99h8trhe4outpgfcl734uki Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b380212666b38c1519','--','bo',7.9731843575418994413 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240807@160037.1559 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.1582 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240807@160037.1598 bpg99h8trhe4outpgfcl734uki Query : insert into bo (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b380212666b38c1519','guia r. fornecedor','2024-08-07',61,2402301,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240807@160037.2107 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160037.2180 bpg99h8trhe4outpgfcl734uki Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20240807@160037.2329 bpg99h8trhe4outpgfcl734uki Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20240807@160037.2613 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.2636 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240807@160037.2655 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.2672 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240807@160037.2684 bpg99h8trhe4outpgfcl734uki Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20240807@160037.2747 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.2765 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240807@160037.2777 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.2794 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240807@160037.2810 bpg99h8trhe4outpgfcl734uki Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b389954866b38c1543',?,?,'20240807',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240807@160037.2975 bpg99h8trhe4outpgfcl734uki Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@160037.3020 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.3037 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240807@160037.3053 bpg99h8trhe4outpgfcl734uki Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66b383429066b38c1549','aut66b380212666b38c1519',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut66b380212666b38c1519'
20240807@160037.3252 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160037.3273 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240807@160037.3294 bpg99h8trhe4outpgfcl734uki Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut66b383429066b38c1549',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 5, 5*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,26.85,26.85*200.48,26.85,26.85*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,26.85*5,26.85*5*200.48 ,30.746000,30.746000*200.48 ,30.746000,30.746000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,26.85,26.85*200.48,26.85*5,26.85*5*200.48,'cps24031443578,474000002 ',214.08,214.08*5,214.08,214.08*5,?,?,?,4 from bo bo where bo.bostamp = 'aut66b380212666b38c1519'
20240807@160043.1081 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160043.1086 bpg99h8trhe4outpgfcl734uki Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20240807@160043.1112 bpg99h8trhe4outpgfcl734uki Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20240807@160043.1131 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160043.1150 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240807@160043.1169 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160043.1187 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240807@160043.1197 bpg99h8trhe4outpgfcl734uki Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400289200a'
20240807@160043.1215 bpg99h8trhe4outpgfcl734uki Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@160043.1231 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160043.1248 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240807@160043.1263 bpg99h8trhe4outpgfcl734uki Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66b387337566b38c1b1e','aut66b380212666b38c1519',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut66b380212666b38c1519'
20240807@160043.1446 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@160043.1467 bpg99h8trhe4outpgfcl734uki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240807@160043.1488 bpg99h8trhe4outpgfcl734uki Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut66b387337566b38c1b1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1330, 1330*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,26.85,26.85*200.48,26.85,26.85*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,26.85*1330,26.85*1330*200.48 ,29.721000,29.721000*200.48 ,29.721000,29.721000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,26.85,26.85*200.48,26.85*1330,26.85*1330*200.48,'cps24031443578,474000002 ',214.08,214.08*1330,214.08,214.08*1330,?,?,?,4 from bo bo where bo.bostamp = 'aut66b380212666b38c1519'
20240807@160043.2057 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160043.2063 bpg99h8trhe4outpgfcl734uki Query : declare @bostamp varchar(25) = 'aut66b380212666b38c1519' ,@bistamp varchar(25) = '' update bi set tecoval = qtt * ecoval ,etecoval = qtt * eecoval ,tecoval2 = qtt * ecoval2 ,etecoval2 = qtt * eecoval2 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end -- se tiver classificação e não for normal, não calcula nada update bi set ttdeb = 0 ,ettdeb = 0 ,ttmoeda = 0 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and bi.classifc <> '' and bi.classifc <> 'normal' -- no caso normal com moeda euro if exists ( select 1 from bo cross apply ( select valor moeda from para1 where descricao = 'ge_pteoueuro' ) par where bo.bostamp = @bostamp and bo.moeda = par.moeda ) begin -- sem ecovalores update bi set ettdeb = round(bi.qtt * ((bi.edebito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttdeb = round(bi.qtt * ((bi.debito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 1 -- com ecovalores update bi set ettdeb = round(bi.qtt * ( ( bi.edebito + ( iif(p.st_econotdesc = 1, - bi.eecoval2, bi.eecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.eecoval + bi.eecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttdeb = round(bi.qtt * ( ( bi.debito + ( iif(p.st_econotdesc = 1, - bi.ecoval2, bi.ecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.ecoval + bi.ecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp left join st on bi.ref = st.ref left join taxasiva tiva on bi.tabiva = tiva.codigo cross apply ( select max(valor) st_econotdesc from ( select case when valor = 's' then 1 else 0 end valor from para1 where descricao = 'st_econotdesc' union all select 0 ) a ) p where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 0 --acrescenta os descontos em valor, caso existam: update bi set ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 2) ,ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ttmoeda = 0 from bi where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end else begin update bi set ttmoeda = round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2) ,ettdeb = case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ,edebito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end ,debito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end * 200.482 from bi inner join bo2 on bi.bostamp = bo2.bo2stamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) update bi set ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 0) ,debito = round(bi.debito - (bi.qtt * bi.valdesc), 2) ,edebito = round(bi.edebito - (bi.qtt * bi.evaldesc), 2) where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end 
20240807@160043.5776 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160043.5779 bpg99h8trhe4outpgfcl734uki Query : select 1 valor from bo where bo.bostamp = 'aut66b380212666b38c1519'
20240807@160043.5917 bpg99h8trhe4outpgfcl734uki Query : declare @errno int ,@errmsg varchar(255) ,@prod bit ,@nrdec numeric(10, 0) ,@totaldeb numeric(18, 5) ,@etotaldeb numeric(19, 6) ,@total numeric(18, 5) ,@etotal numeric(19, 6) ,@custo numeric(18, 5) ,@ecusto numeric(19, 6) ,@bo_1iliq numeric(19, 6) ,@bo_2iliq numeric(19, 6) ,@base1 numeric(19, 6) ,@base2 numeric(19, 6) ,@moetotal numeric(13, 3) ,@smoe1 numeric(13, 3) ,@smoe2 numeric(13, 3) ,@smoe3 numeric(13, 3) ,@smoe4 numeric(13, 3) ,@bo11_bins numeric(18, 5) ,@bo21_bins numeric(18, 5) ,@bo31_bins numeric(18, 5) ,@bo41_bins numeric(18, 5) ,@bo51_bins numeric(18, 5) ,@bo61_bins numeric(18, 5) ,@bo71_bins numeric(18, 5) ,@bo81_bins numeric(18, 5) ,@bo91_bins numeric(18, 5) ,@bo12_bins numeric(18, 5) ,@bo22_bins numeric(18, 5) ,@bo32_bins numeric(18, 5) ,@bo42_bins numeric(18, 5) ,@bo52_bins numeric(18, 5) ,@bo62_bins numeric(18, 5) ,@bo72_bins numeric(18, 5) ,@bo82_bins numeric(18, 5) ,@bo92_bins numeric(18, 5) ,@ebo11_bins numeric(19, 6) ,@ebo21_bins numeric(19, 6) ,@ebo31_bins numeric(19, 6) ,@ebo41_bins numeric(19, 6) ,@ebo51_bins numeric(19, 6) ,@ebo61_bins numeric(19, 6) ,@ebo71_bins numeric(18, 5) ,@ebo81_bins numeric(18, 5) ,@ebo91_bins numeric(18, 5) ,@ebo12_bins numeric(19, 6) ,@ebo22_bins numeric(19, 6) ,@ebo32_bins numeric(19, 6) ,@ebo42_bins numeric(19, 6) ,@ebo52_bins numeric(19, 6) ,@ebo62_bins numeric(19, 6) ,@ebo72_bins numeric(18, 5) ,@ebo82_bins numeric(18, 5) ,@ebo92_bins numeric(18, 5) ,@bo11_iva numeric(18, 5) ,@bo21_iva numeric(18, 5) ,@bo31_iva numeric(18, 5) ,@bo41_iva numeric(18, 5) ,@bo51_iva numeric(18, 5) ,@bo61_iva numeric(18, 5) ,@bo71_iva numeric(18, 5) ,@bo81_iva numeric(18, 5) ,@bo91_iva numeric(18, 5) ,@bo12_iva numeric(18, 5) ,@bo22_iva numeric(18, 5) ,@bo32_iva numeric(18, 5) ,@bo42_iva numeric(18, 5) ,@bo52_iva numeric(18, 5) ,@bo62_iva numeric(18, 5) ,@bo72_iva numeric(18, 5) ,@bo82_iva numeric(18, 5) ,@bo92_iva numeric(18, 5) ,@ebo11_iva numeric(19, 6) ,@ebo21_iva numeric(19, 6) ,@ebo31_iva numeric(19, 6) ,@ebo41_iva numeric(19, 6) ,@ebo51_iva numeric(19, 6) ,@ebo61_iva numeric(19, 6) ,@ebo71_iva numeric(18, 5) ,@ebo81_iva numeric(18, 5) ,@ebo91_iva numeric(18, 5) ,@ebo12_iva numeric(19, 6) ,@ebo22_iva numeric(19, 6) ,@ebo32_iva numeric(19, 6) ,@ebo42_iva numeric(19, 6) ,@ebo52_iva numeric(19, 6) ,@ebo62_iva numeric(19, 6) ,@ebo72_iva numeric(18, 5) ,@ebo82_iva numeric(18, 5) ,@ebo92_iva numeric(18, 5) ,@esdeb1 numeric(19, 6) ,@esdeb2 numeric(19, 6) ,@esdeb3 numeric(19, 6) ,@esdeb4 numeric(19, 6) ,@sdeb1 numeric(18, 5) ,@sdeb2 numeric(18, 5) ,@sdeb3 numeric(18, 5) ,@sdeb4 numeric(18, 5) ,@estot1 numeric(19, 6) ,@estot2 numeric(19, 6) ,@estot3 numeric(19, 6) ,@estot4 numeric(19, 6) ,@stot1 numeric(18, 5) ,@stot2 numeric(18, 5) ,@stot3 numeric(18, 5) ,@stot4 numeric(18, 5) ,@ebo_1tvall numeric(19, 6) ,@ebo_2tvall numeric(19, 6) ,@bo_1tvall numeric(18, 5) ,@bo_2tvall numeric(18, 5) ,@ebo_totp1 numeric(19, 6) ,@ebo_totp2 numeric(19, 6) ,@bo_totp1 numeric(18, 5) ,@bo_totp2 numeric(18, 5) ,@sqtt11 numeric(13, 3) ,@sqtt21 numeric(13, 3) ,@sqtt12 numeric(13, 3) ,@sqtt22 numeric(13, 3) ,@sqtt13 numeric(13, 3) ,@sqtt23 numeric(13, 3) ,@sqtt14 numeric(13, 3) ,@sqtt24 numeric(13, 3) ,@userinis varchar (30) ,@mybostamp char(25) = 'aut66b380212666b38c1519' declare @totaisiva table ( bostamp varchar (25), codigo numeric(1), taxa numeric (5,2), ebaseinc numeric (19,6), baseinc numeric (18,5), evalor numeric (19,6), valor numeric (18,5) ) set @prod = ( select ts.producao from bo(nolock) inner join ts(nolock) on bo.ndos = ts.ndos and bo.bostamp = @mybostamp ) set @nrdec = ( select convert(numeric(10, 0), valor) from para1(nolock) where descricao = 'de_euro' ) --set @prod = 0 --set @nrdec = 2 select @ecusto = sum(bi.epcusto * bi.qtt) ,@custo = sum(bi.pcusto * bi.qtt) ,@bo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo_1iliq = round(sum(bi.qtt * bi.epu), @nrdec) ,@bo_2iliq = round(sum(bi.ettdeb), @nrdec) ,@bo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else bi.ettdeb - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@esdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@sdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@smoe1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@total = @stot1 + @stot2 + @stot3 + @stot4 ,@etotal = @estot1 + @estot2 + @estot3 + @estot4 ,@totaldeb = @sdeb1 + @sdeb2 + @sdeb3 + @sdeb4 ,@etotaldeb = @esdeb1 + @esdeb2 + @esdeb3 + @esdeb4 ,@moetotal = @smoe1 + @smoe2 + @smoe3 + @smoe4 ,@ebo_1tvall = @ebo11_bins + @ebo21_bins + @ebo31_bins + @ebo41_bins + @ebo51_bins + @ebo61_bins + @ebo71_bins + @ebo81_bins + @ebo91_bins ,@ebo_2tvall = @ebo12_bins + @ebo22_bins + @ebo32_bins + @ebo42_bins + @ebo52_bins + @ebo62_bins + @ebo72_bins + @ebo82_bins + @ebo92_bins ,@bo_1tvall = @bo11_bins + @bo21_bins + @bo31_bins + @bo41_bins + @bo51_bins + @bo61_bins + @bo71_bins + @bo81_bins + @bo91_bins ,@bo_2tvall = @bo12_bins + @bo22_bins + @bo32_bins + @bo42_bins + @bo52_bins + @bo62_bins + @bo72_bins + @bo82_bins + @bo92_bins ,@ebo_totp1 = sum(case when bi.ivaincl = 0 then (bi.epu * bi.qtt) else round((bi.epu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@ebo_totp2 = sum(case when bi.ivaincl = 0 then (bi.edebito * bi.qtt) else round((bi.edebito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp1 = sum(case when bi.ivaincl = 0 then (bi.pu * bi.qtt) else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp2 = sum(case when bi.ivaincl = 0 then (bi.debito * bi.qtt) else round((bi.debito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@sqtt11 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt21 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt12 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt22 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt13 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt23 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt14 = sum(case when bi.stipo = 4 then bi.qtt else 0 end) ,@sqtt24 = sum(case when bi.stipo = 5 then bi.qtt else 0 end) from bi(nolock) where bi.bostamp = @mybostamp and bi.producao = case when @prod = 1 then 1 else bi.producao end and bi.composto = 0 and bi.qtt <> 0 update bo set bo.totaldeb = isnull(@totaldeb, 0) ,bo.total = isnull(@total, 0) ,bo.etotaldeb = isnull(@etotaldeb, 0) ,bo.moetotal = isnull(@moetotal, 0) ,bo.etotal = isnull(@etotal, 0) ,bo.ecusto = isnull(@ecusto, 0) ,bo.custo = isnull(@custo, 0) ,bo.bo11_bins = isnull(@bo11_bins, 0) ,bo.bo12_bins = isnull(@bo12_bins, 0) ,bo.bo21_bins = isnull(@bo21_bins, 0) ,bo.bo22_bins = isnull(@bo22_bins, 0) ,bo.bo31_bins = isnull(@bo31_bins, 0) ,bo.bo32_bins = isnull(@bo32_bins, 0) ,bo.bo41_bins = isnull(@bo41_bins, 0) ,bo.bo42_bins = isnull(@bo42_bins, 0) ,bo.bo51_bins = isnull(@bo51_bins, 0) ,bo.bo52_bins = isnull(@bo52_bins, 0) ,bo.bo61_bins = isnull(@bo61_bins, 0) ,bo.bo62_bins = isnull(@bo62_bins, 0) ,bo.ebo11_bins = isnull(@ebo11_bins, 0) ,bo.ebo12_bins = isnull(@ebo12_bins, 0) ,bo.ebo21_bins = isnull(@ebo21_bins, 0) ,bo.ebo22_bins = isnull(@ebo22_bins, 0) ,bo.ebo31_bins = isnull(@ebo31_bins, 0) ,bo.ebo32_bins = isnull(@ebo32_bins, 0) ,bo.ebo41_bins = isnull(@ebo41_bins, 0) ,bo.ebo42_bins = isnull(@ebo42_bins, 0) ,bo.ebo51_bins = isnull(@ebo51_bins, 0) ,bo.ebo52_bins = isnull(@ebo52_bins, 0) ,bo.ebo61_bins = isnull(@ebo61_bins, 0) ,bo.ebo62_bins = isnull(@ebo62_bins, 0) ,bo.bo11_iva = isnull(@bo11_iva, 0) ,bo.bo12_iva = isnull(@bo12_iva, 0) ,bo.bo21_iva = isnull(@bo21_iva, 0) ,bo.bo22_iva = isnull(@bo22_iva, 0) ,bo.bo31_iva = isnull(@bo31_iva, 0) ,bo.bo32_iva = isnull(@bo32_iva, 0) ,bo.bo41_iva = isnull(@bo41_iva, 0) ,bo.bo42_iva = isnull(@bo42_iva, 0) ,bo.bo51_iva = isnull(@bo51_iva, 0) ,bo.bo52_iva = isnull(@bo52_iva, 0) ,bo.bo61_iva = isnull(@bo61_iva, 0) ,bo.bo62_iva = isnull(@bo62_iva, 0) ,bo.ebo11_iva = isnull(@ebo11_iva, 0) ,bo.ebo12_iva = isnull(@ebo12_iva, 0) ,bo.ebo21_iva = isnull(@ebo21_iva, 0) ,bo.ebo22_iva = isnull(@ebo22_iva, 0) ,bo.ebo31_iva = isnull(@ebo31_iva, 0) ,bo.ebo32_iva = isnull(@ebo32_iva, 0) ,bo.ebo41_iva = isnull(@ebo41_iva, 0) ,bo.ebo42_iva = isnull(@ebo42_iva, 0) ,bo.ebo51_iva = isnull(@ebo51_iva, 0) ,bo.ebo52_iva = isnull(@ebo52_iva, 0) ,bo.ebo61_iva = isnull(@ebo61_iva, 0) ,bo.ebo62_iva = isnull(@ebo62_iva, 0) ,bo.esdeb1 = isnull(@esdeb1, 0) ,bo.esdeb2 = isnull(@esdeb2, 0) ,bo.esdeb3 = isnull(@esdeb3, 0) ,bo.esdeb4 = isnull(@esdeb4, 0) ,bo.sdeb1 = isnull(@sdeb1, 0) ,bo.sdeb2 = isnull(@sdeb2, 0) ,bo.sdeb3 = isnull(@sdeb3, 0) ,bo.sdeb4 = isnull(@sdeb4, 0) ,bo.smoe1 = isnull(@smoe1, 0) ,bo.smoe2 = isnull(@smoe2, 0) ,bo.smoe3 = isnull(@smoe3, 0) ,bo.smoe4 = isnull(@smoe4, 0) ,bo.estot1 = isnull(@estot1, 0) ,bo.estot2 = isnull(@estot2, 0) ,bo.estot3 = isnull(@estot3, 0) ,bo.estot4 = isnull(@estot4, 0) ,bo.stot1 = isnull(@stot1, 0) ,bo.stot2 = isnull(@stot2, 0) ,bo.stot3 = isnull(@stot3, 0) ,bo.stot4 = isnull(@stot4, 0) ,bo.ebo_1tvall = isnull(@ebo_1tvall, 0) ,bo.ebo_2tvall = isnull(@ebo_2tvall, 0) ,bo.bo_1tvall = isnull(@bo_1tvall, 0) ,bo.bo_2tvall = isnull(@bo_2tvall, 0) ,bo.ebo_totp1 = isnull(@ebo_totp1, 0) ,bo.ebo_totp2 = isnull(@ebo_totp2, 0) ,bo.bo_totp1 = isnull(@bo_totp1, 0) ,bo.bo_totp2 = isnull(@bo_totp2, 0) ,bo.sqtt11 = isnull(@sqtt11, 0) ,bo.sqtt21 = isnull(@sqtt21, 0) ,bo.sqtt12 = isnull(@sqtt12, 0) ,bo.sqtt22 = isnull(@sqtt22, 0) ,bo.sqtt13 = isnull(@sqtt13, 0) ,bo.sqtt23 = isnull(@sqtt23, 0) ,bo.sqtt14 = isnull(@sqtt14, 0) ,bo.sqtt24 = isnull(@sqtt24, 0) where bostamp = @mybostamp update bo2 set bo2.bo71_bins = isnull(@bo71_bins, 0) ,bo2.bo72_bins = isnull(@bo72_bins, 0) ,bo2.bo81_bins = isnull(@bo81_bins, 0) ,bo2.bo82_bins = isnull(@bo82_bins, 0) ,bo2.bo91_bins = isnull(@bo91_bins, 0) ,bo2.bo92_bins = isnull(@bo92_bins, 0) ,bo2.ebo71_bins = isnull(@ebo71_bins, 0) ,bo2.ebo72_bins = isnull(@ebo72_bins, 0) ,bo2.ebo81_bins = isnull(@ebo81_bins, 0) ,bo2.ebo82_bins = isnull(@ebo82_bins, 0) ,bo2.ebo91_bins = isnull(@ebo91_bins, 0) ,bo2.ebo92_bins = isnull(@ebo92_bins, 0) ,bo2.bo71_iva = isnull(@bo71_iva, 0) ,bo2.bo72_iva = isnull(@bo72_iva, 0) ,bo2.bo81_iva = isnull(@bo81_iva, 0) ,bo2.bo82_iva = isnull(@bo82_iva, 0) ,bo2.bo91_iva = isnull(@bo91_iva, 0) ,bo2.bo92_iva = isnull(@bo92_iva, 0) ,bo2.ebo71_iva = isnull(@ebo71_iva, 0) ,bo2.ebo72_iva = isnull(@ebo72_iva, 0) ,bo2.ebo81_iva = isnull(@ebo81_iva, 0) ,bo2.ebo82_iva = isnull(@ebo82_iva, 0) ,bo2.ebo91_iva = isnull(@ebo91_iva, 0) ,bo2.ebo92_iva = isnull(@ebo92_iva, 0) ,bo2.etotalciva = isnull(@etotaldeb, 0) + isnull(@ebo12_iva, 0) +isnull(@ebo22_iva, 0) +isnull(@ebo32_iva, 0) +isnull(@ebo42_iva, 0) +isnull(@ebo52_iva, 0) +isnull(@ebo62_iva, 0) +isnull(@ebo72_iva, 0) +isnull(@ebo82_iva, 0) +isnull(@ebo92_iva, 0) --,bo2.mtotalciva =isnull(@moetotal, 0) where bo2stamp = @mybostamp -- trata os bot select @userinis = usrinis from bo where bo.bostamp=@mybostamp insert into @totaisiva ( bostamp, codigo, taxa, ebaseinc, baseinc, evalor, valor ) select @mybostamp,codigo,taxa ,case when (@ebo11_bins <>0) then @ebo11_bins else @ebo12_bins end ,case when (@ebo11_bins <>0) then @bo11_bins else @bo12_bins end ,case when (@ebo11_bins <>0) then @ebo11_iva else @ebo12_iva end ,case when (@ebo11_bins <>0) then @bo11_iva else @bo12_iva end from taxasiva where codigo = 1 union all select @mybostamp,codigo,taxa ,case when (@ebo21_bins <>0) then @ebo21_bins else @ebo22_bins end ,case when (@ebo21_bins <>0) then @bo21_bins else @bo22_bins end ,case when (@ebo21_bins <>0) then @ebo21_iva else @ebo22_iva end ,case when (@ebo21_bins <>0) then @bo21_iva else @bo22_iva end from taxasiva where codigo = 2 union all select @mybostamp,codigo,taxa ,case when (@ebo31_bins <>0) then @ebo31_bins else @ebo32_bins end ,case when (@ebo31_bins <>0) then @bo31_bins else @bo32_bins end ,case when (@ebo31_bins <>0) then @ebo31_iva else @ebo32_iva end ,case when (@ebo31_bins <>0) then @bo31_iva else @bo32_iva end from taxasiva where codigo = 3 union all select @mybostamp,codigo,taxa ,case when (@ebo41_bins <>0) then @ebo41_bins else @ebo42_bins end ,case when (@ebo41_bins <>0) then @bo41_bins else @bo42_bins end ,case when (@ebo41_bins <>0) then @ebo41_iva else @ebo42_iva end ,case when (@ebo41_bins <>0) then @bo41_iva else @bo42_iva end from taxasiva where codigo = 4 union all select @mybostamp,codigo,taxa ,case when (@ebo51_bins <>0) then @ebo51_bins else @ebo52_bins end ,case when (@ebo51_bins <>0) then @bo51_bins else @bo52_bins end ,case when (@ebo51_bins <>0) then @ebo51_iva else @ebo52_iva end ,case when (@ebo51_bins <>0) then @bo51_iva else @bo52_iva end from taxasiva where codigo = 5 union all select @mybostamp,codigo,taxa ,case when (@ebo61_bins <>0) then @ebo61_bins else @ebo62_bins end ,case when (@ebo61_bins <>0) then @bo61_bins else @bo62_bins end ,case when (@ebo61_bins <>0) then @ebo61_iva else @ebo62_iva end ,case when (@ebo61_bins <>0) then @bo61_iva else @bo62_iva end from taxasiva where codigo = 6 union all select @mybostamp,codigo,taxa ,case when (@ebo71_bins <>0) then @ebo71_bins else @ebo72_bins end ,case when (@ebo71_bins <>0) then @bo71_bins else @bo72_bins end ,case when (@ebo71_bins <>0) then @ebo71_iva else @ebo72_iva end ,case when (@ebo71_bins <>0) then @bo71_iva else @bo72_iva end from taxasiva where codigo = 7 union all select @mybostamp,codigo,taxa ,case when (@ebo81_bins <>0) then @ebo81_bins else @ebo82_bins end ,case when (@ebo81_bins <>0) then @bo81_bins else @bo82_bins end ,case when (@ebo81_bins <>0) then @ebo81_iva else @ebo82_iva end ,case when (@ebo81_bins <>0) then @bo81_iva else @bo82_iva end from taxasiva where codigo = 8 union all select @mybostamp,codigo,taxa ,case when (@ebo91_bins <>0) then @ebo91_bins else @ebo92_bins end ,case when (@ebo91_bins <>0) then @bo91_bins else @bo92_bins end ,case when (@ebo91_bins <>0) then @ebo91_iva else @ebo92_iva end ,case when (@ebo91_bins <>0) then @bo91_iva else @bo92_iva end from taxasiva where codigo = 9 update bot set ebaseinc = totiva.ebaseinc, baseinc = totiva.baseinc, evalor = totiva.evalor, valor = totiva.valor, usrinis = @userinis, usrdata = convert (date,getdate()), usrhora = convert (time,getdate()) from @totaisiva totiva inner join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo insert into bot ( botstamp ,bostamp ,codigo ,taxa ,ebaseinc ,baseinc ,evalor ,valor ,ousrinis ,ousrdata ,ousrhora ,usrinis ,usrdata ,usrhora ) select ( left(@userinis,3) + 'tt' + left(newid(),5) + right(newid(),5) + left(newid(),5) + right(newid(),5)) stamp ,@mybostamp stampbo ,totiva.codigo ,totiva.taxa ,totiva.ebaseinc ,totiva.baseinc ,totiva.evalor ,totiva.valor ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) from @totaisiva totiva left join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo where bot.botstamp is null -- atualiza os campo bi.series e bi.series2, caso tenha equipamentos update bi set series = s1, series2=s2 from bi inner join ( select distinct bistamp,ser.s1, ser.s2 from boma cross apply (select stuff ( ( select ',' + rtrim(serie) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s1 , stuff ( ( select ',' + rtrim(serie2) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s2 ) ser where boma.bostamp = @mybostamp ) myboma on bi.bistamp = myboma.bistamp where bi.bostamp = @mybostamp 
20240807@160043.8067 bpg99h8trhe4outpgfcl734uki Query : use flama_phc
20240807@160043.8071 bpg99h8trhe4outpgfcl734uki Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240807@160043.8127 bpg99h8trhe4outpgfcl734uki Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1414';
20240807@160043.8155 bpg99h8trhe4outpgfcl734uki Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1414';

20240807@172215.1040 a6orqusp22te70oulr5gaq647s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1415';
20240807@172215.1940 a6orqusp22te70oulr5gaq647s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1415';
20240807@172215.2200 a6orqusp22te70oulr5gaq647s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1415';
20240807@172215.2760 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.2800 a6orqusp22te70oulr5gaq647s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240807@172215.3760 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.3840 a6orqusp22te70oulr5gaq647s Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240807@172215.3081 a6orqusp22te70oulr5gaq647s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240807@172215.3258 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.3262 a6orqusp22te70oulr5gaq647s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240807@172215.3483 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.3488 a6orqusp22te70oulr5gaq647s Query : select top 1 1 valor from td where td.ndoc = 39
20240807@172215.3592 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.3596 a6orqusp22te70oulr5gaq647s Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240807@172215.3632 a6orqusp22te70oulr5gaq647s Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240807@172215.3775 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.3779 a6orqusp22te70oulr5gaq647s Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240807@172215.3911 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.3914 a6orqusp22te70oulr5gaq647s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240807@172215.4062 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.4066 a6orqusp22te70oulr5gaq647s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240807@172215.4151 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.4156 a6orqusp22te70oulr5gaq647s Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240807@172215.4211 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.4217 a6orqusp22te70oulr5gaq647s Query : select 1 valor from td where ndoc = 39
20240807@172215.4318 a6orqusp22te70oulr5gaq647s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240807@172215.4398 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.4420 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172215.4444 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.4460 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172215.4493 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.4510 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172215.4527 a6orqusp22te70oulr5gaq647s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172215.4776 a6orqusp22te70oulr5gaq647s Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172215.4897 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.4918 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172215.4941 a6orqusp22te70oulr5gaq647s Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b399289866b39f376e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240807@172215.5293 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.5316 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172215.5374 a6orqusp22te70oulr5gaq647s Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240807@172215.5489 a6orqusp22te70oulr5gaq647s Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240807@172215.5638 a6orqusp22te70oulr5gaq647s Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240807@172215.5732 a6orqusp22te70oulr5gaq647s Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240807@172215.5824 a6orqusp22te70oulr5gaq647s Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240807@172215.5917 a6orqusp22te70oulr5gaq647s Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240807@172215.6000 a6orqusp22te70oulr5gaq647s Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b399289866b39f376e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240807@172215.6486 a6orqusp22te70oulr5gaq647s Query : select top 1 fno valor from wsftdata order by fno desc
20240807@172215.6581 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.6601 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172215.6631 a6orqusp22te70oulr5gaq647s Query : select 'normal' from dummy
20240807@172215.6683 a6orqusp22te70oulr5gaq647s Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b399289866b39f376e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',238,100810,0,'2024-08-07',39,'euro',0,0,2024 ,?,?)
20240807@172215.7266 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.7270 a6orqusp22te70oulr5gaq647s Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240807@172215.7300 a6orqusp22te70oulr5gaq647s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240807@172215.7466 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.7489 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172215.7520 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.7537 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172215.7549 a6orqusp22te70oulr5gaq647s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172215.7563 a6orqusp22te70oulr5gaq647s Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240807@172215.7590 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.7617 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172215.7633 a6orqusp22te70oulr5gaq647s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394745066b39f37b9','aut66b399289866b39f376e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172215.7704 a6orqusp22te70oulr5gaq647s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172215.7723 a6orqusp22te70oulr5gaq647s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172215.7763 a6orqusp22te70oulr5gaq647s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b394745066b39f37b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut66b399289866b39f376e' ,0,0 ,2,23.00,10000,?,?,?,?)
20240807@172215.8244 a6orqusp22te70oulr5gaq647s Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b399289866b39f376e','2405223','wait',39,'adm09112754980.682000002')
20240807@172215.8347 a6orqusp22te70oulr5gaq647s Query : use flama_phc
20240807@172215.8355 a6orqusp22te70oulr5gaq647s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240807@172215.8392 a6orqusp22te70oulr5gaq647s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1415';
20240807@172215.8419 a6orqusp22te70oulr5gaq647s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1415';
20240807@172215.8459 a6orqusp22te70oulr5gaq647s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1415';
20240807@172215.8485 a6orqusp22te70oulr5gaq647s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1415';
20240807@172216.6000 f37i9acmcduqj3v462ngcvsg1e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240807@172216.6140 f37i9acmcduqj3v462ngcvsg1e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240807@172216.6830 f37i9acmcduqj3v462ngcvsg1e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1416';
20240807@172216.7360 f37i9acmcduqj3v462ngcvsg1e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1416';
20240807@172216.7860 f37i9acmcduqj3v462ngcvsg1e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1416';
20240807@172216.8200 f37i9acmcduqj3v462ngcvsg1e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1416';
20240807@172216.8890 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.8930 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240807@172216.9700 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.9730 f37i9acmcduqj3v462ngcvsg1e Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20240807@172216.1060 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240807@172216.1225 f37i9acmcduqj3v462ngcvsg1e 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'
20240807@172216.1373 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240807@172216.1512 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240807@172216.1678 f37i9acmcduqj3v462ngcvsg1e 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'
20240807@172216.1829 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240807@172216.1978 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20240807@172216.2120 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240807@172216.2267 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.2271 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240807@172216.2306 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.2310 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 1 valor from td where td.ndoc = 39
20240807@172216.2345 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.2349 f37i9acmcduqj3v462ngcvsg1e Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240807@172216.2384 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240807@172216.2423 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.2427 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20240807@172216.2553 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.2556 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240807@172216.2589 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.2598 f37i9acmcduqj3v462ngcvsg1e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240807@172216.2684 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.2687 f37i9acmcduqj3v462ngcvsg1e Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20240807@172216.2734 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.2738 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from td where ndoc = 39
20240807@172216.2753 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240807@172216.2771 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.2793 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172216.2816 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.2834 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172216.2868 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.2884 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172216.2900 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172216.2973 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172216.2990 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.3011 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172216.3033 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240807@172216.3861 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.4688 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172216.4727 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240807@172216.4744 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240807@172216.4761 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240807@172216.4777 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240807@172216.4791 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240807@172216.4806 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240807@172216.4822 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b394810066b39f3846',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240807@172216.5090 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 fno valor from wsftdata order by fno desc
20240807@172216.5111 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.5132 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172216.5161 f37i9acmcduqj3v462ngcvsg1e Query : select 'normal' from dummy
20240807@172216.5182 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b394810066b39f3846',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',239,102253,0,'2024-08-07',39,'euro',0,0,2024 ,?,?)
20240807@172216.5490 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.5494 f37i9acmcduqj3v462ngcvsg1e Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240807@172216.5520 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240807@172216.5674 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.5692 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172216.5721 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.5739 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172216.5748 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172216.5764 f37i9acmcduqj3v462ngcvsg1e Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240807@172216.5802 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.5819 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172216.5833 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b393617466b39f388d','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172216.5837 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.5854 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172216.5912 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b393617466b39f388d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,10000,?,?,?,?)
20240807@172216.6188 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.6191 f37i9acmcduqj3v462ngcvsg1e Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240807@172216.6219 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240807@172216.6373 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.6392 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172216.6423 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.6440 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172216.6451 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172216.6464 f37i9acmcduqj3v462ngcvsg1e Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240807@172216.6493 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.6510 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172216.6523 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394932466b39f389e','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172216.6527 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.6547 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172216.6581 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b394932466b39f389e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,20000,?,?,?,?)
20240807@172216.6851 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.6855 f37i9acmcduqj3v462ngcvsg1e Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240807@172216.6877 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240807@172216.7375 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.7395 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172216.7426 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.7442 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172216.7452 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172216.7468 f37i9acmcduqj3v462ngcvsg1e Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240807@172216.7492 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.7509 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172216.7544 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b393553266b39f38b6','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172216.7548 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.7565 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172216.7615 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b393553266b39f38b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,30000,?,?,?,?)
20240807@172216.7888 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.7905 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172216.7934 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.7950 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172216.7959 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172216.7974 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.7990 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172216.8006 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b398246466b39f38c2','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172216.8010 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172216.8028 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172216.8060 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b398246466b39f38c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,40000,?,?,?)
20240807@172216.8380 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172216.8384 f37i9acmcduqj3v462ngcvsg1e Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240807@172216.8432 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20240807@172217.6160 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.1660 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.1696 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.1715 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.1728 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172217.1744 f37i9acmcduqj3v462ngcvsg1e Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2100324100a'
20240807@172217.1790 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.1813 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.1840 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b392072266b39f392b','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172217.1846 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.1863 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.1901 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b392072266b39f392b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,60000,?,?,?,?)
20240807@172217.2215 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172217.2219 f37i9acmcduqj3v462ngcvsg1e Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240807@172217.2244 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240807@172217.2440 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.2463 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.2496 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.2517 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.2529 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172217.2545 f37i9acmcduqj3v462ngcvsg1e Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240807@172217.2564 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.2586 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.2602 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391792066b39f393e','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172217.2609 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.2629 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.2667 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b391792066b39f393e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,70000,?,?,?,?)
20240807@172217.3044 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.3064 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.3100 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.3118 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.3128 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172217.3144 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.3161 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.3177 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391182866b39f394c','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172217.3184 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.3203 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.3241 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b391182866b39f394c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,80000,?,?,?)
20240807@172217.3553 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172217.3558 f37i9acmcduqj3v462ngcvsg1e Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240807@172217.3585 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240807@172217.3757 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.3776 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.3807 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.3825 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.3836 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172217.3853 f37i9acmcduqj3v462ngcvsg1e Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240807@172217.3869 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.3890 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.3904 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b390781666b39f395e','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172217.3909 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.3927 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.3960 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b390781666b39f395e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,100000,?,?,?,?)
20240807@172217.4250 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.4273 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.4348 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.4370 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.4382 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172217.4398 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.4417 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.4431 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394131266b39f396b','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172217.4436 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.4451 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.4487 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b394131266b39f396b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,110000,?,?,?)
20240807@172217.4789 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172217.4795 f37i9acmcduqj3v462ngcvsg1e Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240807@172217.4822 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20240807@172217.4982 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.5004 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.5036 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.5054 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.5064 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172217.5080 f37i9acmcduqj3v462ngcvsg1e Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240807@172217.5097 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.5118 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.5132 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b396627066b39f397c','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172217.5137 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.5157 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.5194 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b396627066b39f397c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,130000,?,?,?,?)
20240807@172217.5482 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172217.5486 f37i9acmcduqj3v462ngcvsg1e Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240807@172217.5515 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20240807@172217.5706 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.5727 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.5757 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.5777 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.5788 f37i9acmcduqj3v462ngcvsg1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172217.5804 f37i9acmcduqj3v462ngcvsg1e Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2100202100a'
20240807@172217.5827 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.5846 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172217.5859 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b395095066b39f398e','aut66b394810066b39f3846' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172217.5864 f37i9acmcduqj3v462ngcvsg1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172217.5881 f37i9acmcduqj3v462ngcvsg1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172217.5916 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b395095066b39f398e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b394810066b39f3846' ,0,0 ,2,23.00,140000,?,?,?,?)
20240807@172217.6237 f37i9acmcduqj3v462ngcvsg1e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b394810066b39f3846','2405224','wait',39,'adm09112754980.682000002')
20240807@172217.6367 f37i9acmcduqj3v462ngcvsg1e Query : use flama_phc
20240807@172217.6371 f37i9acmcduqj3v462ngcvsg1e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240807@172217.6408 f37i9acmcduqj3v462ngcvsg1e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1416';
20240807@172217.7950 f37i9acmcduqj3v462ngcvsg1e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1416';
20240807@172217.7992 f37i9acmcduqj3v462ngcvsg1e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1416';
20240807@172217.8155 f37i9acmcduqj3v462ngcvsg1e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1416';
20240807@172218.1020 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240807@172218.1150 57qto2bub4nsmj7oo1tbq5klv9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240807@172218.1670 57qto2bub4nsmj7oo1tbq5klv9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1417';
20240807@172218.2310 57qto2bub4nsmj7oo1tbq5klv9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1417';
20240807@172218.2790 57qto2bub4nsmj7oo1tbq5klv9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1417';
20240807@172218.3030 57qto2bub4nsmj7oo1tbq5klv9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1417';
20240807@172218.3520 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.3560 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240807@172218.4230 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.4260 57qto2bub4nsmj7oo1tbq5klv9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240807@172218.4680 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.6510 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.6730 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.6940 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.7150 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.7350 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.7570 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.7770 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.7990 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.8230 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240807@172218.8460 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.8490 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240807@172218.8830 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.8860 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 1 valor from td where td.ndoc = 39
20240807@172218.9170 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.9200 57qto2bub4nsmj7oo1tbq5klv9 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240807@172218.9530 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240807@172218.9920 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.9950 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240807@172218.1025 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.1028 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240807@172218.1061 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.1065 57qto2bub4nsmj7oo1tbq5klv9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240807@172218.1109 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.1113 57qto2bub4nsmj7oo1tbq5klv9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240807@172218.1158 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.1161 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from td where ndoc = 39
20240807@172218.1174 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240807@172218.1190 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.1209 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172218.1230 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.1246 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172218.1277 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.1294 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172218.1308 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172218.1380 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172218.1394 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.1411 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172218.1430 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240807@172218.1613 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.1633 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172218.1673 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240807@172218.1689 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240807@172218.1704 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240807@172218.1719 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240807@172218.1733 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240807@172218.1748 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240807@172218.1765 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b392779266b39f3a1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240807@172218.2020 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 fno valor from wsftdata order by fno desc
20240807@172218.2042 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.2062 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172218.2139 57qto2bub4nsmj7oo1tbq5klv9 Query : select 'normal' from dummy
20240807@172218.2164 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b392779266b39f3a1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',240,100810,0,'2024-08-07',39,'euro',0,0,2024 ,?,?)
20240807@172218.2534 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.2538 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172218.2568 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172218.2723 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.2743 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.2777 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.2795 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.2808 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172218.2823 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172218.2856 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.2875 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.2890 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b390758466b39f3a45','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172218.2896 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.2914 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.2949 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b390758466b39f3a45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,10000,?,?,?,?)
20240807@172218.3245 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.3264 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.3295 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.3312 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.3323 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172218.3338 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.3354 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.3369 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394909566b39f3a51','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172218.3374 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.3391 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.3428 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b394909566b39f3a51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,20000,?,?,?)
20240807@172218.3728 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.3732 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172218.3757 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172218.3777 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.3797 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.3829 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.3847 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.3858 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172218.3874 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172218.3891 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.3911 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.3926 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b393111066b39f3a5e','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172218.3932 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.3950 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.3982 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b393111066b39f3a5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,40000,?,?,?,?)
20240807@172218.4291 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.4314 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.4345 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.4362 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.4373 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172218.4389 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.4407 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.4420 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391030666b39f3a6b','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172218.4432 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.4449 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.4484 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b391030666b39f3a6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,50000,?,?,?)
20240807@172218.4747 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.4751 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172218.4774 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172218.4791 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.4834 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.4882 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.4902 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.4915 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172218.4930 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172218.4945 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.4984 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.5001 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b396463166b39f3a78','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172218.5006 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.5024 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.6414 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b396463166b39f3a78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,70000,?,?,?,?)
20240807@172218.7302 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.7731 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.7831 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.7850 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.7860 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172218.7875 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.7892 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.7905 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391566566b39f3ac0','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172218.7911 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.7929 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.7965 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b391566566b39f3ac0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,80000,?,?,?)
20240807@172218.8233 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172218.8236 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172218.8261 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172218.8276 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.8300 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172218.8330 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.8356 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.8365 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172218.8381 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172218.8397 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.8414 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172218.8480 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b395784666b39f3acd','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172218.8486 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172218.9218 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.3000 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b395784666b39f3acd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,100000,?,?,?,?)
20240807@172219.2960 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.3190 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.3480 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.3650 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.3760 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.3900 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4080 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.4210 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b399974466b39f3b09','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.4250 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4440 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.4790 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b399974466b39f3b09',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,110000,?,?,?)
20240807@172219.9200 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172219.9240 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172219.9530 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172219.9780 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.9990 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.1029 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.1055 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.1065 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.1086 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172219.1222 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.1249 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.1268 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391457166b39f3b1d','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.1274 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.1298 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.1333 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b391457166b39f3b1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,130000,?,?,?,?)
20240807@172219.1664 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.1685 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.1728 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.1752 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.1767 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.1786 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.1802 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.1815 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b396514766b39f3b2b','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.1820 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.1837 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.1884 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b396514766b39f3b2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,140000,?,?,?)
20240807@172219.2227 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172219.2231 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172219.2254 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172219.2271 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.2313 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.2342 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.2375 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.2385 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.2408 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172219.2437 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.2454 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.2468 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b398619866b39f3b3b','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.2473 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.2495 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.2527 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b398619866b39f3b3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,160000,?,?,?,?)
20240807@172219.2813 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.2831 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.2859 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.2877 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.2888 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.2903 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.2921 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.2935 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b393314566b39f3b46','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.2942 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.2958 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.2993 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b393314566b39f3b46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,170000,?,?,?)
20240807@172219.3276 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172219.3280 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172219.3305 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172219.3322 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.3340 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.3371 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.3387 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.3399 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.3416 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172219.3432 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.3449 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.3466 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b395148266b39f3b53','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.3471 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.3488 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.3520 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b395148266b39f3b53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,190000,?,?,?,?)
20240807@172219.3884 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.3973 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.4002 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4018 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.4027 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.4043 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4059 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.4075 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b390825166b39f3b62','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.4080 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4098 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.4133 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b390825166b39f3b62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,200000,?,?,?)
20240807@172219.4406 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172219.4410 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172219.4431 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172219.4448 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4464 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.4495 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4511 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.4522 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.4536 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172219.4550 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4565 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.4579 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b390311466b39f3b6f','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.4583 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4600 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.4633 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b390311466b39f3b6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,220000,?,?,?,?)
20240807@172219.4912 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4930 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.4958 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.4973 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.4982 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.4997 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.5013 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.5026 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b398355966b39f3b79','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.5030 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.5046 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.5078 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b398355966b39f3b79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,230000,?,?,?)
20240807@172219.5469 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172219.5511 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172219.6411 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172219.6910 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.6928 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.6956 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.6971 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.6980 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.6992 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172219.7005 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.7019 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.7032 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b392764366b39f3bab','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.7036 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.7052 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.7081 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b392764366b39f3bab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,250000,?,?,?,?)
20240807@172219.7366 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.7389 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.7422 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.7440 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.7450 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.7465 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.7482 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.7497 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394960866b39f3bb6','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.7502 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.7519 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.7556 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b394960866b39f3bb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,260000,?,?,?)
20240807@172219.7818 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172219.7822 57qto2bub4nsmj7oo1tbq5klv9 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240807@172219.7844 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240807@172219.7859 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.7899 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.7969 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.7985 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.7998 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.8026 57qto2bub4nsmj7oo1tbq5klv9 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400060200a'
20240807@172219.8044 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.8062 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.8077 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b399836966b39f3bc4','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.8082 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.8098 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.8131 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b399836966b39f3bc4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,280000,?,?,?,?)
20240807@172219.8423 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.8445 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.8474 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.8490 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.8500 57qto2bub4nsmj7oo1tbq5klv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172219.8513 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.8529 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172219.8542 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b398689766b39f3bcf','aut66b392779266b39f3a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172219.8547 57qto2bub4nsmj7oo1tbq5klv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172219.8563 57qto2bub4nsmj7oo1tbq5klv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172219.8597 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b398689766b39f3bcf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b392779266b39f3a1f' ,0,0 ,2,23.00,290000,?,?,?)
20240807@172219.8877 57qto2bub4nsmj7oo1tbq5klv9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b392779266b39f3a1f','2405225','wait',39,'adm09112754980.682000002')
20240807@172219.8952 57qto2bub4nsmj7oo1tbq5klv9 Query : use flama_phc
20240807@172219.8955 57qto2bub4nsmj7oo1tbq5klv9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240807@172219.8985 57qto2bub4nsmj7oo1tbq5klv9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1417';
20240807@172219.9010 57qto2bub4nsmj7oo1tbq5klv9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1417';
20240807@172219.9046 57qto2bub4nsmj7oo1tbq5klv9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1417';
20240807@172219.9070 57qto2bub4nsmj7oo1tbq5klv9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1417';
20240807@172219.9644 v3st8dn8j3d42rf5418b9jthom Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240807@172219.9656 v3st8dn8j3d42rf5418b9jthom Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240807@172219.9708 v3st8dn8j3d42rf5418b9jthom Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1418';
20240807@172219.9772 v3st8dn8j3d42rf5418b9jthom Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1418';
20240807@172219.9825 v3st8dn8j3d42rf5418b9jthom Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1418';
20240807@172219.9850 v3st8dn8j3d42rf5418b9jthom Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1418';
20240807@172219.9916 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172219.9920 v3st8dn8j3d42rf5418b9jthom Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240807@172220.1566 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.1573 v3st8dn8j3d42rf5418b9jthom Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240807@172220.1616 v3st8dn8j3d42rf5418b9jthom 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'
20240807@172220.1791 v3st8dn8j3d42rf5418b9jthom 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'
20240807@172220.1811 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.1814 v3st8dn8j3d42rf5418b9jthom Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240807@172220.1846 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.1849 v3st8dn8j3d42rf5418b9jthom Query : select top 1 1 valor from td where td.ndoc = 39
20240807@172220.1880 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.1883 v3st8dn8j3d42rf5418b9jthom Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240807@172220.1912 v3st8dn8j3d42rf5418b9jthom Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240807@172220.1946 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.1949 v3st8dn8j3d42rf5418b9jthom Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240807@172220.1983 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.1986 v3st8dn8j3d42rf5418b9jthom Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240807@172220.2015 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.2018 v3st8dn8j3d42rf5418b9jthom Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240807@172220.2057 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.2060 v3st8dn8j3d42rf5418b9jthom Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240807@172220.2106 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.2108 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from td where ndoc = 39
20240807@172220.2121 v3st8dn8j3d42rf5418b9jthom Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240807@172220.2135 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.2153 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172220.2172 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.2190 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172220.2220 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.2244 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172220.2257 v3st8dn8j3d42rf5418b9jthom Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172220.2331 v3st8dn8j3d42rf5418b9jthom Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172220.2346 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.2361 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172220.2378 v3st8dn8j3d42rf5418b9jthom Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b392762866b39f3c37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240807@172220.2576 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.2594 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172220.2639 v3st8dn8j3d42rf5418b9jthom Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240807@172220.2654 v3st8dn8j3d42rf5418b9jthom Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240807@172220.2692 v3st8dn8j3d42rf5418b9jthom Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240807@172220.2704 v3st8dn8j3d42rf5418b9jthom Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240807@172220.2716 v3st8dn8j3d42rf5418b9jthom Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240807@172220.2728 v3st8dn8j3d42rf5418b9jthom Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240807@172220.2762 v3st8dn8j3d42rf5418b9jthom Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b392762866b39f3c37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240807@172220.3087 v3st8dn8j3d42rf5418b9jthom Query : select top 1 fno valor from wsftdata order by fno desc
20240807@172220.3106 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.3123 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172220.3149 v3st8dn8j3d42rf5418b9jthom Query : select 'normal' from dummy
20240807@172220.3163 v3st8dn8j3d42rf5418b9jthom Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b392762866b39f3c37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',241,100810,0,'2024-08-07',39,'euro',0,0,2024 ,?,?)
20240807@172220.3508 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.3512 v3st8dn8j3d42rf5418b9jthom Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240807@172220.3538 v3st8dn8j3d42rf5418b9jthom Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240807@172220.3692 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.3711 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.3740 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.3756 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.3766 v3st8dn8j3d42rf5418b9jthom Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172220.3780 v3st8dn8j3d42rf5418b9jthom Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240807@172220.3802 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.3818 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.3831 v3st8dn8j3d42rf5418b9jthom Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394622366b39f3c5c','aut66b392762866b39f3c37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172220.3841 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.3858 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.3900 v3st8dn8j3d42rf5418b9jthom Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b394622366b39f3c5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66b392762866b39f3c37' ,0,0 ,2,23.00,10000,?,?,?,?)
20240807@172220.4173 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.4177 v3st8dn8j3d42rf5418b9jthom Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240807@172220.4200 v3st8dn8j3d42rf5418b9jthom Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240807@172220.4216 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.4243 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.4286 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.4302 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.4313 v3st8dn8j3d42rf5418b9jthom Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172220.4327 v3st8dn8j3d42rf5418b9jthom Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240807@172220.4342 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.4359 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.4373 v3st8dn8j3d42rf5418b9jthom Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b390794666b39f3c6a','aut66b392762866b39f3c37' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172220.4378 v3st8dn8j3d42rf5418b9jthom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.4394 v3st8dn8j3d42rf5418b9jthom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.4426 v3st8dn8j3d42rf5418b9jthom Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b390794666b39f3c6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66b392762866b39f3c37' ,0,0 ,2,23.00,20000,?,?,?,?)
20240807@172220.4731 v3st8dn8j3d42rf5418b9jthom Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b392762866b39f3c37','2405226','wait',39,'adm09112754980.682000002')
20240807@172220.4816 v3st8dn8j3d42rf5418b9jthom Query : use flama_phc
20240807@172220.4820 v3st8dn8j3d42rf5418b9jthom Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240807@172220.4852 v3st8dn8j3d42rf5418b9jthom Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1418';
20240807@172220.4888 v3st8dn8j3d42rf5418b9jthom Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1418';
20240807@172220.4927 v3st8dn8j3d42rf5418b9jthom Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1418';
20240807@172220.4953 v3st8dn8j3d42rf5418b9jthom Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1418';
20240807@172220.5551 1m2kt4qf8asr743m11er4mmqgk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240807@172220.5563 1m2kt4qf8asr743m11er4mmqgk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240807@172220.5616 1m2kt4qf8asr743m11er4mmqgk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1419';
20240807@172220.5681 1m2kt4qf8asr743m11er4mmqgk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1419';
20240807@172220.5730 1m2kt4qf8asr743m11er4mmqgk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1419';
20240807@172220.5755 1m2kt4qf8asr743m11er4mmqgk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1419';
20240807@172220.5802 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.5805 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240807@172220.5901 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.5904 1m2kt4qf8asr743m11er4mmqgk Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20240807@172220.6002 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240807@172220.6189 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240807@172220.6209 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240807@172220.6229 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240807@172220.6248 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240807@172220.6267 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240807@172220.6287 1m2kt4qf8asr743m11er4mmqgk 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'
20240807@172220.6463 1m2kt4qf8asr743m11er4mmqgk 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'
20240807@172220.6484 1m2kt4qf8asr743m11er4mmqgk 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'
20240807@172220.6507 1m2kt4qf8asr743m11er4mmqgk 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'
20240807@172220.6528 1m2kt4qf8asr743m11er4mmqgk 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'
20240807@172220.6548 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240807@172220.6707 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240807@172220.6729 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240807@172220.6749 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240807@172220.6774 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240807@172220.6795 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240807@172220.6817 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.6821 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240807@172220.6854 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.6857 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 1 valor from td where td.ndoc = 39
20240807@172220.6889 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.6893 1m2kt4qf8asr743m11er4mmqgk Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240807@172220.6924 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240807@172220.6962 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.6965 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20240807@172220.7092 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.7105 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240807@172220.7160 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.7172 1m2kt4qf8asr743m11er4mmqgk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240807@172220.7213 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.7216 1m2kt4qf8asr743m11er4mmqgk Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20240807@172220.7287 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.7290 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from td where ndoc = 39
20240807@172220.7304 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240807@172220.7319 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.7336 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172220.7359 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.7374 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172220.7404 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.7419 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172220.7433 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172220.7506 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240807@172220.7521 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.7549 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240807@172220.7566 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240807@172220.7754 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.7773 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240807@172220.7811 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240807@172220.7824 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240807@172220.7836 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240807@172220.7850 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240807@172220.7863 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240807@172220.7876 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240807@172220.7888 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b393203466b39f3cb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240807@172220.8167 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 fno valor from wsftdata order by fno desc
20240807@172220.8186 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.8235 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240807@172220.8264 1m2kt4qf8asr743m11er4mmqgk Query : select 'normal' from dummy
20240807@172220.8281 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b393203466b39f3cb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',242,199506,0,'2024-08-07',39,'euro',0,0,2024 ,?,?)
20240807@172220.8610 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.8614 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4901.00.1'
20240807@172220.8643 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4901.00.1'
20240807@172220.8828 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.8846 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.8875 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.8891 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.8902 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172220.8916 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4901.00.1' and lote = 'r2200240200a'
20240807@172220.8943 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.8968 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.8981 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b390133166b39f3cda','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172220.8986 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9001 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.9031 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b390133166b39f3cda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,10000,?,?,?,?)
20240807@172220.9330 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9347 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.9373 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9388 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.9403 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172220.9416 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9430 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.9442 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b395805966b39f3ce5','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172220.9446 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9463 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.9503 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b395805966b39f3ce5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,20000,?,?,?)
20240807@172220.9776 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172220.9779 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4901.00.1'
20240807@172220.9798 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4901.00.1'
20240807@172220.9822 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9840 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.9868 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9883 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.9892 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172220.9904 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4901.00.1' and lote = 'r2200240200a'
20240807@172220.9917 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9932 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172220.9944 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b392433466b39f3cf2','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172220.9948 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172220.9963 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172220.9991 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b392433466b39f3cf2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,40000,?,?,?,?)
20240807@172221.2770 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2930 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.3220 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3390 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.3480 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.3610 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3760 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.3890 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394741566b39f3d08','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.3930 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.4080 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.4460 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b394741566b39f3d08',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,50000,?,?,?)
20240807@172221.8190 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.8220 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4901.00.1'
20240807@172221.8590 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4901.00.1'
20240807@172221.8740 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8940 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.9260 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.9430 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.9550 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.9670 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4901.00.1' and lote = 'r2200240200a'
20240807@172221.9790 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.9940 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.1007 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391166266b39f3d17','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.1012 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.1030 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.1061 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b391166266b39f3d17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,70000,?,?,?,?)
20240807@172221.1363 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.1382 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.1415 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.1432 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.1442 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.1457 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.1475 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.1490 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b393270566b39f3d23','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.1495 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.1511 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.1544 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b393270566b39f3d23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,80000,?,?,?)
20240807@172221.1838 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.1842 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4901.00.1'
20240807@172221.1865 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4901.00.1'
20240807@172221.1885 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.1903 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.1931 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.1949 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.1959 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.1972 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4901.00.1' and lote = 'r2200240200a'
20240807@172221.1985 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2002 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.2014 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b392453366b39f3d30','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.2018 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2039 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.2066 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b392453366b39f3d30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,100000,?,?,?,?)
20240807@172221.2360 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2377 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.2409 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2424 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.2433 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.2446 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2461 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.2472 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391375266b39f3d3b','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.2476 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2491 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.2521 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b391375266b39f3d3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,110000,?,?,?)
20240807@172221.2782 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.2786 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4901.00.1'
20240807@172221.2805 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4901.00.1'
20240807@172221.2818 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2846 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.2871 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2887 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.2897 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.2911 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4901.00.1' and lote = 'r2300206200a'
20240807@172221.2934 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.2951 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.2965 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b397588966b39f3d47','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.2970 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3083 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.3122 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b397588966b39f3d47',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',76.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,130000,?,?,?,?)
20240807@172221.3420 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3459 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.3485 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3500 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.3508 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.3521 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3535 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.3547 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391777766b39f3d55','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.3551 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3567 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.3597 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b391777766b39f3d55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,140000,?,?,?)
20240807@172221.3868 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.3873 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4901.00.1'
20240807@172221.3892 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4901.00.1'
20240807@172221.3905 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3922 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.3948 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.3961 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.3970 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.3981 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4901.00.1' and lote = 'r2300206200a'
20240807@172221.3993 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.4007 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.4018 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b390034766b39f3d61','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.4022 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.4037 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.4064 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b390034766b39f3d61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',92.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,160000,?,?,?,?)
20240807@172221.4357 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.4374 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.4403 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.4418 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.4427 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.4441 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.4455 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.4467 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394176866b39f3d6c','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.4471 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.4545 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.6035 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b394176866b39f3d6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,170000,?,?,?)
20240807@172221.6302 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.6305 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20240807@172221.6326 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20240807@172221.6483 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.6502 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.6527 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.6542 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.6551 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.6563 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20240807@172221.6577 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.6593 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.6604 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b398604966b39f3da0','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.6608 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.6623 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.6652 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b398604966b39f3da0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,190000,?,?,?,?)
20240807@172221.6915 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.6918 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20240807@172221.6989 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20240807@172221.7780 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.7797 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.7822 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.7837 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.7846 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.7857 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20240807@172221.7870 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.7884 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.7896 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b395189566b39f3dc0','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.7900 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.7915 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.7942 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b395189566b39f3dc0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,200000,?,?,?,?)
20240807@172221.8222 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.8226 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20240807@172221.8248 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20240807@172221.8263 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8280 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.8307 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8322 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.8331 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.8347 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20240807@172221.8360 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8378 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.8403 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b392187166b39f3dcc','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.8408 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8425 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.8467 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b392187166b39f3dcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,210000,?,?,?,?)
20240807@172221.8729 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.8733 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20240807@172221.8759 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20240807@172221.8773 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8794 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.8834 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8848 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.8856 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.8868 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20240807@172221.8880 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8895 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.8908 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b397179866b39f3dd8','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.8912 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.8926 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.8954 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b397179866b39f3dd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,220000,?,?,?,?)
20240807@172221.9225 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.9229 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20240807@172221.9255 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20240807@172221.9272 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.9288 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.9314 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.9328 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.9337 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.9348 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20240807@172221.9361 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.9376 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.9388 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b396941166b39f3de4','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172221.9394 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.9408 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.9437 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b396941166b39f3de4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,230000,?,?,?,?)
20240807@172221.9713 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172221.9716 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20240807@172221.9737 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.939.00.01'
20240807@172221.9888 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.9905 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172221.9933 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172221.9948 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172221.9957 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172221.9970 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.939.00.01' and lote = 'r2301371200a'
20240807@172221.9991 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.6000 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172222.1800 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b393375966b39f3df3','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172222.2200 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.3800 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172222.7300 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b393375966b39f3df3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,240000,?,?,?,?)
20240807@172222.3360 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172222.3400 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20240807@172222.3590 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.939.00.01'
20240807@172222.3730 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.3890 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172222.4130 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.4270 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172222.4350 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172222.4490 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.939.00.01' and lote = 'r2301371200a'
20240807@172222.4640 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.4800 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172222.4930 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b394354766b39f3e0b','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172222.4970 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.5160 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172222.5460 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b394354766b39f3e0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,250000,?,?,?,?)
20240807@172222.8190 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172222.8220 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20240807@172222.8430 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.939.00.01'
20240807@172222.8570 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.8730 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172222.8990 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.9190 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172222.9290 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172222.9430 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.939.00.01' and lote = 'r2301371200a'
20240807@172222.9570 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.9710 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172222.9850 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b391695366b39f3e17','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172222.9890 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.1003 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172222.1034 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b391695366b39f3e17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,260000,?,?,?,?)
20240807@172222.1368 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172222.1372 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20240807@172222.1392 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.939.00.01'
20240807@172222.1425 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.1442 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172222.1470 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.1485 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172222.1495 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240807@172222.1685 1m2kt4qf8asr743m11er4mmqgk Query : select sestamp valor from se where ref ='324.939.00.01' and lote = 'r2301371200a'
20240807@172222.2554 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.2576 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172222.2589 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b392622866b39f3e3e','aut66b393203466b39f3cb5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240807@172222.2594 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.2611 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172222.2644 1m2kt4qf8asr743m11er4mmqgk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b392622866b39f3e3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66b393203466b39f3cb5' ,0,0 ,2,23.00,270000,?,?,?,?)
20240807@172222.2921 1m2kt4qf8asr743m11er4mmqgk Query : use flama_phc
20240807@172222.2924 1m2kt4qf8asr743m11er4mmqgk Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20240807@172222.2948 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.939.00.01'
20240807@172222.2964 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.2980 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240807@172222.3013 1m2kt4qf8asr743m11er4mmqgk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240807@172222.3030 1m2kt4qf8asr743m11er4mmqgk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240807@172222.3040 1m2kt4qf8asr743m11er4mmqgk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
