20240411@074420.6023 8u539c1nc4jl0t0qqe9e3phl8i INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240411@074420.6021 8u539c1nc4jl0t0qqe9e3phl8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074420.6086 8u539c1nc4jl0t0qqe9e3phl8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074420.6170 8u539c1nc4jl0t0qqe9e3phl8i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617879579661786c489','aut6617891401661786c428' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074420.6254 8u539c1nc4jl0t0qqe9e3phl8i Query : use flama_phc
20240411@074420.6295 8u539c1nc4jl0t0qqe9e3phl8i Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240411@074420.6347 8u539c1nc4jl0t0qqe9e3phl8i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20240411@074420.6805 8u539c1nc4jl0t0qqe9e3phl8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074420.7022 8u539c1nc4jl0t0qqe9e3phl8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074420.7404 8u539c1nc4jl0t0qqe9e3phl8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074420.7424 8u539c1nc4jl0t0qqe9e3phl8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074420.7428 8u539c1nc4jl0t0qqe9e3phl8i Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240411@074420.7587 8u539c1nc4jl0t0qqe9e3phl8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074420.7757 8u539c1nc4jl0t0qqe9e3phl8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074420.7793 8u539c1nc4jl0t0qqe9e3phl8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074420.7830 8u539c1nc4jl0t0qqe9e3phl8i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617887438661786c4bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6617891401661786c428' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240411@074420.8224 8u539c1nc4jl0t0qqe9e3phl8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074420.8240 8u539c1nc4jl0t0qqe9e3phl8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074420.8247 8u539c1nc4jl0t0qqe9e3phl8i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617887438661786c4bd','aut6617891401661786c428' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074420.8251 8u539c1nc4jl0t0qqe9e3phl8i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617891401661786c428','2402612','wait',39,'ari17112337378,753000005')
20240411@074420.8267 8u539c1nc4jl0t0qqe9e3phl8i Query : use flama_phc
20240411@074420.8270 8u539c1nc4jl0t0qqe9e3phl8i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074420.8281 8u539c1nc4jl0t0qqe9e3phl8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1069';
20240411@074420.8299 8u539c1nc4jl0t0qqe9e3phl8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1069';
20240411@074420.8313 8u539c1nc4jl0t0qqe9e3phl8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1069';
20240411@074420.8327 8u539c1nc4jl0t0qqe9e3phl8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1069';
20240411@074420.8801 oaocgjikhfrua2k41jiils1kfq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074420.8814 oaocgjikhfrua2k41jiils1kfq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074420.8833 oaocgjikhfrua2k41jiils1kfq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1070';
20240411@074420.8877 oaocgjikhfrua2k41jiils1kfq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1070';
20240411@074420.8893 oaocgjikhfrua2k41jiils1kfq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1070';
20240411@074420.8908 oaocgjikhfrua2k41jiils1kfq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1070';
20240411@074420.8922 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074420.8925 oaocgjikhfrua2k41jiils1kfq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074420.8937 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074420.8940 oaocgjikhfrua2k41jiils1kfq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20240411@074420.9028 oaocgjikhfrua2k41jiils1kfq 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'
20240411@074420.9171 oaocgjikhfrua2k41jiils1kfq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402613 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240411@074420.9477 oaocgjikhfrua2k41jiils1kfq 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'
20240411@074420.9707 oaocgjikhfrua2k41jiils1kfq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402613 and bi.ref ='324.1879.00.1' and bi.lordem =2
20240411@074421.1090 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.1410 oaocgjikhfrua2k41jiils1kfq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074421.1550 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.1720 oaocgjikhfrua2k41jiils1kfq Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074421.1880 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.1910 oaocgjikhfrua2k41jiils1kfq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074421.2760 oaocgjikhfrua2k41jiils1kfq Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074421.2920 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.3150 oaocgjikhfrua2k41jiils1kfq Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20240411@074421.3250 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.3280 oaocgjikhfrua2k41jiils1kfq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074421.3570 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.3600 oaocgjikhfrua2k41jiils1kfq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074421.3900 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.3930 oaocgjikhfrua2k41jiils1kfq Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20240411@074421.4260 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.4500 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from td where ndoc = 39
20240411@074421.4630 oaocgjikhfrua2k41jiils1kfq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074421.4960 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074421.5290 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074421.5660 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074421.6010 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074421.6670 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074421.7020 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074421.7840 oaocgjikhfrua2k41jiils1kfq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074421.9280 oaocgjikhfrua2k41jiils1kfq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074421.9390 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074421.9710 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074421.1002 oaocgjikhfrua2k41jiils1kfq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617884017661786c513' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074421.1244 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074421.1285 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074421.1354 oaocgjikhfrua2k41jiils1kfq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074421.1380 oaocgjikhfrua2k41jiils1kfq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074421.1387 oaocgjikhfrua2k41jiils1kfq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074421.1413 oaocgjikhfrua2k41jiils1kfq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074421.1418 oaocgjikhfrua2k41jiils1kfq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074421.1423 oaocgjikhfrua2k41jiils1kfq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074421.1447 oaocgjikhfrua2k41jiils1kfq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617884017661786c513',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074421.1795 oaocgjikhfrua2k41jiils1kfq Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074421.1833 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074421.1869 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074421.1909 oaocgjikhfrua2k41jiils1kfq Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617884017661786c513',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',826,101987,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074421.2449 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.2453 oaocgjikhfrua2k41jiils1kfq Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240411@074421.2493 oaocgjikhfrua2k41jiils1kfq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240411@074421.2697 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074421.2733 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074421.2803 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074421.2838 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074421.2842 oaocgjikhfrua2k41jiils1kfq Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301208200a'
20240411@074421.2874 oaocgjikhfrua2k41jiils1kfq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074421.2905 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074421.2939 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074421.3034 oaocgjikhfrua2k41jiils1kfq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617865556661786c546',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6617884017661786c513' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074421.3678 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074421.3719 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074421.3748 oaocgjikhfrua2k41jiils1kfq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617865556661786c546','aut6617884017661786c513' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074421.3753 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074421.3786 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074421.3852 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074421.3889 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074421.3894 oaocgjikhfrua2k41jiils1kfq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074421.3979 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074421.4014 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074421.4078 oaocgjikhfrua2k41jiils1kfq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617891457661786c561',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617884017661786c513' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074421.4523 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074421.5570 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074421.5601 oaocgjikhfrua2k41jiils1kfq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617891457661786c561','aut6617884017661786c513' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074421.5606 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.5609 oaocgjikhfrua2k41jiils1kfq Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240411@074421.5621 oaocgjikhfrua2k41jiils1kfq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20240411@074421.5835 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074421.5869 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074421.5911 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074421.5947 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074421.5971 oaocgjikhfrua2k41jiils1kfq Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301097100b'
20240411@074421.5976 oaocgjikhfrua2k41jiils1kfq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074421.6005 oaocgjikhfrua2k41jiils1kfq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074421.6040 oaocgjikhfrua2k41jiils1kfq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074421.6086 oaocgjikhfrua2k41jiils1kfq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617834414661786c592',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6617884017661786c513' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240411@074421.6535 oaocgjikhfrua2k41jiils1kfq Query : use flama_phc
20240411@074421.6539 oaocgjikhfrua2k41jiils1kfq Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240411@074421.6660 oaocgjikhfrua2k41jiils1kfq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1070';
20240411@074421.6701 oaocgjikhfrua2k41jiils1kfq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1070';
20240411@074421.7200 253064mftkomehq6oo1e3pqr8u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074421.7214 253064mftkomehq6oo1e3pqr8u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074421.7252 253064mftkomehq6oo1e3pqr8u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1071';
20240411@074421.7342 253064mftkomehq6oo1e3pqr8u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1071';
20240411@074421.7359 253064mftkomehq6oo1e3pqr8u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1071';
20240411@074421.7405 253064mftkomehq6oo1e3pqr8u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1071';
20240411@074421.7443 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.7467 253064mftkomehq6oo1e3pqr8u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074421.7500 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.7504 253064mftkomehq6oo1e3pqr8u Query : select no, estab,szadrsdesc from szadrs where u_coddest=3674
20240411@074421.7726 253064mftkomehq6oo1e3pqr8u 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'
20240411@074421.7932 253064mftkomehq6oo1e3pqr8u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402665 and bi.ref ='324.5343.00.1' and bi.lordem =1
20240411@074421.8363 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.8367 253064mftkomehq6oo1e3pqr8u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074421.8408 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.8411 253064mftkomehq6oo1e3pqr8u Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074421.8444 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.8447 253064mftkomehq6oo1e3pqr8u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074421.8476 253064mftkomehq6oo1e3pqr8u Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074421.8532 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.8557 253064mftkomehq6oo1e3pqr8u Query : select top 1 ~inactivo valor from cl where no = '199524' and estab = 0 order by inactivo desc
20240411@074421.8712 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.8715 253064mftkomehq6oo1e3pqr8u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074421.8748 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.8751 253064mftkomehq6oo1e3pqr8u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074421.8780 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.8783 253064mftkomehq6oo1e3pqr8u Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- az'
20240411@074421.8816 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074421.8819 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from td where ndoc = 39
20240411@074421.8852 253064mftkomehq6oo1e3pqr8u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074421.8886 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074421.8919 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074421.8957 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074421.8991 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074421.9059 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074421.9099 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074421.9131 253064mftkomehq6oo1e3pqr8u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074421.9256 253064mftkomehq6oo1e3pqr8u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074421.9319 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074421.9334 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074421.9366 253064mftkomehq6oo1e3pqr8u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617843274661786c5de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074421.9610 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074421.9647 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074421.9719 253064mftkomehq6oo1e3pqr8u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074421.9724 253064mftkomehq6oo1e3pqr8u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074421.9748 253064mftkomehq6oo1e3pqr8u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074421.9753 253064mftkomehq6oo1e3pqr8u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074421.9758 253064mftkomehq6oo1e3pqr8u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074421.9781 253064mftkomehq6oo1e3pqr8u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074421.9787 253064mftkomehq6oo1e3pqr8u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617843274661786c5de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074422.1400 253064mftkomehq6oo1e3pqr8u Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074422.3570 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074422.7500 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074422.7900 253064mftkomehq6oo1e3pqr8u Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617843274661786c5de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',826,199524,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074422.1212 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074422.1239 253064mftkomehq6oo1e3pqr8u Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20240411@074422.1309 253064mftkomehq6oo1e3pqr8u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20240411@074422.1555 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074422.1593 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074422.1669 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074422.1741 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074422.1745 253064mftkomehq6oo1e3pqr8u Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2301282100a'
20240411@074422.1778 253064mftkomehq6oo1e3pqr8u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074422.1790 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074422.1825 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074422.1891 253064mftkomehq6oo1e3pqr8u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617867274661786c62b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',114.000 ,'aut6617843274661786c5de' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074422.2308 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074422.2323 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074422.2349 253064mftkomehq6oo1e3pqr8u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617867274661786c62b','aut6617843274661786c5de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074422.2354 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074422.2388 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074422.2454 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074422.2467 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074422.2490 253064mftkomehq6oo1e3pqr8u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074422.2500 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074422.2533 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074422.2598 253064mftkomehq6oo1e3pqr8u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617895753661786c63d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617843274661786c5de' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074422.3017 253064mftkomehq6oo1e3pqr8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074422.3057 253064mftkomehq6oo1e3pqr8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074422.3062 253064mftkomehq6oo1e3pqr8u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617895753661786c63d','aut6617843274661786c5de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074422.3066 253064mftkomehq6oo1e3pqr8u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617843274661786c5de','2402665','wait',39,'ari17112337378,753000005')
20240411@074422.3130 253064mftkomehq6oo1e3pqr8u Query : use flama_phc
20240411@074422.3133 253064mftkomehq6oo1e3pqr8u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074422.3163 253064mftkomehq6oo1e3pqr8u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1071';
20240411@074422.3184 253064mftkomehq6oo1e3pqr8u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1071';
20240411@074422.3249 253064mftkomehq6oo1e3pqr8u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1071';
20240411@074422.3293 253064mftkomehq6oo1e3pqr8u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1071';
20240411@074422.3826 bpjv5uq9e26veo6el44jqeidre Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074422.3861 bpjv5uq9e26veo6el44jqeidre Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074422.3943 bpjv5uq9e26veo6el44jqeidre Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1072';
20240411@074422.4018 bpjv5uq9e26veo6el44jqeidre Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1072';
20240411@074422.4059 bpjv5uq9e26veo6el44jqeidre Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1072';
20240411@074422.4077 bpjv5uq9e26veo6el44jqeidre Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1072';
20240411@074422.4116 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.4120 bpjv5uq9e26veo6el44jqeidre Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074422.4156 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.4159 bpjv5uq9e26veo6el44jqeidre Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240411@074422.4298 bpjv5uq9e26veo6el44jqeidre 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'
20240411@074422.4504 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402666 and bi.ref ='324.691.00.01' and bi.lordem =1
20240411@074422.4968 bpjv5uq9e26veo6el44jqeidre 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'
20240411@074422.4981 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402666 and bi.ref ='324.691.00.01' and bi.lordem =1
20240411@074422.5008 bpjv5uq9e26veo6el44jqeidre 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'
20240411@074422.5043 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402666 and bi.ref ='324.691.00.01' and bi.lordem =1
20240411@074422.5049 bpjv5uq9e26veo6el44jqeidre 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'
20240411@074422.5080 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402666 and bi.ref ='324.691.00.01' and bi.lordem =1
20240411@074422.5086 bpjv5uq9e26veo6el44jqeidre 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'
20240411@074422.5119 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402666 and bi.ref ='324.691.00.01' and bi.lordem =1
20240411@074422.5145 bpjv5uq9e26veo6el44jqeidre 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'
20240411@074422.5156 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402666 and bi.ref ='324.691.00.01' and bi.lordem =1
20240411@074422.5184 bpjv5uq9e26veo6el44jqeidre 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'
20240411@074422.5196 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402666 and bi.ref ='324.691.00.01' and bi.lordem =1
20240411@074422.5202 bpjv5uq9e26veo6el44jqeidre 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'
20240411@074422.5237 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402666 and bi.ref ='324.691.00.01' and bi.lordem =1
20240411@074422.5267 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.5272 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074422.5310 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.5313 bpjv5uq9e26veo6el44jqeidre Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074422.5347 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.5350 bpjv5uq9e26veo6el44jqeidre Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074422.5382 bpjv5uq9e26veo6el44jqeidre Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074422.5418 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.5422 bpjv5uq9e26veo6el44jqeidre Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240411@074422.5607 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.5630 bpjv5uq9e26veo6el44jqeidre Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074422.5668 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.5672 bpjv5uq9e26veo6el44jqeidre Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074422.5708 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.5712 bpjv5uq9e26veo6el44jqeidre Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20240411@074422.5756 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.5761 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from td where ndoc = 39
20240411@074422.5797 bpjv5uq9e26veo6el44jqeidre Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074422.5831 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074422.5874 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074422.5920 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074422.5967 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074422.6048 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074422.6084 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074422.6116 bpjv5uq9e26veo6el44jqeidre Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074422.6331 bpjv5uq9e26veo6el44jqeidre Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074422.6370 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074422.6387 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074422.6451 bpjv5uq9e26veo6el44jqeidre Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074422.6772 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074422.6813 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074422.6914 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074422.6920 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074422.6926 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074422.6949 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074422.6954 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074422.6959 bpjv5uq9e26veo6el44jqeidre Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074422.6985 bpjv5uq9e26veo6el44jqeidre Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617828467661786c695',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074422.7673 bpjv5uq9e26veo6el44jqeidre Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074422.9076 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074422.9120 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074422.9161 bpjv5uq9e26veo6el44jqeidre Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617828467661786c695',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',827,101900,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074422.9611 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074422.9615 bpjv5uq9e26veo6el44jqeidre Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240411@074422.9653 bpjv5uq9e26veo6el44jqeidre Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240411@074422.9891 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074422.9926 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074422.9973 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.9000 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.3700 bpjv5uq9e26veo6el44jqeidre Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240411@074423.6800 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.7900 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.1120 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.1790 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617890760661786c701',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6617828467661786c695' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074423.6670 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.7050 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.7300 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617890760661786c701','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.7370 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.7760 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.8450 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.8810 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.8870 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.9210 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.9370 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.1049 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617893267661786c716',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617828467661786c695' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074423.1455 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.1496 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.1502 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617893267661786c716','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.1531 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074423.1536 bpjv5uq9e26veo6el44jqeidre Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240411@074423.1596 bpjv5uq9e26veo6el44jqeidre Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240411@074423.1612 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.1652 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.1763 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.1801 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.1806 bpjv5uq9e26veo6el44jqeidre Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240411@074423.1841 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.1877 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.1914 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.1987 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617839393661786c72d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6617828467661786c695' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240411@074423.2430 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.2472 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.2478 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617839393661786c72d','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.2505 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.2542 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.2591 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.2627 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.2656 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.2669 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.2711 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.2787 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617801867661786c741',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617828467661786c695' ,0,0 ,2,23.00,50000,?,?,?)
20240411@074423.3234 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.3280 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.3310 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617801867661786c741','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.3316 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074423.3320 bpjv5uq9e26veo6el44jqeidre Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240411@074423.3371 bpjv5uq9e26veo6el44jqeidre Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240411@074423.3414 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.3466 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.3519 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.3565 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.3605 bpjv5uq9e26veo6el44jqeidre Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240411@074423.3616 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.3657 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.3706 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.3824 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617878090661786c759',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6617828467661786c695' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240411@074423.4365 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.4419 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.4450 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617878090661786c759','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.4455 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.4492 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.4601 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.4637 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.4643 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.4673 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.4713 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.4803 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617843627661786c772',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617828467661786c695' ,0,0 ,2,23.00,80000,?,?,?)
20240411@074423.5566 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.6289 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.6295 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617843627661786c772','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.6327 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074423.6331 bpjv5uq9e26veo6el44jqeidre Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240411@074423.6364 bpjv5uq9e26veo6el44jqeidre Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240411@074423.6398 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.6434 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.6556 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.6593 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.6597 bpjv5uq9e26veo6el44jqeidre Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240411@074423.6628 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.6658 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.6694 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.6762 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617899328661786c7a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6617828467661786c695' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240411@074423.7240 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.7523 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.7633 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617899328661786c7a2','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.7678 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.8189 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.8266 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.8301 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.8305 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.8336 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.8370 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.8434 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617898953661786c7cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617828467661786c695' ,0,0 ,2,23.00,110000,?,?,?)
20240411@074423.8802 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.8846 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.8852 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617898953661786c7cb','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.8878 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074423.8883 bpjv5uq9e26veo6el44jqeidre Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240411@074423.8923 bpjv5uq9e26veo6el44jqeidre Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240411@074423.8936 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.9084 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.9195 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.9233 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074423.9238 bpjv5uq9e26veo6el44jqeidre Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240411@074423.9270 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074423.9284 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.9320 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074423.9406 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617886778661786c7e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6617828467661786c695' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240411@074423.9799 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074423.9837 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074423.9865 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617886778661786c7e2','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074423.9871 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074423.9907 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074423.9974 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.2050 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074424.2370 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074424.2480 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.2820 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074424.3500 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617868797661786c806',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617828467661786c695' ,0,0 ,2,23.00,140000,?,?,?)
20240411@074424.8190 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.1028 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074424.1033 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617868797661786c806','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074424.1060 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074424.1063 bpjv5uq9e26veo6el44jqeidre Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240411@074424.1097 bpjv5uq9e26veo6el44jqeidre Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240411@074424.1131 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.1165 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074424.1211 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.1248 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074424.1273 bpjv5uq9e26veo6el44jqeidre Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240411@074424.1283 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074424.1314 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.1350 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074424.1418 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617835756661786c820',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6617828467661786c695' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240411@074424.1953 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.1996 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074424.2001 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617835756661786c820','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074424.2027 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.2063 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074424.2111 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.2168 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074424.2175 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074424.2206 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.2240 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074424.2310 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617869747661786c835',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617828467661786c695' ,0,0 ,2,23.00,170000,?,?,?)
20240411@074424.2699 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.2739 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074424.2768 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617869747661786c835','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074424.2773 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074424.2776 bpjv5uq9e26veo6el44jqeidre Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240411@074424.2808 bpjv5uq9e26veo6el44jqeidre Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240411@074424.2840 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.2875 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074424.2921 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.2958 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074424.2986 bpjv5uq9e26veo6el44jqeidre Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240411@074424.2997 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074424.3026 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.3061 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074424.3132 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617840364661786c849',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6617828467661786c695' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240411@074424.3734 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.3773 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074424.3799 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617840364661786c849','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074424.3805 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.3839 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074424.3907 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.3942 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074424.3947 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074424.3977 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.4018 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074424.4092 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617829395661786c861',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617828467661786c695' ,0,0 ,2,23.00,200000,?,?,?)
20240411@074424.4461 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.4507 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074424.4511 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617829395661786c861','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074424.4536 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074424.4575 bpjv5uq9e26veo6el44jqeidre Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240411@074424.4608 bpjv5uq9e26veo6el44jqeidre Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240411@074424.4639 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.4676 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074424.4721 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.4758 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074424.4764 bpjv5uq9e26veo6el44jqeidre Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240411@074424.4797 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074424.4828 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.4863 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074424.4926 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617881289661786c875',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6617828467661786c695' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240411@074424.5336 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.7133 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074424.7138 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617881289661786c875','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074424.7144 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.7180 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074424.7247 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.7260 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074424.7286 bpjv5uq9e26veo6el44jqeidre Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074424.7297 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074424.7329 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074424.7392 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617805387661786c8b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617828467661786c695' ,0,0 ,2,23.00,230000,?,?,?)
20240411@074424.7772 bpjv5uq9e26veo6el44jqeidre Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074424.7812 bpjv5uq9e26veo6el44jqeidre Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074424.7818 bpjv5uq9e26veo6el44jqeidre Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617805387661786c8b2','aut6617828467661786c695' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074424.7822 bpjv5uq9e26veo6el44jqeidre Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617828467661786c695','2402666','wait',39,'ari17112337378,753000005')
20240411@074424.7880 bpjv5uq9e26veo6el44jqeidre Query : use flama_phc
20240411@074424.7884 bpjv5uq9e26veo6el44jqeidre Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074424.7912 bpjv5uq9e26veo6el44jqeidre Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1072';
20240411@074424.7956 bpjv5uq9e26veo6el44jqeidre Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1072';
20240411@074424.7971 bpjv5uq9e26veo6el44jqeidre Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1072';
20240411@074424.8030 bpjv5uq9e26veo6el44jqeidre Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1072';
20240411@074424.8476 n8oah8qhe7oav5k7lb87hcf06n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074424.8497 n8oah8qhe7oav5k7lb87hcf06n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074424.8540 n8oah8qhe7oav5k7lb87hcf06n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1073';
20240411@074424.8609 n8oah8qhe7oav5k7lb87hcf06n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1073';
20240411@074424.8641 n8oah8qhe7oav5k7lb87hcf06n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1073';
20240411@074424.8659 n8oah8qhe7oav5k7lb87hcf06n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1073';
20240411@074424.8674 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074424.8677 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074424.8693 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074424.8697 n8oah8qhe7oav5k7lb87hcf06n Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240411@074424.8788 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240411@074424.8982 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402667 and bi.ref ='326.595.00.01' and bi.lordem =1
20240411@074424.9309 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074424.9313 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074424.9328 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074424.9331 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074424.9342 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074424.9345 n8oah8qhe7oav5k7lb87hcf06n Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074424.9357 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074424.9372 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074424.9376 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240411@074424.9990 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074424.9994 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074425.8000 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074425.1200 n8oah8qhe7oav5k7lb87hcf06n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074425.1840 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074425.2200 n8oah8qhe7oav5k7lb87hcf06n Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240411@074425.1804 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074425.1811 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from td where ndoc = 39
20240411@074425.1834 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074425.1847 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074425.1862 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074425.1881 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074425.1895 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074425.2096 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074425.2112 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074425.2123 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074425.2258 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074425.2269 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074425.2285 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074425.2296 n8oah8qhe7oav5k7lb87hcf06n Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617885951661786c933' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074425.2488 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074425.2508 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074425.2541 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074425.2547 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074425.2553 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074425.2558 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074425.2563 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074425.2568 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074425.2573 n8oah8qhe7oav5k7lb87hcf06n Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617885951661786c933',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074425.3086 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074425.3301 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074425.3516 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074425.4019 n8oah8qhe7oav5k7lb87hcf06n Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617885951661786c933',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',828,100810,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074425.4810 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074425.4849 n8oah8qhe7oav5k7lb87hcf06n Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20240411@074425.5109 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '326.595.00.01'
20240411@074425.5580 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074425.5755 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074425.5983 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074425.6073 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074425.6078 n8oah8qhe7oav5k7lb87hcf06n Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r2301243100a'
20240411@074425.6197 n8oah8qhe7oav5k7lb87hcf06n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074425.6218 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074425.6233 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074425.6307 n8oah8qhe7oav5k7lb87hcf06n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617895705661786c997',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6617885951661786c933' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074425.6843 n8oah8qhe7oav5k7lb87hcf06n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074425.7704 n8oah8qhe7oav5k7lb87hcf06n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074425.8166 n8oah8qhe7oav5k7lb87hcf06n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617895705661786c997','aut6617885951661786c933' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074425.8171 n8oah8qhe7oav5k7lb87hcf06n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617885951661786c933','2402667','wait',39,'ari17112337378,753000005')
20240411@074425.8382 n8oah8qhe7oav5k7lb87hcf06n Query : use flama_phc
20240411@074425.8462 n8oah8qhe7oav5k7lb87hcf06n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074425.8588 n8oah8qhe7oav5k7lb87hcf06n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1073';
20240411@074425.8780 n8oah8qhe7oav5k7lb87hcf06n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1073';
20240411@074425.8837 n8oah8qhe7oav5k7lb87hcf06n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1073';
20240411@074425.8861 n8oah8qhe7oav5k7lb87hcf06n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1073';
20240411@074426.5400 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074426.1590 9ef61ukm7sbpjc14hvfpbvru02 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074426.3130 9ef61ukm7sbpjc14hvfpbvru02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1074';
20240411@074426.3600 9ef61ukm7sbpjc14hvfpbvru02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1074';
20240411@074426.3760 9ef61ukm7sbpjc14hvfpbvru02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1074';
20240411@074426.3890 9ef61ukm7sbpjc14hvfpbvru02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1074';
20240411@074426.4060 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.4090 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074426.5700 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.6090 9ef61ukm7sbpjc14hvfpbvru02 Query : select no, estab,szadrsdesc from szadrs where u_coddest=227
20240411@074426.8690 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240411@074426.1372 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402668 and bi.ref ='324.1833.00.2' and bi.lordem =1
20240411@074426.2177 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240411@074426.2308 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402668 and bi.ref ='324.1833.00.2' and bi.lordem =1
20240411@074426.2390 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240411@074426.2425 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402668 and bi.ref ='324.1833.00.2' and bi.lordem =2
20240411@074426.3265 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.3356 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074426.3569 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.3610 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074426.3818 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.3859 9ef61ukm7sbpjc14hvfpbvru02 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074426.4074 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074426.4110 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.4154 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 ~inactivo valor from cl where no = '100041' and estab = 0 order by inactivo desc
20240411@074426.4393 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.4397 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074426.4415 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.4418 9ef61ukm7sbpjc14hvfpbvru02 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074426.4657 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.4672 9ef61ukm7sbpjc14hvfpbvru02 Query : select szadrsstamp valor from szadrs where szadrsdesc='radiobela som, lda'
20240411@074426.4687 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074426.4690 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from td where ndoc = 39
20240411@074426.4950 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074426.5225 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074426.5437 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074426.5538 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074426.5691 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074426.5727 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074426.5813 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074426.5997 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074426.6535 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074426.6763 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074426.6974 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074426.7173 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617848953661786ca92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074426.7682 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074426.8489 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074426.9231 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074426.9402 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074426.9571 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074426.9653 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074426.9736 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074426.9819 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074426.9896 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617848953661786ca92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074427.3740 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074427.6160 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074427.6390 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074427.9430 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617848953661786ca92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',829,100041,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074427.1589 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074427.1628 9ef61ukm7sbpjc14hvfpbvru02 Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240411@074427.1761 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1833.00.2'
20240411@074427.2058 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074427.2071 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074427.2096 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074427.2115 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074427.2185 9ef61ukm7sbpjc14hvfpbvru02 Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301256100a'
20240411@074427.2389 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074427.2401 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074427.2620 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074427.3464 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617877299661786cb3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6617848953661786ca92' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074427.3884 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074427.4124 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074427.4138 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617877299661786cb3a','aut6617848953661786ca92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074427.4143 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074427.4146 9ef61ukm7sbpjc14hvfpbvru02 Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240411@074427.4156 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1833.00.2'
20240411@074427.4418 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074427.4628 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074427.4988 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074427.5129 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074427.5134 9ef61ukm7sbpjc14hvfpbvru02 Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301256100a'
20240411@074427.5144 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074427.5156 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074427.5175 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074427.5494 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617825016661786cb7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6617848953661786ca92' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240411@074427.6147 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074427.6361 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074427.6443 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617825016661786cb7d','aut6617848953661786ca92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074427.6487 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074427.6528 9ef61ukm7sbpjc14hvfpbvru02 Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240411@074427.6664 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1833.00.2'
20240411@074427.6756 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074427.6822 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074427.6860 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074427.6987 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074427.7068 9ef61ukm7sbpjc14hvfpbvru02 Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301256100a'
20240411@074427.7135 9ef61ukm7sbpjc14hvfpbvru02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074427.7145 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074427.7407 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074427.7947 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617844905661786cbae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6617848953661786ca92' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240411@074427.8423 9ef61ukm7sbpjc14hvfpbvru02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074427.8660 9ef61ukm7sbpjc14hvfpbvru02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074427.8680 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617844905661786cbae','aut6617848953661786ca92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074427.8685 9ef61ukm7sbpjc14hvfpbvru02 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617848953661786ca92','2402668','wait',39,'ari17112337378,753000005')
20240411@074427.8870 9ef61ukm7sbpjc14hvfpbvru02 Query : use flama_phc
20240411@074427.8908 9ef61ukm7sbpjc14hvfpbvru02 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074427.8993 9ef61ukm7sbpjc14hvfpbvru02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1074';
20240411@074427.9209 9ef61ukm7sbpjc14hvfpbvru02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1074';
20240411@074427.9297 9ef61ukm7sbpjc14hvfpbvru02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1074';
20240411@074427.9648 9ef61ukm7sbpjc14hvfpbvru02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1074';
20240411@074428.3140 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074428.3630 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074428.3850 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1075';
20240411@074428.6400 2vdmnt1pu9vbq1ur3uavr2vc34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1075';
20240411@074428.7300 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1075';
20240411@074428.9550 2vdmnt1pu9vbq1ur3uavr2vc34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1075';
20240411@074428.1045 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.1086 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074428.1297 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.1337 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select no, estab,szadrsdesc from szadrs where u_coddest=323
20240411@074428.1758 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240411@074428.3290 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402669 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240411@074428.3991 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240411@074428.4366 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402669 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240411@074428.4452 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20240411@074428.4795 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402669 and bi.ref ='328.9316.00.1' and bi.lordem =2
20240411@074428.5406 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20240411@074428.5419 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402669 and bi.ref ='328.9316.00.1' and bi.lordem =2
20240411@074428.5449 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.5539 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074428.5754 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.5795 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074428.6002 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.6085 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074428.6427 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074428.6512 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.6553 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240411@074428.7835 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.7876 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074428.7981 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.7986 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074428.8176 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.8217 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom- brg retail'
20240411@074428.8470 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074428.8513 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from td where ndoc = 39
20240411@074428.8725 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074428.8879 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074428.9017 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074428.9099 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074428.9113 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074428.9140 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074428.9155 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074428.9165 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074428.9374 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074428.9518 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074428.9534 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074428.9711 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074429.1050 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074429.3140 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074429.6200 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074429.6920 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074429.6980 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074429.7030 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074429.7490 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074429.7600 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074429.7690 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617874732661786ccdf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074429.1286 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074429.1551 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074429.1841 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074429.2184 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617874732661786ccdf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',830,101621,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074429.2650 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074429.2714 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20240411@074429.3080 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20240411@074429.3574 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074429.3785 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074429.6105 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074429.6222 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074429.6229 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20240411@074429.6369 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074429.6577 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074429.6789 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074429.7080 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617835898661786cda0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617874732661786ccdf' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074429.7664 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074429.7857 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074429.7863 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617835898661786cda0','aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074429.7868 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074429.8091 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074429.8806 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074429.8875 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074429.8880 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074429.9010 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074429.9107 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074429.9386 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617897766661786cddb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617874732661786ccdf' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074430.2890 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074430.9480 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074430.1043 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617897766661786cddb','aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074430.1048 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074430.1051 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20240411@074430.1244 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20240411@074430.1257 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074430.1274 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074430.1307 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074430.1427 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074430.1510 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20240411@074430.1573 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074430.1583 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074430.1846 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074430.2385 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617822567661786ce26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617874732661786ccdf' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240411@074430.2846 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074430.3072 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074430.3131 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617822567661786ce26','aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074430.3137 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074430.3258 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074430.4094 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074430.4167 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074430.4172 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074430.4347 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074430.4399 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074430.4431 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617840126661786ce6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617874732661786ccdf' ,0,0 ,2,23.00,50000,?,?,?)
20240411@074430.4940 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074430.4974 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074430.5063 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617840126661786ce6a','aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074430.5109 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074430.5175 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240411@074430.5388 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20240411@074430.5858 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074430.5993 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074430.6180 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074430.6239 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074430.6244 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2300691400a'
20240411@074430.6502 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074430.6516 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074430.6739 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074430.7321 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617886153661786ce9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617874732661786ccdf' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240411@074430.8070 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074430.8106 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074430.8112 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617886153661786ce9f','aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074430.8118 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074430.8140 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074430.8418 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074430.8604 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074430.8687 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074430.8896 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074431.2490 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074431.2760 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617815889661786ced9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617874732661786ccdf' ,0,0 ,2,23.00,80000,?,?,?)
20240411@074431.9920 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074431.1042 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074431.1134 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617815889661786ced9','aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074431.1177 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074431.1219 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240411@074431.1431 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20240411@074431.1639 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074431.1851 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074431.2178 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074431.2195 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074431.2199 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2300691400a'
20240411@074431.2209 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074431.2230 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074431.2354 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074431.2559 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617812440661786cf36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617874732661786ccdf' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240411@074431.3163 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074431.3381 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074431.3462 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617812440661786cf36','aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074431.3507 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074431.3696 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074431.3955 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074431.3971 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074431.3976 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074431.3986 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074431.4008 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074431.4380 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617876830661786cf61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617874732661786ccdf' ,0,0 ,2,23.00,110000,?,?,?)
20240411@074431.5102 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074431.5528 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074431.5611 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617876830661786cf61','aut6617874732661786ccdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074431.5656 2vdmnt1pu9vbq1ur3uavr2vc34 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617874732661786ccdf','2402669','wait',39,'ari17112337378,753000005')
20240411@074431.5731 2vdmnt1pu9vbq1ur3uavr2vc34 Query : use flama_phc
20240411@074431.5775 2vdmnt1pu9vbq1ur3uavr2vc34 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074431.5860 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1075';
20240411@074431.5904 2vdmnt1pu9vbq1ur3uavr2vc34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1075';
20240411@074431.5923 2vdmnt1pu9vbq1ur3uavr2vc34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1075';
20240411@074431.6006 2vdmnt1pu9vbq1ur3uavr2vc34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1075';
20240411@074431.7104 79nfh79na107samcnb3f2obo6q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074431.7117 79nfh79na107samcnb3f2obo6q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074431.7276 79nfh79na107samcnb3f2obo6q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1076';
20240411@074431.7328 79nfh79na107samcnb3f2obo6q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1076';
20240411@074431.7405 79nfh79na107samcnb3f2obo6q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1076';
20240411@074431.7590 79nfh79na107samcnb3f2obo6q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1076';
20240411@074431.7609 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074431.7613 79nfh79na107samcnb3f2obo6q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074431.7878 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074431.7918 79nfh79na107samcnb3f2obo6q Query : select no, estab,szadrsdesc from szadrs where u_coddest=1086
20240411@074431.8268 79nfh79na107samcnb3f2obo6q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240411@074431.8475 79nfh79na107samcnb3f2obo6q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402694 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240411@074431.9007 79nfh79na107samcnb3f2obo6q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240411@074431.9655 79nfh79na107samcnb3f2obo6q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402694 and bi.ref ='324.2231.00.1' and bi.lordem =2
20240411@074432.6550 79nfh79na107samcnb3f2obo6q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240411@074432.1381 79nfh79na107samcnb3f2obo6q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402694 and bi.ref ='324.2232.00.1' and bi.lordem =3
20240411@074432.2008 79nfh79na107samcnb3f2obo6q 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'
20240411@074432.2022 79nfh79na107samcnb3f2obo6q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402694 and bi.ref ='324.1824.00.1' and bi.lordem =5
20240411@074432.2720 79nfh79na107samcnb3f2obo6q 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'
20240411@074432.2931 79nfh79na107samcnb3f2obo6q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402694 and bi.ref ='324.4970.00.1' and bi.lordem =6
20240411@074432.3632 79nfh79na107samcnb3f2obo6q 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'
20240411@074432.4044 79nfh79na107samcnb3f2obo6q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402694 and bi.ref ='324.4421.00.1' and bi.lordem =8
20240411@074432.4702 79nfh79na107samcnb3f2obo6q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9006.00.1'
20240411@074432.5111 79nfh79na107samcnb3f2obo6q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402694 and bi.ref ='328.9006.00.1' and bi.lordem =9
20240411@074432.5842 79nfh79na107samcnb3f2obo6q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9006.00.1'
20240411@074432.6052 79nfh79na107samcnb3f2obo6q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402694 and bi.ref ='328.9006.00.1' and bi.lordem =10
20240411@074432.6604 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074432.6670 79nfh79na107samcnb3f2obo6q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074432.6822 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074432.6826 79nfh79na107samcnb3f2obo6q Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074432.6838 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074432.6841 79nfh79na107samcnb3f2obo6q Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074432.7897 79nfh79na107samcnb3f2obo6q Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074432.8498 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074432.8501 79nfh79na107samcnb3f2obo6q Query : select top 1 ~inactivo valor from cl where no = '101648' and estab = 0 order by inactivo desc
20240411@074432.8711 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074432.8752 79nfh79na107samcnb3f2obo6q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074432.8863 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074432.8868 79nfh79na107samcnb3f2obo6q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074432.9051 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074432.9094 79nfh79na107samcnb3f2obo6q Query : select szadrsstamp valor from szadrs where szadrsdesc='adÃo moveis electrodomesticos,lda'
20240411@074432.9345 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074432.9387 79nfh79na107samcnb3f2obo6q Query : select 1 valor from td where ndoc = 39
20240411@074432.9594 79nfh79na107samcnb3f2obo6q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074432.9732 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074432.9869 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074432.9923 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074432.9939 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074433.2480 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074433.4400 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074433.9360 79nfh79na107samcnb3f2obo6q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074433.1372 79nfh79na107samcnb3f2obo6q Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074433.1470 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074433.1621 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074433.1631 79nfh79na107samcnb3f2obo6q Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617807140661786d116' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074433.1904 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074433.2092 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074433.2575 79nfh79na107samcnb3f2obo6q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074433.2764 79nfh79na107samcnb3f2obo6q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074433.3005 79nfh79na107samcnb3f2obo6q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074433.3202 79nfh79na107samcnb3f2obo6q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074433.3232 79nfh79na107samcnb3f2obo6q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074433.3268 79nfh79na107samcnb3f2obo6q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074433.3362 79nfh79na107samcnb3f2obo6q Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617807140661786d116',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074433.4079 79nfh79na107samcnb3f2obo6q Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074433.4098 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074433.4112 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074433.4165 79nfh79na107samcnb3f2obo6q Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617807140661786d116',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',831,101648,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074433.4517 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074433.4521 79nfh79na107samcnb3f2obo6q Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20240411@074433.4532 79nfh79na107samcnb3f2obo6q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20240411@074433.4545 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074433.4558 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074433.4580 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074433.4594 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074433.4598 79nfh79na107samcnb3f2obo6q Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20240411@074433.4607 79nfh79na107samcnb3f2obo6q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074433.4616 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074433.4628 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074433.4652 79nfh79na107samcnb3f2obo6q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617888353661786d170',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617807140661786d116' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074433.4964 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074433.4980 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074433.4984 79nfh79na107samcnb3f2obo6q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617888353661786d170','aut6617807140661786d116' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074433.4989 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074433.5002 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074433.5025 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074433.5041 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074433.5045 79nfh79na107samcnb3f2obo6q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074433.5054 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074433.5066 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074433.5088 79nfh79na107samcnb3f2obo6q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617818714661786d17b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617807140661786d116' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074433.5544 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074433.5691 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074433.5698 79nfh79na107samcnb3f2obo6q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617818714661786d17b','aut6617807140661786d116' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074433.5703 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074433.5749 79nfh79na107samcnb3f2obo6q Query : select st.usalote valor from st where st.ref = '324.2231.00.1'
20240411@074433.5788 79nfh79na107samcnb3f2obo6q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.1'
20240411@074433.6312 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074433.6525 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074433.6874 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074433.6931 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074433.6936 79nfh79na107samcnb3f2obo6q Query : select sestamp valor from se where ref ='324.2231.00.1' and lote = 'r2301141275a'
20240411@074433.6941 79nfh79na107samcnb3f2obo6q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074433.6951 79nfh79na107samcnb3f2obo6q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074433.6964 79nfh79na107samcnb3f2obo6q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074433.6987 79nfh79na107samcnb3f2obo6q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617891024661786d1a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6617807140661786d116' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240411@074433.7749 79nfh79na107samcnb3f2obo6q Query : use flama_phc
20240411@074433.7793 79nfh79na107samcnb3f2obo6q Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240411@074433.8001 79nfh79na107samcnb3f2obo6q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1076';
20240411@074433.8222 79nfh79na107samcnb3f2obo6q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1076';
20240411@074433.8768 42sqnmptllf9rpnti7mfc4igh1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074433.8782 42sqnmptllf9rpnti7mfc4igh1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074433.8804 42sqnmptllf9rpnti7mfc4igh1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1077';
20240411@074433.8851 42sqnmptllf9rpnti7mfc4igh1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1077';
20240411@074433.8868 42sqnmptllf9rpnti7mfc4igh1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1077';
20240411@074433.8885 42sqnmptllf9rpnti7mfc4igh1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1077';
20240411@074433.8900 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.8904 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074433.8918 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.8921 42sqnmptllf9rpnti7mfc4igh1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20240411@074433.9016 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9106.00.1'
20240411@074433.9166 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402695 and bi.ref ='328.9106.00.1' and bi.lordem =1
20240411@074433.9488 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240411@074433.9504 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402695 and bi.ref ='324.4743.00.1' and bi.lordem =2
20240411@074433.9816 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.9821 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074433.9839 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.9842 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074433.9856 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.9860 42sqnmptllf9rpnti7mfc4igh1 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074433.9872 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074433.9889 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.9893 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240411@074433.9906 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.9910 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074433.9922 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.9925 42sqnmptllf9rpnti7mfc4igh1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074433.9937 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.9940 42sqnmptllf9rpnti7mfc4igh1 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - loja da ponte'
20240411@074433.9953 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074433.9956 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from td where ndoc = 39
20240411@074433.9966 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074433.9977 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074433.9993 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074434.9000 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074434.2200 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074434.5000 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074434.6400 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074434.7400 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074434.1660 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074434.1770 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074434.1910 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074434.2010 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617835681661786d201' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074434.3870 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074434.4030 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074434.4330 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074434.4420 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074434.4490 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074434.4540 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074434.4600 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074434.4650 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074434.4700 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617835681661786d201',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074434.7430 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074434.7640 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074434.7800 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074434.8000 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617835681661786d201',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',831,101621,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074434.1114 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074434.1118 42sqnmptllf9rpnti7mfc4igh1 Query : select st.usalote valor from st where st.ref = '328.9106.00.1'
20240411@074434.1131 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9106.00.1'
20240411@074434.1280 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074434.1295 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074434.1319 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074434.1332 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074434.1337 42sqnmptllf9rpnti7mfc4igh1 Query : select sestamp valor from se where ref ='328.9106.00.1' and lote = 'r2100770200a'
20240411@074434.1354 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074434.1365 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074434.1379 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074434.1406 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617852165661786d221',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617835681661786d201' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074434.1678 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074434.1695 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074434.1701 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617852165661786d221','aut6617835681661786d201' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074434.1706 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074434.1720 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074434.1746 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074434.1759 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074434.1763 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074434.1773 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074434.1786 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074434.1809 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617851138661786d22b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617835681661786d201' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074434.2085 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074434.2102 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074434.2107 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617851138661786d22b','aut6617835681661786d201' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074434.2111 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074434.2114 42sqnmptllf9rpnti7mfc4igh1 Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240411@074434.2125 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20240411@074434.2138 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074434.2152 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074434.2176 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074434.2191 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074434.2195 42sqnmptllf9rpnti7mfc4igh1 Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240411@074434.2206 42sqnmptllf9rpnti7mfc4igh1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074434.2216 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074434.2228 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074434.2582 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617856653661786d236',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6617835681661786d201' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240411@074434.3209 42sqnmptllf9rpnti7mfc4igh1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074434.3224 42sqnmptllf9rpnti7mfc4igh1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074434.3229 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617856653661786d236','aut6617835681661786d201' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074434.3233 42sqnmptllf9rpnti7mfc4igh1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617835681661786d201','2402695','wait',39,'ari17112337378,753000005')
20240411@074434.3252 42sqnmptllf9rpnti7mfc4igh1 Query : use flama_phc
20240411@074434.3256 42sqnmptllf9rpnti7mfc4igh1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074434.3271 42sqnmptllf9rpnti7mfc4igh1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1077';
20240411@074434.3290 42sqnmptllf9rpnti7mfc4igh1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1077';
20240411@074434.3305 42sqnmptllf9rpnti7mfc4igh1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1077';
20240411@074434.3320 42sqnmptllf9rpnti7mfc4igh1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1077';
20240411@074434.4062 n2gsilftfdl6ojgjuv5sla42ge Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074434.4131 n2gsilftfdl6ojgjuv5sla42ge Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074434.4469 n2gsilftfdl6ojgjuv5sla42ge Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1078';
20240411@074434.4654 n2gsilftfdl6ojgjuv5sla42ge Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1078';
20240411@074434.4672 n2gsilftfdl6ojgjuv5sla42ge Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1078';
20240411@074434.4950 n2gsilftfdl6ojgjuv5sla42ge Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1078';
20240411@074434.5042 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.5062 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074434.5213 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.5255 n2gsilftfdl6ojgjuv5sla42ge Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20240411@074434.5587 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20240411@074434.6185 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402696 and bi.ref ='324.698.00.01' and bi.lordem =1
20240411@074434.6588 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20240411@074434.6600 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402696 and bi.ref ='324.698.00.01' and bi.lordem =2
20240411@074434.6907 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.6912 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074434.6925 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.6928 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074434.6938 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.6942 n2gsilftfdl6ojgjuv5sla42ge Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074434.6952 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074434.6967 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.6970 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240411@074434.6980 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.6983 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074434.6993 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.6998 n2gsilftfdl6ojgjuv5sla42ge Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074434.7046 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.7049 n2gsilftfdl6ojgjuv5sla42ge Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20240411@074434.7063 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.7066 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from td where ndoc = 39
20240411@074434.7076 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074434.7089 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074434.7105 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074434.7122 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074434.7134 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074434.7159 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074434.7171 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074434.7180 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074434.7276 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074434.7286 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074434.7299 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074434.7309 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617801592661786d2af' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074434.7522 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074434.7543 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074434.7579 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074434.7584 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074434.7588 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074434.7593 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074434.7598 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074434.7602 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074434.7606 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617801592661786d2af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074434.7983 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074434.8091 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074434.8169 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074434.8892 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617801592661786d2af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',832,101621,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074434.9842 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074434.9884 n2gsilftfdl6ojgjuv5sla42ge Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20240411@074435.2000 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.698.00.01'
20240411@074435.4970 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074435.7100 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074435.1299 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074435.1451 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074435.1461 n2gsilftfdl6ojgjuv5sla42ge Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2301182200a'
20240411@074435.1474 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074435.1713 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074435.1981 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074435.2304 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617818596661786d329',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6617801592661786d2af' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074435.2865 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074435.2882 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074435.2921 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617818596661786d329','aut6617801592661786d2af' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074435.2927 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074435.2943 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074435.2974 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074435.3154 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074435.3207 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074435.3545 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074435.4067 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074435.4808 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617890559661786d356',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617801592661786d2af' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074435.5498 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074435.5918 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074435.5999 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617890559661786d356','aut6617801592661786d2af' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074435.6043 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074435.6085 n2gsilftfdl6ojgjuv5sla42ge Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20240411@074435.6295 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.698.00.01'
20240411@074435.6308 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074435.6460 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074435.6484 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074435.6505 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074435.6509 n2gsilftfdl6ojgjuv5sla42ge Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2301182200a'
20240411@074435.6667 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074435.6764 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074435.6909 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074435.7537 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617852295661786d3a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617801592661786d2af' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240411@074435.8119 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074435.8204 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074435.8208 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617852295661786d3a5','aut6617801592661786d2af' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074435.8219 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074435.8378 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074435.8532 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074435.8733 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074435.8818 n2gsilftfdl6ojgjuv5sla42ge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074435.9005 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074435.9221 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074436.6100 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617841635661786d3db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617801592661786d2af' ,0,0 ,2,23.00,50000,?,?,?)
20240411@074436.3730 n2gsilftfdl6ojgjuv5sla42ge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074436.3890 n2gsilftfdl6ojgjuv5sla42ge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074436.3930 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617841635661786d3db','aut6617801592661786d2af' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074436.3980 n2gsilftfdl6ojgjuv5sla42ge Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617801592661786d2af','2402696','wait',39,'ari17112337378,753000005')
20240411@074436.4150 n2gsilftfdl6ojgjuv5sla42ge Query : use flama_phc
20240411@074436.4180 n2gsilftfdl6ojgjuv5sla42ge Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074436.4300 n2gsilftfdl6ojgjuv5sla42ge Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1078';
20240411@074436.4500 n2gsilftfdl6ojgjuv5sla42ge Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1078';
20240411@074436.4670 n2gsilftfdl6ojgjuv5sla42ge Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1078';
20240411@074436.4820 n2gsilftfdl6ojgjuv5sla42ge Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1078';
20240411@074436.9630 t709ji174d79on1bi56rht2qul Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074436.9760 t709ji174d79on1bi56rht2qul Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074436.9960 t709ji174d79on1bi56rht2qul Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1079';
20240411@074436.1039 t709ji174d79on1bi56rht2qul Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1079';
20240411@074436.1056 t709ji174d79on1bi56rht2qul Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1079';
20240411@074436.1071 t709ji174d79on1bi56rht2qul Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1079';
20240411@074436.1086 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.1090 t709ji174d79on1bi56rht2qul Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074436.1104 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.1107 t709ji174d79on1bi56rht2qul Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20240411@074436.1203 t709ji174d79on1bi56rht2qul Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240411@074436.1430 t709ji174d79on1bi56rht2qul Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402697 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240411@074436.2004 t709ji174d79on1bi56rht2qul Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240411@074436.2249 t709ji174d79on1bi56rht2qul Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402697 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240411@074436.2933 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.2977 t709ji174d79on1bi56rht2qul Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074436.3366 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.3451 t709ji174d79on1bi56rht2qul Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074436.4312 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.4319 t709ji174d79on1bi56rht2qul Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074436.5176 t709ji174d79on1bi56rht2qul Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074436.5328 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.5332 t709ji174d79on1bi56rht2qul Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240411@074436.5474 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.5481 t709ji174d79on1bi56rht2qul Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074436.5495 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.5499 t709ji174d79on1bi56rht2qul Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074436.5509 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.5512 t709ji174d79on1bi56rht2qul Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20240411@074436.5525 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.5529 t709ji174d79on1bi56rht2qul Query : select 1 valor from td where ndoc = 39
20240411@074436.5543 t709ji174d79on1bi56rht2qul Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074436.5555 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074436.5578 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074436.5603 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074436.5619 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074436.5679 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074436.5694 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074436.5706 t709ji174d79on1bi56rht2qul Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074436.6131 t709ji174d79on1bi56rht2qul Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074436.6459 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074436.6998 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074436.7617 t709ji174d79on1bi56rht2qul Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617827903661786d48b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074436.8235 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074436.8254 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074436.8282 t709ji174d79on1bi56rht2qul Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074436.8287 t709ji174d79on1bi56rht2qul Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074436.8330 t709ji174d79on1bi56rht2qul Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074436.8335 t709ji174d79on1bi56rht2qul Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074436.8340 t709ji174d79on1bi56rht2qul Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074436.8345 t709ji174d79on1bi56rht2qul Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074436.8350 t709ji174d79on1bi56rht2qul Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617827903661786d48b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074436.8770 t709ji174d79on1bi56rht2qul Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074436.8788 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074436.8801 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074436.8820 t709ji174d79on1bi56rht2qul Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617827903661786d48b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',833,101621,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074436.9127 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074436.9132 t709ji174d79on1bi56rht2qul Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240411@074436.9145 t709ji174d79on1bi56rht2qul Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240411@074436.9339 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074436.9353 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074436.9375 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074436.9389 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074436.9393 t709ji174d79on1bi56rht2qul Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240411@074436.9403 t709ji174d79on1bi56rht2qul Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074436.9413 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074436.9425 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074436.9447 t709ji174d79on1bi56rht2qul Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617827329661786d4e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6617827903661786d48b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074436.9732 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074436.9749 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074436.9754 t709ji174d79on1bi56rht2qul Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617827329661786d4e5','aut6617827903661786d48b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074436.9759 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074436.9772 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074436.9810 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074436.9825 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074436.9829 t709ji174d79on1bi56rht2qul Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074436.9840 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074436.9853 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074436.9876 t709ji174d79on1bi56rht2qul Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617898823661786d4f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617827903661786d48b' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074437.1620 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074437.2100 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074437.2140 t709ji174d79on1bi56rht2qul Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617898823661786d4f0','aut6617827903661786d48b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074437.2190 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074437.2220 t709ji174d79on1bi56rht2qul Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240411@074437.2330 t709ji174d79on1bi56rht2qul Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240411@074437.2440 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074437.2570 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074437.2800 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074437.2960 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074437.3050 t709ji174d79on1bi56rht2qul Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240411@074437.3160 t709ji174d79on1bi56rht2qul Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074437.3280 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074437.3470 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074437.3710 t709ji174d79on1bi56rht2qul Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617886760661786d508',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617827903661786d48b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240411@074437.7030 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074437.7240 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074437.7300 t709ji174d79on1bi56rht2qul Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617886760661786d508','aut6617827903661786d48b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074437.7370 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074437.7570 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074437.7870 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074437.8010 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074437.8060 t709ji174d79on1bi56rht2qul Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074437.8160 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074437.8290 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074437.8530 t709ji174d79on1bi56rht2qul Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617842911661786d513',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617827903661786d48b' ,0,0 ,2,23.00,50000,?,?,?)
20240411@074437.1167 t709ji174d79on1bi56rht2qul Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074437.1184 t709ji174d79on1bi56rht2qul Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074437.1192 t709ji174d79on1bi56rht2qul Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617842911661786d513','aut6617827903661786d48b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074437.1198 t709ji174d79on1bi56rht2qul Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617827903661786d48b','2402697','wait',39,'ari17112337378,753000005')
20240411@074437.1217 t709ji174d79on1bi56rht2qul Query : use flama_phc
20240411@074437.1221 t709ji174d79on1bi56rht2qul Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074437.1233 t709ji174d79on1bi56rht2qul Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1079';
20240411@074437.1289 t709ji174d79on1bi56rht2qul Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1079';
20240411@074437.1304 t709ji174d79on1bi56rht2qul Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1079';
20240411@074437.1319 t709ji174d79on1bi56rht2qul Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1079';
20240411@074437.1815 l4hns037d8b826pn2tg1svchqi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074437.1829 l4hns037d8b826pn2tg1svchqi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074437.1850 l4hns037d8b826pn2tg1svchqi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1080';
20240411@074437.1898 l4hns037d8b826pn2tg1svchqi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1080';
20240411@074437.1959 l4hns037d8b826pn2tg1svchqi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1080';
20240411@074437.1979 l4hns037d8b826pn2tg1svchqi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1080';
20240411@074437.1997 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074437.2001 l4hns037d8b826pn2tg1svchqi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074437.2015 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074437.2019 l4hns037d8b826pn2tg1svchqi Query : select no, estab,szadrsdesc from szadrs where u_coddest=2121
20240411@074437.2112 l4hns037d8b826pn2tg1svchqi 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'
20240411@074437.2126 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240411@074437.2483 l4hns037d8b826pn2tg1svchqi 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'
20240411@074437.2637 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.4902.00.1' and bi.lordem =3
20240411@074437.3081 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20240411@074437.3258 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.1407.00.1' and bi.lordem =5
20240411@074437.3583 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20240411@074437.3732 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.1406.00.1' and bi.lordem =6
20240411@074437.4089 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240411@074437.4100 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.2231.00.1' and bi.lordem =9
20240411@074437.4550 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5361.00.1'
20240411@074437.4788 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.5361.00.1' and bi.lordem =11
20240411@074437.5289 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5365.00.1'
20240411@074437.5496 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.5365.00.1' and bi.lordem =13
20240411@074437.5953 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240411@074437.6153 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.5396.00.1' and bi.lordem =15
20240411@074437.6581 l4hns037d8b826pn2tg1svchqi 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'
20240411@074437.6655 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.691.00.01' and bi.lordem =17
20240411@074437.7093 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240411@074437.7301 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.692.00.01' and bi.lordem =18
20240411@074437.7742 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240411@074437.7776 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.692.00.01' and bi.lordem =19
20240411@074437.8208 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240411@074437.8418 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.958.00.01' and bi.lordem =20
20240411@074437.8861 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20240411@074437.9063 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.946.00.01' and bi.lordem =21
20240411@074437.9610 l4hns037d8b826pn2tg1svchqi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20240411@074437.9860 l4hns037d8b826pn2tg1svchqi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402700 and bi.ref ='324.2066.00.1' and bi.lordem =22
20240411@074438.2970 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.3020 l4hns037d8b826pn2tg1svchqi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074438.3420 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.3630 l4hns037d8b826pn2tg1svchqi Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074438.3760 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.3790 l4hns037d8b826pn2tg1svchqi Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074438.4120 l4hns037d8b826pn2tg1svchqi Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074438.4470 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.4500 l4hns037d8b826pn2tg1svchqi Query : select top 1 ~inactivo valor from cl where no = '100820' and estab = 0 order by inactivo desc
20240411@074438.6230 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.6260 l4hns037d8b826pn2tg1svchqi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074438.6580 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.6620 l4hns037d8b826pn2tg1svchqi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074438.6930 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.6960 l4hns037d8b826pn2tg1svchqi Query : select szadrsstamp valor from szadrs where szadrsdesc='casa das louÇas do arco, lda.'
20240411@074438.7290 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.7330 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from td where ndoc = 39
20240411@074438.7670 l4hns037d8b826pn2tg1svchqi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074438.8020 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074438.8180 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074438.8830 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074438.2010 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074438.2255 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074438.2889 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074438.2928 l4hns037d8b826pn2tg1svchqi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074438.3078 l4hns037d8b826pn2tg1svchqi Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074438.3115 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074438.3155 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074438.3165 l4hns037d8b826pn2tg1svchqi Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617875760661786d647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074438.3461 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074438.3502 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074438.3578 l4hns037d8b826pn2tg1svchqi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074438.3602 l4hns037d8b826pn2tg1svchqi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074438.3607 l4hns037d8b826pn2tg1svchqi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074438.3612 l4hns037d8b826pn2tg1svchqi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074438.3637 l4hns037d8b826pn2tg1svchqi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074438.3643 l4hns037d8b826pn2tg1svchqi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074438.3647 l4hns037d8b826pn2tg1svchqi Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617875760661786d647',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074438.4996 l4hns037d8b826pn2tg1svchqi Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074438.5050 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074438.5085 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074438.5125 l4hns037d8b826pn2tg1svchqi Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617875760661786d647',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',834,100820,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074438.5547 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.5573 l4hns037d8b826pn2tg1svchqi Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240411@074438.5588 l4hns037d8b826pn2tg1svchqi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240411@074438.5622 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.5699 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074438.5773 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.5813 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074438.5838 l4hns037d8b826pn2tg1svchqi Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240411@074438.5849 l4hns037d8b826pn2tg1svchqi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074438.5879 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.5916 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074438.5963 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617813504661786d68f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6617875760661786d647' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074438.6355 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.6397 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074438.6401 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617813504661786d68f','aut6617875760661786d647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074438.6426 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.6430 l4hns037d8b826pn2tg1svchqi Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240411@074438.6462 l4hns037d8b826pn2tg1svchqi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240411@074438.6704 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.6719 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074438.6794 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.6834 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074438.6839 l4hns037d8b826pn2tg1svchqi Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240411@074438.6874 l4hns037d8b826pn2tg1svchqi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074438.6908 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.6976 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074438.7029 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617873722661786d6a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6617875760661786d647' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240411@074438.7438 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.7478 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074438.7507 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617873722661786d6a8','aut6617875760661786d647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074438.7513 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.7527 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074438.7646 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.7689 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074438.7717 l4hns037d8b826pn2tg1svchqi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074438.7731 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.7768 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074438.7834 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617860048661786d6bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617875760661786d647' ,0,0 ,2,23.00,30000,?,?,?)
20240411@074438.8211 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.8254 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074438.8280 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617860048661786d6bc','aut6617875760661786d647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074438.8285 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.8288 l4hns037d8b826pn2tg1svchqi Query : select st.usalote valor from st where st.ref = '324.1407.00.1'
20240411@074438.8323 l4hns037d8b826pn2tg1svchqi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1407.00.1'
20240411@074438.8591 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.8607 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074438.8680 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.8742 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074438.8747 l4hns037d8b826pn2tg1svchqi Query : select sestamp valor from se where ref ='324.1407.00.1' and lote = 'r2100703100a'
20240411@074438.8781 l4hns037d8b826pn2tg1svchqi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074438.8810 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.8847 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074438.8895 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617847882661786d6d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6617875760661786d647' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240411@074438.9295 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.9335 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074438.9363 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617847882661786d6d7','aut6617875760661786d647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074438.9368 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074438.9371 l4hns037d8b826pn2tg1svchqi Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20240411@074438.9405 l4hns037d8b826pn2tg1svchqi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1406.00.1'
20240411@074438.9644 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.9660 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074438.9741 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074438.9780 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074438.9809 l4hns037d8b826pn2tg1svchqi Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '10/20'
20240411@074438.9852 l4hns037d8b826pn2tg1svchqi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074438.9886 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074438.9901 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074438.9972 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617804332661786d6f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6617875760661786d647' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240411@074439.3830 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074439.4230 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074439.4280 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617804332661786d6f1','aut6617875760661786d647' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074439.4540 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074439.4580 l4hns037d8b826pn2tg1svchqi Query : select st.usalote valor from st where st.ref = '324.2231.00.1'
20240411@074439.4940 l4hns037d8b826pn2tg1svchqi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.1'
20240411@074439.5310 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074439.5470 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074439.6150 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074439.6870 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074439.7130 l4hns037d8b826pn2tg1svchqi Query : select sestamp valor from se where ref ='324.2231.00.1' and lote = 'r2301141275a'
20240411@074439.7170 l4hns037d8b826pn2tg1svchqi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074439.7560 l4hns037d8b826pn2tg1svchqi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074439.7700 l4hns037d8b826pn2tg1svchqi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074439.8390 l4hns037d8b826pn2tg1svchqi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617804311661786d712',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6617875760661786d647' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240411@074439.1372 l4hns037d8b826pn2tg1svchqi Query : use flama_phc
20240411@074439.1377 l4hns037d8b826pn2tg1svchqi Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240411@074439.1411 l4hns037d8b826pn2tg1svchqi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1080';
20240411@074439.1451 l4hns037d8b826pn2tg1svchqi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1080';
20240411@074439.2001 vf1gaamo7gij257nad57ngrlvm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074439.2034 vf1gaamo7gij257nad57ngrlvm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074439.2115 vf1gaamo7gij257nad57ngrlvm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1081';
20240411@074439.2205 vf1gaamo7gij257nad57ngrlvm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1081';
20240411@074439.2245 vf1gaamo7gij257nad57ngrlvm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1081';
20240411@074439.2264 vf1gaamo7gij257nad57ngrlvm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1081';
20240411@074439.2303 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.2346 vf1gaamo7gij257nad57ngrlvm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074439.2383 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.2386 vf1gaamo7gij257nad57ngrlvm Query : select no, estab,szadrsdesc from szadrs where u_coddest=2155
20240411@074439.2869 vf1gaamo7gij257nad57ngrlvm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240411@074439.3801 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402702 and bi.ref ='324.2907.00.1' and bi.lordem =1
20240411@074439.4594 vf1gaamo7gij257nad57ngrlvm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240411@074439.4807 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402702 and bi.ref ='324.711.00.01' and bi.lordem =2
20240411@074439.5248 vf1gaamo7gij257nad57ngrlvm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240411@074439.7323 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402702 and bi.ref ='324.2221.00.1' and bi.lordem =3
20240411@074439.7757 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.7761 vf1gaamo7gij257nad57ngrlvm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074439.7801 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.7805 vf1gaamo7gij257nad57ngrlvm Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074439.7839 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.7843 vf1gaamo7gij257nad57ngrlvm Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074439.7873 vf1gaamo7gij257nad57ngrlvm Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074439.7910 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.7936 vf1gaamo7gij257nad57ngrlvm Query : select top 1 ~inactivo valor from cl where no = '102137' and estab = 0 order by inactivo desc
20240411@074439.8095 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.8100 vf1gaamo7gij257nad57ngrlvm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074439.8133 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.8137 vf1gaamo7gij257nad57ngrlvm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074439.8169 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.8172 vf1gaamo7gij257nad57ngrlvm Query : select szadrsstamp valor from szadrs where szadrsdesc='mafricentro electrodomÉsticos,lda.'
20240411@074439.8236 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074439.8241 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from td where ndoc = 39
20240411@074439.8279 vf1gaamo7gij257nad57ngrlvm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074439.8294 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074439.8332 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074439.8401 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074439.8438 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074439.8548 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074439.8584 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074439.8617 vf1gaamo7gij257nad57ngrlvm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074439.8767 vf1gaamo7gij257nad57ngrlvm Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074439.8801 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074439.8837 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074439.8850 vf1gaamo7gij257nad57ngrlvm Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617801349661786d7d2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074439.9122 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074439.9162 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074439.9239 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074439.9264 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074439.9271 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074439.9297 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074439.9304 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074439.9310 vf1gaamo7gij257nad57ngrlvm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074439.9336 vf1gaamo7gij257nad57ngrlvm Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617801349661786d7d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074439.9705 vf1gaamo7gij257nad57ngrlvm Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074439.9746 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074439.9781 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074439.9844 vf1gaamo7gij257nad57ngrlvm Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617801349661786d7d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',834,102137,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074440.4010 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074440.4050 vf1gaamo7gij257nad57ngrlvm Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240411@074440.4380 vf1gaamo7gij257nad57ngrlvm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20240411@074440.6670 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.7020 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074440.7540 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.7880 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074440.8150 vf1gaamo7gij257nad57ngrlvm Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2200799200a'
20240411@074440.8540 vf1gaamo7gij257nad57ngrlvm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074440.8860 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.9210 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074440.9670 vf1gaamo7gij257nad57ngrlvm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617875523661786d815',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6617801349661786d7d2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074440.1364 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.1402 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074440.1407 vf1gaamo7gij257nad57ngrlvm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617875523661786d815','aut6617801349661786d7d2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074440.1412 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074440.1434 vf1gaamo7gij257nad57ngrlvm Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240411@074440.1447 vf1gaamo7gij257nad57ngrlvm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20240411@074440.1676 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.1714 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074440.1782 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.1818 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074440.1823 vf1gaamo7gij257nad57ngrlvm Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240411@074440.1854 vf1gaamo7gij257nad57ngrlvm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074440.1887 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.1922 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074440.1993 vf1gaamo7gij257nad57ngrlvm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617846418661786d82e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6617801349661786d7d2' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240411@074440.2366 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.2412 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074440.2515 vf1gaamo7gij257nad57ngrlvm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617846418661786d82e','aut6617801349661786d7d2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074440.2521 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.2561 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074440.2636 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.2675 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074440.2680 vf1gaamo7gij257nad57ngrlvm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074440.2711 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.2745 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074440.2817 vf1gaamo7gij257nad57ngrlvm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617872933661786d842',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617801349661786d7d2' ,0,0 ,2,23.00,30000,?,?,?)
20240411@074440.3199 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.3241 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074440.3272 vf1gaamo7gij257nad57ngrlvm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617872933661786d842','aut6617801349661786d7d2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074440.3278 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074440.3281 vf1gaamo7gij257nad57ngrlvm Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240411@074440.3315 vf1gaamo7gij257nad57ngrlvm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20240411@074440.3732 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.3775 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074440.3883 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.3922 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074440.3927 vf1gaamo7gij257nad57ngrlvm Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301281300a'
20240411@074440.3959 vf1gaamo7gij257nad57ngrlvm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074440.3989 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.4024 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074440.4090 vf1gaamo7gij257nad57ngrlvm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617849029661786d861',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6617801349661786d7d2' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240411@074440.4476 vf1gaamo7gij257nad57ngrlvm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.4517 vf1gaamo7gij257nad57ngrlvm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074440.4547 vf1gaamo7gij257nad57ngrlvm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617849029661786d861','aut6617801349661786d7d2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074440.4551 vf1gaamo7gij257nad57ngrlvm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617801349661786d7d2','2402702','wait',39,'ari17112337378,753000005')
20240411@074440.4585 vf1gaamo7gij257nad57ngrlvm Query : use flama_phc
20240411@074440.4588 vf1gaamo7gij257nad57ngrlvm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074440.4618 vf1gaamo7gij257nad57ngrlvm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1081';
20240411@074440.4637 vf1gaamo7gij257nad57ngrlvm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1081';
20240411@074440.4674 vf1gaamo7gij257nad57ngrlvm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1081';
20240411@074440.4734 vf1gaamo7gij257nad57ngrlvm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1081';
20240411@074440.5240 4llemgp4f86sbogl8j5qatingu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074440.5254 4llemgp4f86sbogl8j5qatingu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074440.5274 4llemgp4f86sbogl8j5qatingu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1082';
20240411@074440.5317 4llemgp4f86sbogl8j5qatingu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1082';
20240411@074440.5332 4llemgp4f86sbogl8j5qatingu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1082';
20240411@074440.5348 4llemgp4f86sbogl8j5qatingu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1082';
20240411@074440.5363 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.5367 4llemgp4f86sbogl8j5qatingu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074440.5379 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.5382 4llemgp4f86sbogl8j5qatingu Query : select no, estab,szadrsdesc from szadrs where u_coddest=6855
20240411@074440.5468 4llemgp4f86sbogl8j5qatingu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240411@074440.5620 4llemgp4f86sbogl8j5qatingu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402703 and bi.ref ='324.945.00.01' and bi.lordem =1
20240411@074440.5941 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.5944 4llemgp4f86sbogl8j5qatingu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074440.5958 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.5961 4llemgp4f86sbogl8j5qatingu Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074440.5972 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.5975 4llemgp4f86sbogl8j5qatingu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074440.5985 4llemgp4f86sbogl8j5qatingu Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074440.6001 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.6004 4llemgp4f86sbogl8j5qatingu Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240411@074440.6014 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.6018 4llemgp4f86sbogl8j5qatingu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074440.6029 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.6033 4llemgp4f86sbogl8j5qatingu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074440.6045 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.6048 4llemgp4f86sbogl8j5qatingu Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - montijo nova'
20240411@074440.6062 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.6065 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from td where ndoc = 39
20240411@074440.6077 4llemgp4f86sbogl8j5qatingu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074440.6089 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074440.6104 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074440.6121 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074440.6135 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074440.6163 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074440.6176 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074440.6188 4llemgp4f86sbogl8j5qatingu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074440.6279 4llemgp4f86sbogl8j5qatingu Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074440.6290 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074440.6305 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074440.6316 4llemgp4f86sbogl8j5qatingu Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617817382661786d897' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074440.6514 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074440.6531 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074440.6563 4llemgp4f86sbogl8j5qatingu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074440.6569 4llemgp4f86sbogl8j5qatingu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074440.6576 4llemgp4f86sbogl8j5qatingu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074440.6581 4llemgp4f86sbogl8j5qatingu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074440.6586 4llemgp4f86sbogl8j5qatingu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074440.6591 4llemgp4f86sbogl8j5qatingu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074440.6596 4llemgp4f86sbogl8j5qatingu Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617817382661786d897',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074440.6876 4llemgp4f86sbogl8j5qatingu Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074440.6896 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074440.6909 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074440.6928 4llemgp4f86sbogl8j5qatingu Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617817382661786d897',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',835,101621,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074440.7265 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.7274 4llemgp4f86sbogl8j5qatingu Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240411@074440.7336 4llemgp4f86sbogl8j5qatingu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.945.00.01'
20240411@074440.8108 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.8126 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074440.8155 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.8170 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074440.8176 4llemgp4f86sbogl8j5qatingu Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240411@074440.8189 4llemgp4f86sbogl8j5qatingu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074440.8200 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074440.8214 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074440.8239 4llemgp4f86sbogl8j5qatingu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617800335661786d8c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6617817382661786d897' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074440.8530 4llemgp4f86sbogl8j5qatingu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074440.8545 4llemgp4f86sbogl8j5qatingu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074440.8550 4llemgp4f86sbogl8j5qatingu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617800335661786d8c8','aut6617817382661786d897' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074440.8554 4llemgp4f86sbogl8j5qatingu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617817382661786d897','2402703','wait',39,'ari17112337378,753000005')
20240411@074440.8569 4llemgp4f86sbogl8j5qatingu Query : use flama_phc
20240411@074440.8573 4llemgp4f86sbogl8j5qatingu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074440.8583 4llemgp4f86sbogl8j5qatingu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1082';
20240411@074440.8602 4llemgp4f86sbogl8j5qatingu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1082';
20240411@074440.8618 4llemgp4f86sbogl8j5qatingu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1082';
20240411@074440.8633 4llemgp4f86sbogl8j5qatingu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1082';
20240411@074440.9036 6hvntdd703qnev9bn4ug3ekgao Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074440.9066 6hvntdd703qnev9bn4ug3ekgao Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074440.9087 6hvntdd703qnev9bn4ug3ekgao Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1083';
20240411@074440.9173 6hvntdd703qnev9bn4ug3ekgao Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1083';
20240411@074440.9190 6hvntdd703qnev9bn4ug3ekgao Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1083';
20240411@074440.9232 6hvntdd703qnev9bn4ug3ekgao Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1083';
20240411@074440.9271 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074440.9275 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074440.9310 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074440.9318 6hvntdd703qnev9bn4ug3ekgao Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20240411@074440.9392 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240411@074440.9431 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402705 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240411@074440.9889 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20240411@074440.9922 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402705 and bi.ref ='328.9316.00.1' and bi.lordem =2
20240411@074441.3600 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.3640 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074441.3980 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.4220 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074441.4330 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.4360 6hvntdd703qnev9bn4ug3ekgao Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074441.4660 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074441.5020 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.5050 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240411@074441.5360 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.5390 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074441.5710 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.5740 6hvntdd703qnev9bn4ug3ekgao Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074441.6070 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.6090 6hvntdd703qnev9bn4ug3ekgao Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - loja da ponte'
20240411@074441.6410 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.6440 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from td where ndoc = 39
20240411@074441.6730 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074441.7040 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074441.7390 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074441.7790 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074441.8130 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074441.8800 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074441.9180 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074441.9500 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074441.1070 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074441.1105 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074441.1140 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074441.1171 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617811621661786d917' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074441.1416 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074441.1457 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074441.1652 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074441.1683 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074441.1690 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074441.1695 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074441.1719 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074441.1724 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074441.1729 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617811621661786d917',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074441.2125 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074441.2167 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074441.2231 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074441.2312 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617811621661786d917',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',836,101621,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074441.2749 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.2778 6hvntdd703qnev9bn4ug3ekgao Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20240411@074441.2812 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20240411@074441.2825 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074441.2860 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074441.2927 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074441.2961 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074441.2965 6hvntdd703qnev9bn4ug3ekgao Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20240411@074441.2997 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074441.3028 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074441.3063 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074441.3129 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617846633661786d949',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617811621661786d917' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074441.3667 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074441.4423 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074441.4454 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617846633661786d949','aut6617811621661786d917' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074441.4460 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074441.4500 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074441.4607 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074441.4644 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074441.4648 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074441.4681 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074441.4719 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074441.4767 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617849219661786d972',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617811621661786d917' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074441.5155 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074441.5199 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074441.5203 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617849219661786d972','aut6617811621661786d917' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074441.5208 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.5231 6hvntdd703qnev9bn4ug3ekgao Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240411@074441.5242 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20240411@074441.5276 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074441.5310 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074441.5375 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074441.5391 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074441.5415 6hvntdd703qnev9bn4ug3ekgao Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2300691400a'
20240411@074441.5446 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074441.5458 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074441.5494 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074441.5560 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617804948661786d985',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617811621661786d917' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240411@074441.5960 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074441.6001 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074441.6006 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617804948661786d985','aut6617811621661786d917' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074441.6011 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074441.6048 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074441.6122 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074441.6160 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074441.6165 6hvntdd703qnev9bn4ug3ekgao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074441.6200 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074441.6236 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074441.6303 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617826691661786d997',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617811621661786d917' ,0,0 ,2,23.00,50000,?,?,?)
20240411@074441.6706 6hvntdd703qnev9bn4ug3ekgao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074441.6745 6hvntdd703qnev9bn4ug3ekgao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074441.6749 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617826691661786d997','aut6617811621661786d917' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074441.6754 6hvntdd703qnev9bn4ug3ekgao Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617811621661786d917','2402705','wait',39,'ari17112337378,753000005')
20240411@074441.6794 6hvntdd703qnev9bn4ug3ekgao Query : use flama_phc
20240411@074441.6818 6hvntdd703qnev9bn4ug3ekgao Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074441.6830 6hvntdd703qnev9bn4ug3ekgao Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1083';
20240411@074441.6891 6hvntdd703qnev9bn4ug3ekgao Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1083';
20240411@074441.6908 6hvntdd703qnev9bn4ug3ekgao Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1083';
20240411@074441.6944 6hvntdd703qnev9bn4ug3ekgao Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1083';
20240411@074441.7404 f4h176ec3l1qf0uhsciclevcma Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240411@074441.7444 f4h176ec3l1qf0uhsciclevcma Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240411@074441.7564 f4h176ec3l1qf0uhsciclevcma Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1084';
20240411@074441.7682 f4h176ec3l1qf0uhsciclevcma Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1084';
20240411@074441.7718 f4h176ec3l1qf0uhsciclevcma Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1084';
20240411@074441.7762 f4h176ec3l1qf0uhsciclevcma Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1084';
20240411@074441.7778 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.7806 f4h176ec3l1qf0uhsciclevcma Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@074441.7844 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.7848 f4h176ec3l1qf0uhsciclevcma Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20240411@074441.7918 f4h176ec3l1qf0uhsciclevcma Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20240411@074441.7949 f4h176ec3l1qf0uhsciclevcma Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2027 and bo.obrano = 2402706 and bi.ref ='328.9316.00.1' and bi.lordem =1
20240411@074441.8447 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.8485 f4h176ec3l1qf0uhsciclevcma Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240411@074441.8525 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.8550 f4h176ec3l1qf0uhsciclevcma Query : select top 1 1 valor from td where td.ndoc = 39
20240411@074441.8563 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.8586 f4h176ec3l1qf0uhsciclevcma Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@074441.8618 f4h176ec3l1qf0uhsciclevcma Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240411@074441.8656 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.8659 f4h176ec3l1qf0uhsciclevcma Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240411@074441.8693 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.8696 f4h176ec3l1qf0uhsciclevcma Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240411@074441.8730 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.8733 f4h176ec3l1qf0uhsciclevcma Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@074441.8776 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.8779 f4h176ec3l1qf0uhsciclevcma Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20240411@074441.8835 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074441.8838 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from td where ndoc = 39
20240411@074441.8849 f4h176ec3l1qf0uhsciclevcma Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240411@074441.8881 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074441.8917 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240411@074441.9016 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074441.9030 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240411@074441.9101 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074441.9133 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240411@074441.9166 f4h176ec3l1qf0uhsciclevcma Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074441.9311 f4h176ec3l1qf0uhsciclevcma Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240411@074441.9346 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240411@074441.9381 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240411@074441.9410 f4h176ec3l1qf0uhsciclevcma Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6617846174661786d9df' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240411@074441.9662 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240411@074441.9701 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240411@074441.9771 f4h176ec3l1qf0uhsciclevcma Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240411@074441.9776 f4h176ec3l1qf0uhsciclevcma Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240411@074441.9804 f4h176ec3l1qf0uhsciclevcma Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240411@074441.9809 f4h176ec3l1qf0uhsciclevcma Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240411@074441.9813 f4h176ec3l1qf0uhsciclevcma Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240411@074441.9839 f4h176ec3l1qf0uhsciclevcma Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240411@074441.9843 f4h176ec3l1qf0uhsciclevcma Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6617846174661786d9df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240411@074442.4070 f4h176ec3l1qf0uhsciclevcma Query : select top 1 fno valor from wsft039data order by fno desc
20240411@074442.7010 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240411@074442.7380 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240411@074442.7800 f4h176ec3l1qf0uhsciclevcma Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6617846174661786d9df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',837,101621,0,'2024-04-11',39,'euro',0,0,2024 ,'20240411','0814',?,?,?,?)
20240411@074442.1205 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074442.1230 f4h176ec3l1qf0uhsciclevcma Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240411@074442.1242 f4h176ec3l1qf0uhsciclevcma Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20240411@074442.1279 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074442.1314 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074442.1358 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074442.1394 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074442.1399 f4h176ec3l1qf0uhsciclevcma Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2300691400a'
20240411@074442.1430 f4h176ec3l1qf0uhsciclevcma Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074442.1465 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074442.1499 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074442.1553 f4h176ec3l1qf0uhsciclevcma Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6617859800661786da23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6617846174661786d9df' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240411@074442.1971 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074442.2014 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074442.2044 f4h176ec3l1qf0uhsciclevcma Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617859800661786da23','aut6617846174661786d9df' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074442.2050 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074442.2091 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240411@074442.2174 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074442.2214 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240411@074442.2219 f4h176ec3l1qf0uhsciclevcma Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@074442.2252 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240411@074442.2349 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240411@074442.2459 f4h176ec3l1qf0uhsciclevcma Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6617898048661786da36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6617846174661786d9df' ,0,0 ,2,23.00,20000,?,?,?)
20240411@074442.2949 f4h176ec3l1qf0uhsciclevcma Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240411@074442.3007 f4h176ec3l1qf0uhsciclevcma Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240411@074442.3044 f4h176ec3l1qf0uhsciclevcma Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617898048661786da36','aut6617846174661786d9df' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240411@074442.3050 f4h176ec3l1qf0uhsciclevcma Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6617846174661786d9df','2402706','wait',39,'ari17112337378,753000005')
20240411@074442.3096 f4h176ec3l1qf0uhsciclevcma Query : use flama_phc
20240411@074442.3100 f4h176ec3l1qf0uhsciclevcma Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240411@074442.3139 f4h176ec3l1qf0uhsciclevcma Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1084';
20240411@074442.3200 f4h176ec3l1qf0uhsciclevcma Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1084';
20240411@074442.3217 f4h176ec3l1qf0uhsciclevcma Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1084';
20240411@074442.3291 f4h176ec3l1qf0uhsciclevcma Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1084';

20240411@105838.5129 u7uotb1bdm7rqem4hcls7ln28j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1085';
20240411@105838.5158 u7uotb1bdm7rqem4hcls7ln28j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1085';
20240411@105838.5173 u7uotb1bdm7rqem4hcls7ln28j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1085';
20240411@105838.5187 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.5190 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@105838.5237 u7uotb1bdm7rqem4hcls7ln28j Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20240411@105838.5317 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1832.00.2'
20240411@105838.5424 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1832.00.2'
20240411@105838.5434 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1831.00.2'
20240411@105838.5541 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1831.00.2'
20240411@105838.5551 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.5555 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 1 valor from ts where ts.ndos = 5
20240411@105838.5628 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.5631 u7uotb1bdm7rqem4hcls7ln28j Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@105838.5674 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240411@105838.5806 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.5810 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240411@105838.5893 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.5896 u7uotb1bdm7rqem4hcls7ln28j Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@105838.5938 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.5941 u7uotb1bdm7rqem4hcls7ln28j Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20240411@105838.5955 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.5957 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from ts where ndos = 5
20240411@105838.6024 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240411@105838.6366 u7uotb1bdm7rqem4hcls7ln28j Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20240411@105838.6667 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240411@105838.6960 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240411@105838.7240 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20240411@105838.7369 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240411@105838.7480 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240411@105838.7608 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.7612 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240411@105838.7717 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240411@105838.7724 u7uotb1bdm7rqem4hcls7ln28j Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617b522796617b44eb9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240411@105838.7852 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240411@105838.7860 u7uotb1bdm7rqem4hcls7ln28j Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut6617b522796617b44eb9','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240411','11:28',?,?)
20240411@105838.8250 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240411@105838.8266 u7uotb1bdm7rqem4hcls7ln28j Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20240411@105838.8534 u7uotb1bdm7rqem4hcls7ln28j Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut6617b522796617b44eb9','trf entre armazéns a','2024-04-11',5,226,?,?,?,?,?,?,?,?,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',?)
20240411@105838.9387 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105838.9392 u7uotb1bdm7rqem4hcls7ln28j Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240411@105838.9500 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240411@105838.9631 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240411@105838.9915 u7uotb1bdm7rqem4hcls7ln28j Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240411@105838.9965 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240411@105839.2290 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240411@105839.2420 u7uotb1bdm7rqem4hcls7ln28j Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240411@105839.2540 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240411@105839.2590 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@105839.2980 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240411@105839.3090 u7uotb1bdm7rqem4hcls7ln28j Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20240411@105839.3400 u7uotb1bdm7rqem4hcls7ln28j Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6617b773046617b44f07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6617b522796617b44eb9'
20240411@105839.8400 u7uotb1bdm7rqem4hcls7ln28j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240411@105839.8480 u7uotb1bdm7rqem4hcls7ln28j Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6617b773046617b44f07','aut6617b522796617b44eb9',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6617b522796617b44eb9'
20240411@105839.1075 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105839.1079 u7uotb1bdm7rqem4hcls7ln28j Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240411@105839.1089 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105839.1092 u7uotb1bdm7rqem4hcls7ln28j Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240411@105839.1102 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105839.1105 u7uotb1bdm7rqem4hcls7ln28j Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240411@105839.1118 u7uotb1bdm7rqem4hcls7ln28j Query : use flama_phc
20240411@105839.1121 u7uotb1bdm7rqem4hcls7ln28j Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20240411@105839.1174 u7uotb1bdm7rqem4hcls7ln28j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1085';
20240411@105839.1192 u7uotb1bdm7rqem4hcls7ln28j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1085';

20240411@112916.3398 pomgq8erlghn6lm06phq39002k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1086';
20240411@112916.3416 pomgq8erlghn6lm06phq39002k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1086';
20240411@112916.3430 pomgq8erlghn6lm06phq39002k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1086';
20240411@112916.3444 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.3447 pomgq8erlghn6lm06phq39002k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240411@112916.3460 pomgq8erlghn6lm06phq39002k Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20240411@112916.3501 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.421.00.04'
20240411@112916.3608 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1685.00.1'
20240411@112916.3706 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1803.00.1'
20240411@112916.3803 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1805.00.1'
20240411@112916.3900 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1816.00.1'
20240411@112916.3997 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1824.00.1'
20240411@112916.4100 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1824.00.1'
20240411@112916.4111 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1832.00.2'
20240411@112916.4122 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1833.00.2'
20240411@112916.4261 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1834.00.1'
20240411@112916.4373 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1889.00.1'
20240411@112916.4473 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2231.00.1'
20240411@112916.4575 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4161.00.1'
20240411@112916.4677 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4906.00.1'
20240411@112916.4808 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4990.00.1'
20240411@112916.4923 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.645.00.01'
20240411@112916.5064 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.658.00.01'
20240411@112916.5181 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.966.00.01'
20240411@112916.5278 pomgq8erlghn6lm06phq39002k Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8253.00.1'
20240411@112916.5377 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.5380 pomgq8erlghn6lm06phq39002k Query : select top 1 1 valor from ts where ts.ndos = 5
20240411@112916.5392 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.5395 pomgq8erlghn6lm06phq39002k Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240411@112916.5407 pomgq8erlghn6lm06phq39002k Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240411@112916.5423 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.5466 pomgq8erlghn6lm06phq39002k Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240411@112916.5479 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.5482 pomgq8erlghn6lm06phq39002k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240411@112916.5494 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.5497 pomgq8erlghn6lm06phq39002k Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20240411@112916.5509 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.5512 pomgq8erlghn6lm06phq39002k Query : select 1 valor from ts where ndos = 5
20240411@112916.5522 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240411@112916.5536 pomgq8erlghn6lm06phq39002k Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20240411@112916.5546 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240411@112916.5552 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240411@112916.5560 pomgq8erlghn6lm06phq39002k Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20240411@112916.5575 pomgq8erlghn6lm06phq39002k Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240411@112916.5606 pomgq8erlghn6lm06phq39002k Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240411@112916.5611 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.5614 pomgq8erlghn6lm06phq39002k Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240411@112916.5676 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240411@112916.5683 pomgq8erlghn6lm06phq39002k Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6617b299096617bb7c88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240411@112916.5697 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240411@112916.5705 pomgq8erlghn6lm06phq39002k Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut6617b299096617bb7c88','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240411','11:59',?,?)
20240411@112916.5917 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240411@112916.5933 pomgq8erlghn6lm06phq39002k Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20240411@112916.5942 pomgq8erlghn6lm06phq39002k Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut6617b299096617bb7c88','trf entre armazéns a','2024-04-11',5,226,?,?,?,?,?,?,?,?,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',?)
20240411@112916.6444 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.6448 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240411@112916.6461 pomgq8erlghn6lm06phq39002k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240411@112916.6649 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240411@112916.6667 pomgq8erlghn6lm06phq39002k Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240411@112916.6725 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240411@112916.6733 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240411@112916.6746 pomgq8erlghn6lm06phq39002k Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240411@112916.6758 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240411@112916.6764 pomgq8erlghn6lm06phq39002k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240411@112916.6773 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240411@112916.6785 pomgq8erlghn6lm06phq39002k Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20240411@112916.6800 pomgq8erlghn6lm06phq39002k Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6617b803776617bb7ca5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6617b299096617bb7c88'
20240411@112916.7158 pomgq8erlghn6lm06phq39002k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240411@112916.7165 pomgq8erlghn6lm06phq39002k Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6617b803776617bb7ca5','aut6617b299096617bb7c88',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6617b299096617bb7c88'
20240411@112916.7412 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7449 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20240411@112916.7512 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7515 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240411@112916.7525 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7528 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240411@112916.7538 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7541 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240411@112916.7551 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7554 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240411@112916.7564 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7567 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240411@112916.7576 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7579 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240411@112916.7631 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7633 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240411@112916.7644 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7646 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240411@112916.7656 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7658 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20240411@112916.7668 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7671 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.2231.00.1'
20240411@112916.7680 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7683 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.4161.00.1'
20240411@112916.7693 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7695 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240411@112916.7705 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7708 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240411@112916.7719 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7723 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20240411@112916.7733 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7735 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20240411@112916.7746 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7749 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20240411@112916.7760 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.7763 pomgq8erlghn6lm06phq39002k Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20240411@112916.8862 pomgq8erlghn6lm06phq39002k Query : use flama_phc
20240411@112916.8866 pomgq8erlghn6lm06phq39002k Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20240411@112916.8876 pomgq8erlghn6lm06phq39002k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1086';
20240411@112916.8894 pomgq8erlghn6lm06phq39002k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1086';

20240412@080327.1487 hoit765ugahmuu45mpb9mt4kir Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1087';
20240412@080327.1523 hoit765ugahmuu45mpb9mt4kir Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1087';
20240412@080327.1538 hoit765ugahmuu45mpb9mt4kir Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1087';
20240412@080327.1554 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.1558 hoit765ugahmuu45mpb9mt4kir Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240412@080327.1612 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.1616 hoit765ugahmuu45mpb9mt4kir Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240412@080327.1710 hoit765ugahmuu45mpb9mt4kir Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240412@080327.1875 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402661 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240412@080327.2218 hoit765ugahmuu45mpb9mt4kir Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240412@080327.2230 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402661 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240412@080327.2236 hoit765ugahmuu45mpb9mt4kir Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240412@080327.2246 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402661 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240412@080327.2251 hoit765ugahmuu45mpb9mt4kir Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240412@080327.2261 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402661 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240412@080327.2267 hoit765ugahmuu45mpb9mt4kir Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240412@080327.2277 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402661 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240412@080327.2283 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.2287 hoit765ugahmuu45mpb9mt4kir Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240412@080327.2482 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.2486 hoit765ugahmuu45mpb9mt4kir Query : select top 1 1 valor from td where td.ndoc = 39
20240412@080327.2620 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.2624 hoit765ugahmuu45mpb9mt4kir Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240412@080327.2672 hoit765ugahmuu45mpb9mt4kir Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240412@080327.2826 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.2831 hoit765ugahmuu45mpb9mt4kir Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240412@080327.2954 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.2957 hoit765ugahmuu45mpb9mt4kir Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240412@080327.3039 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.3043 hoit765ugahmuu45mpb9mt4kir Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240412@080327.3095 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.3099 hoit765ugahmuu45mpb9mt4kir Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240412@080327.3114 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.3117 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from td where ndoc = 39
20240412@080327.3198 hoit765ugahmuu45mpb9mt4kir Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240412@080327.3283 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080327.3659 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240412@080327.3715 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080327.4050 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240412@080327.4144 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080327.4479 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240412@080327.4550 hoit765ugahmuu45mpb9mt4kir Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080327.4923 hoit765ugahmuu45mpb9mt4kir Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080327.5027 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080327.5041 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240412@080327.5097 hoit765ugahmuu45mpb9mt4kir Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6618d638696618dcbf6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240412@080327.5987 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080327.6006 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240412@080327.6064 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240412@080327.6189 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240412@080327.6281 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240412@080327.6359 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240412@080327.6461 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240412@080327.6554 hoit765ugahmuu45mpb9mt4kir Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240412@080327.7254 hoit765ugahmuu45mpb9mt4kir Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6618d638696618dcbf6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240412@080327.8471 hoit765ugahmuu45mpb9mt4kir Query : select top 1 fno valor from wsft039data order by fno desc
20240412@080327.8568 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080327.8583 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240412@080327.8623 hoit765ugahmuu45mpb9mt4kir Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6618d638696618dcbf6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',838,100810,0,'2024-04-12',39,'euro',0,0,2024 ,'20240412','0833',?,?,?,?)
20240412@080327.9869 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080327.9875 hoit765ugahmuu45mpb9mt4kir Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240412@080327.9997 hoit765ugahmuu45mpb9mt4kir Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240412@080328.1880 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.6180 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080328.6820 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.1015 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080328.1041 hoit765ugahmuu45mpb9mt4kir Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240412@080328.1109 hoit765ugahmuu45mpb9mt4kir Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080328.1152 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.1168 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080328.1218 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d845886618dcc01c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut6618d638696618dcbf6f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240412@080328.2175 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.2192 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080328.2220 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d845886618dcc01c','aut6618d638696618dcbf6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080328.2340 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080328.2345 hoit765ugahmuu45mpb9mt4kir Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240412@080328.2357 hoit765ugahmuu45mpb9mt4kir Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240412@080328.2369 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.2383 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080328.2407 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.2420 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080328.2425 hoit765ugahmuu45mpb9mt4kir Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240412@080328.2436 hoit765ugahmuu45mpb9mt4kir Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080328.2446 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.2459 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080328.2484 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d818426618dcc03b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6618d638696618dcbf6f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240412@080328.2780 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.2797 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080328.2803 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d818426618dcc03b','aut6618d638696618dcbf6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080328.2809 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080328.2812 hoit765ugahmuu45mpb9mt4kir Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240412@080328.2824 hoit765ugahmuu45mpb9mt4kir Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240412@080328.2837 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.2851 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080328.2907 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.2932 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080328.2944 hoit765ugahmuu45mpb9mt4kir Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240412@080328.2956 hoit765ugahmuu45mpb9mt4kir Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080328.2972 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.3110 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080328.3219 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d099926618dcc048',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6618d638696618dcbf6f' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240412@080328.3604 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.3626 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080328.3631 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d099926618dcc048','aut6618d638696618dcbf6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080328.3637 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080328.3640 hoit765ugahmuu45mpb9mt4kir Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240412@080328.3651 hoit765ugahmuu45mpb9mt4kir Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240412@080328.3663 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.3678 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080328.3703 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.3717 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080328.3722 hoit765ugahmuu45mpb9mt4kir Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240412@080328.3756 hoit765ugahmuu45mpb9mt4kir Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080328.3769 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.3784 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080328.3825 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d653646618dcc05c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6618d638696618dcbf6f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240412@080328.4249 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.4268 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080328.4273 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d653646618dcc05c','aut6618d638696618dcbf6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080328.4278 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080328.4282 hoit765ugahmuu45mpb9mt4kir Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240412@080328.4295 hoit765ugahmuu45mpb9mt4kir Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240412@080328.4309 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.4327 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080328.4356 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.4398 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080328.4404 hoit765ugahmuu45mpb9mt4kir Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240412@080328.4415 hoit765ugahmuu45mpb9mt4kir Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080328.4428 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.4443 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080328.4469 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d816386618dcc06c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6618d638696618dcbf6f' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240412@080328.4893 hoit765ugahmuu45mpb9mt4kir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.4950 hoit765ugahmuu45mpb9mt4kir Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080328.4956 hoit765ugahmuu45mpb9mt4kir Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d816386618dcc06c','aut6618d638696618dcbf6f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080328.4962 hoit765ugahmuu45mpb9mt4kir Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6618d638696618dcbf6f','2402661','wait',39,'ari17112337378,753000005')
20240412@080328.5107 hoit765ugahmuu45mpb9mt4kir Query : use flama_phc
20240412@080328.5111 hoit765ugahmuu45mpb9mt4kir Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240412@080328.5145 hoit765ugahmuu45mpb9mt4kir Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1087';
20240412@080328.5167 hoit765ugahmuu45mpb9mt4kir Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1087';
20240412@080328.5183 hoit765ugahmuu45mpb9mt4kir Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1087';
20240412@080328.5199 hoit765ugahmuu45mpb9mt4kir Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1087';
20240412@080328.5771 86p5im0kahu81d3gd2pid2fiib Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240412@080328.5785 86p5im0kahu81d3gd2pid2fiib Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240412@080328.5827 86p5im0kahu81d3gd2pid2fiib Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1088';
20240412@080328.5873 86p5im0kahu81d3gd2pid2fiib Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1088';
20240412@080328.5890 86p5im0kahu81d3gd2pid2fiib Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1088';
20240412@080328.5923 86p5im0kahu81d3gd2pid2fiib Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1088';
20240412@080328.5938 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.5942 86p5im0kahu81d3gd2pid2fiib Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240412@080328.5956 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.5959 86p5im0kahu81d3gd2pid2fiib Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240412@080328.6002 86p5im0kahu81d3gd2pid2fiib Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240412@080328.6177 86p5im0kahu81d3gd2pid2fiib Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402662 and bi.ref ='324.2907.00.1' and bi.lordem =1
20240412@080328.6516 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.6520 86p5im0kahu81d3gd2pid2fiib Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240412@080328.6532 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.6535 86p5im0kahu81d3gd2pid2fiib Query : select top 1 1 valor from td where td.ndoc = 39
20240412@080328.6545 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.6548 86p5im0kahu81d3gd2pid2fiib Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240412@080328.6558 86p5im0kahu81d3gd2pid2fiib Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240412@080328.6573 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.6576 86p5im0kahu81d3gd2pid2fiib Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240412@080328.6585 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.6588 86p5im0kahu81d3gd2pid2fiib Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240412@080328.6598 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.6601 86p5im0kahu81d3gd2pid2fiib Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240412@080328.6610 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.6613 86p5im0kahu81d3gd2pid2fiib Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240412@080328.6630 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.6632 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from td where ndoc = 39
20240412@080328.6643 86p5im0kahu81d3gd2pid2fiib Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240412@080328.6655 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080328.6674 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240412@080328.6692 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080328.6705 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240412@080328.6731 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080328.6744 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240412@080328.6754 86p5im0kahu81d3gd2pid2fiib Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080328.6846 86p5im0kahu81d3gd2pid2fiib Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080328.6855 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080328.6890 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240412@080328.6900 86p5im0kahu81d3gd2pid2fiib Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6618d350266618dcc0a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240412@080328.7093 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080328.7107 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240412@080328.7133 86p5im0kahu81d3gd2pid2fiib Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240412@080328.7138 86p5im0kahu81d3gd2pid2fiib Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240412@080328.7143 86p5im0kahu81d3gd2pid2fiib Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240412@080328.7148 86p5im0kahu81d3gd2pid2fiib Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240412@080328.7153 86p5im0kahu81d3gd2pid2fiib Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240412@080328.7159 86p5im0kahu81d3gd2pid2fiib Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240412@080328.7165 86p5im0kahu81d3gd2pid2fiib Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6618d350266618dcc0a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240412@080328.7473 86p5im0kahu81d3gd2pid2fiib Query : select top 1 fno valor from wsft039data order by fno desc
20240412@080328.7508 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080328.7523 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240412@080328.7540 86p5im0kahu81d3gd2pid2fiib Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6618d350266618dcc0a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',839,100810,0,'2024-04-12',39,'euro',0,0,2024 ,'20240412','0833',?,?,?,?)
20240412@080328.7904 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.7909 86p5im0kahu81d3gd2pid2fiib Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240412@080328.7924 86p5im0kahu81d3gd2pid2fiib Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20240412@080328.8094 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.8109 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080328.8136 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.8149 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080328.8154 86p5im0kahu81d3gd2pid2fiib Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2200799200a'
20240412@080328.8173 86p5im0kahu81d3gd2pid2fiib Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080328.8183 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080328.8197 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080328.8220 86p5im0kahu81d3gd2pid2fiib Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d412006618dcc0c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6618d350266618dcc0a4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240412@080328.8579 86p5im0kahu81d3gd2pid2fiib Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080328.8597 86p5im0kahu81d3gd2pid2fiib Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080328.8601 86p5im0kahu81d3gd2pid2fiib Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d412006618dcc0c7','aut6618d350266618dcc0a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080328.8606 86p5im0kahu81d3gd2pid2fiib Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6618d350266618dcc0a4','2402662','wait',39,'ari17112337378,753000005')
20240412@080328.8623 86p5im0kahu81d3gd2pid2fiib Query : use flama_phc
20240412@080328.8626 86p5im0kahu81d3gd2pid2fiib Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240412@080328.8637 86p5im0kahu81d3gd2pid2fiib Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1088';
20240412@080328.8680 86p5im0kahu81d3gd2pid2fiib Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1088';
20240412@080328.8696 86p5im0kahu81d3gd2pid2fiib Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1088';
20240412@080328.8710 86p5im0kahu81d3gd2pid2fiib Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1088';
20240412@080328.9139 ftm2loaob1if3c2h02t0337uub Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240412@080328.9159 ftm2loaob1if3c2h02t0337uub Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240412@080328.9202 ftm2loaob1if3c2h02t0337uub Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1089';
20240412@080328.9278 ftm2loaob1if3c2h02t0337uub Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1089';
20240412@080328.9296 ftm2loaob1if3c2h02t0337uub Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1089';
20240412@080328.9312 ftm2loaob1if3c2h02t0337uub Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1089';
20240412@080328.9326 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080328.9330 ftm2loaob1if3c2h02t0337uub Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240412@080328.9344 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080328.9347 ftm2loaob1if3c2h02t0337uub Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240412@080328.9434 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080328.9634 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080328.9982 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080328.9994 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080328.9999 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.8000 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.1300 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.2400 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.2900 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.3900 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.4500 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.5400 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.5900 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.6900 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.7400 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.8300 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.8800 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.9600 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.1010 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.1100 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.1160 ftm2loaob1if3c2h02t0337uub Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240412@080329.1250 ftm2loaob1if3c2h02t0337uub Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402663 and bi.ref ='324.692.00.01' and bi.lordem =1
20240412@080329.1300 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.1330 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240412@080329.1450 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.1480 ftm2loaob1if3c2h02t0337uub Query : select top 1 1 valor from td where td.ndoc = 39
20240412@080329.1570 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.1600 ftm2loaob1if3c2h02t0337uub Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240412@080329.1730 ftm2loaob1if3c2h02t0337uub Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240412@080329.1880 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.1910 ftm2loaob1if3c2h02t0337uub Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240412@080329.2010 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.2040 ftm2loaob1if3c2h02t0337uub Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240412@080329.2140 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.2170 ftm2loaob1if3c2h02t0337uub Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240412@080329.2280 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.2300 ftm2loaob1if3c2h02t0337uub Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240412@080329.2410 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.2440 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from td where ndoc = 39
20240412@080329.2530 ftm2loaob1if3c2h02t0337uub Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240412@080329.2940 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080329.3070 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240412@080329.3230 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080329.3360 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240412@080329.3590 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080329.3730 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240412@080329.3820 ftm2loaob1if3c2h02t0337uub Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080329.4770 ftm2loaob1if3c2h02t0337uub Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080329.4870 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080329.5010 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240412@080329.5380 ftm2loaob1if3c2h02t0337uub Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240412@080329.7450 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080329.8050 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240412@080329.8650 ftm2loaob1if3c2h02t0337uub Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240412@080329.8740 ftm2loaob1if3c2h02t0337uub Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240412@080329.9060 ftm2loaob1if3c2h02t0337uub Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240412@080329.9130 ftm2loaob1if3c2h02t0337uub Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240412@080329.9190 ftm2loaob1if3c2h02t0337uub Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240412@080329.9250 ftm2loaob1if3c2h02t0337uub Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240412@080329.9310 ftm2loaob1if3c2h02t0337uub Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6618d154486618dcc109',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240412@080329.1291 ftm2loaob1if3c2h02t0337uub Query : select top 1 fno valor from wsft039data order by fno desc
20240412@080329.1345 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080329.1382 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240412@080329.1449 ftm2loaob1if3c2h02t0337uub Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6618d154486618dcc109',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',840,100810,0,'2024-04-12',39,'euro',0,0,2024 ,'20240412','0833',?,?,?,?)
20240412@080329.1884 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.1898 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080329.1925 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080329.2169 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.2192 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.2228 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.2248 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.2268 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301203100a'
20240412@080329.2300 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.2317 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.2366 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.2435 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d177276618dcc138',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240412@080329.2760 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.2778 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.2783 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d177276618dcc138','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.2819 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.2833 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.2857 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.2872 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.2876 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.2894 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.2908 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.2938 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d890016618dcc146',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,20000,?,?,?)
20240412@080329.3253 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.3271 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.3275 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d890016618dcc146','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.3282 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.3286 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080329.3297 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080329.3307 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.3324 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.3346 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.3361 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.3367 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301201100a'
20240412@080329.3379 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.3388 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.3404 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.3426 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d152546618dcc152',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240412@080329.3719 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.3735 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.3739 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d152546618dcc152','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.3745 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.3758 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.3784 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.3796 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.3800 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.3809 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.3824 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.3849 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d520486618dcc15d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,50000,?,?,?)
20240412@080329.4144 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.4165 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.4170 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d520486618dcc15d','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.4175 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.4178 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080329.4188 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080329.4201 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.4214 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.4244 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.4259 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.4264 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301203100a'
20240412@080329.4274 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.4283 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.4296 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.4320 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d997756618dcc168',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240412@080329.4616 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.4637 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.4642 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d997756618dcc168','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.4647 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.4660 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.4683 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.4696 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.4700 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.4709 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.4723 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.4745 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d183976618dcc172',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,80000,?,?,?)
20240412@080329.5068 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.5083 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.5088 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d183976618dcc172','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.5093 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.5096 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080329.5109 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080329.5122 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.5135 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.5161 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.5174 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.5179 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301203100a'
20240412@080329.5188 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.5200 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.5214 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.5240 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d347316618dcc17e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240412@080329.5532 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.5548 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.5553 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d347316618dcc17e','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.5558 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.5573 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.5597 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.5610 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.5614 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.5624 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.5638 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.5664 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d549666618dcc189',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,110000,?,?,?)
20240412@080329.5964 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.5985 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.5990 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d549666618dcc189','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.5996 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.6000 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080329.6011 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080329.6023 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.6042 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.6066 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.6081 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.6085 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301203100a'
20240412@080329.6095 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.6104 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.6119 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.6144 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d732476618dcc195',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240412@080329.6448 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.6466 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.6472 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d732476618dcc195','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.6478 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.6495 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.6519 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.6536 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.6540 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.6549 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.6562 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.6586 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d601646618dcc19f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,140000,?,?,?)
20240412@080329.6997 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.7014 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.7020 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d601646618dcc19f','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.7025 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.7028 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080329.7042 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080329.7055 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.7070 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.7163 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.7180 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.7184 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301203100a'
20240412@080329.7193 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.7203 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.7218 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.7281 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d037446618dcc1af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240412@080329.7594 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.7609 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.7613 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d037446618dcc1af','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.7619 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.7632 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.7653 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.7668 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.7672 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.7682 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.7695 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.7722 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d130666618dcc1bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,170000,?,?,?)
20240412@080329.8074 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.8090 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.8094 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d130666618dcc1bb','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.8100 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.8103 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080329.8215 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080329.8231 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.8247 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.8285 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.8300 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.8305 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301203100a'
20240412@080329.8317 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.8328 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.8343 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.8367 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d795396618dcc1cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240412@080329.8696 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.8713 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.8718 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d795396618dcc1cb','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.8723 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.8763 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.8791 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.8846 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.8851 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.8862 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.8876 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.8900 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d233736618dcc1d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,200000,?,?,?)
20240412@080329.9526 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.9547 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080329.9553 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d233736618dcc1d8','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080329.9559 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080329.9563 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080329.9578 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080329.9591 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.9606 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080329.9636 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080329.9651 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080329.9657 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301203100a'
20240412@080329.9669 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080329.9682 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080329.9698 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080329.9726 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d768746618dcc1ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240412@080330.6500 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.1080 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080330.1130 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d768746618dcc1ec','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080330.1190 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.1330 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080330.1560 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.1960 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080330.2010 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080330.2100 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.2240 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080330.2460 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d736866618dcc205',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,230000,?,?,?)
20240412@080330.5830 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.6050 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080330.6110 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d736866618dcc205','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080330.6200 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080330.6560 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080330.6690 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080330.6810 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.7130 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080330.7570 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.7730 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080330.7770 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301201100a'
20240412@080330.7890 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080330.8000 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.8130 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080330.1604 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d986826618dcc213',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240412@080330.2286 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.2747 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080330.2767 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d986826618dcc213','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080330.2773 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.2788 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080330.2811 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.2826 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080330.2840 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080330.2856 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.2874 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080330.3163 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d398216618dcc245',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,260000,?,?,?)
20240412@080330.3491 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.3529 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080330.3533 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d398216618dcc245','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080330.3538 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080330.3542 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080330.3554 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080330.3569 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.3607 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080330.3636 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.3651 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080330.3655 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301201100a'
20240412@080330.3665 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080330.3675 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.3690 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080330.3738 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d209576618dcc259',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20240412@080330.4059 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.4076 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080330.4081 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d209576618dcc259','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080330.4086 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.4136 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080330.4162 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.4180 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080330.4184 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080330.4195 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.4208 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080330.4234 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d066706618dcc266',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,290000,?,?,?)
20240412@080330.4563 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.4582 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080330.4586 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d066706618dcc266','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080330.4591 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080330.4594 ftm2loaob1if3c2h02t0337uub Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240412@080330.4604 ftm2loaob1if3c2h02t0337uub Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240412@080330.4614 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.4654 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080330.4687 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.4701 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080330.4705 ftm2loaob1if3c2h02t0337uub Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2301201100a'
20240412@080330.4715 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080330.4725 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.4737 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080330.4760 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d827576618dcc273',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20240412@080330.5082 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.5099 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080330.5103 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d827576618dcc273','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080330.5109 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.5122 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080330.5145 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.5157 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080330.5161 ftm2loaob1if3c2h02t0337uub Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080330.5200 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080330.5212 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080330.5236 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6618d766736618dcc27e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6618d154486618dcc109' ,0,0 ,2,23.00,320000,?,?,?)
20240412@080330.5533 ftm2loaob1if3c2h02t0337uub Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080330.5571 ftm2loaob1if3c2h02t0337uub Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080330.5576 ftm2loaob1if3c2h02t0337uub Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d766736618dcc27e','aut6618d154486618dcc109' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080330.5581 ftm2loaob1if3c2h02t0337uub Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6618d154486618dcc109','2402663','wait',39,'ari17112337378,753000005')
20240412@080330.5599 ftm2loaob1if3c2h02t0337uub Query : use flama_phc
20240412@080330.5602 ftm2loaob1if3c2h02t0337uub Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240412@080330.5613 ftm2loaob1if3c2h02t0337uub Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1089';
20240412@080330.5634 ftm2loaob1if3c2h02t0337uub Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1089';
20240412@080330.5653 ftm2loaob1if3c2h02t0337uub Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1089';
20240412@080330.5668 ftm2loaob1if3c2h02t0337uub Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1089';
20240412@080330.6323 08ihke1050munug2ei22rln00o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240412@080330.6336 08ihke1050munug2ei22rln00o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240412@080330.6373 08ihke1050munug2ei22rln00o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1090';
20240412@080330.6431 08ihke1050munug2ei22rln00o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1090';
20240412@080330.6449 08ihke1050munug2ei22rln00o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1090';
20240412@080330.6463 08ihke1050munug2ei22rln00o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1090';
20240412@080330.6477 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.6480 08ihke1050munug2ei22rln00o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240412@080330.6493 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.6496 08ihke1050munug2ei22rln00o Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240412@080330.6545 08ihke1050munug2ei22rln00o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240412@080330.6751 08ihke1050munug2ei22rln00o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402664 and bi.ref ='324.736.00.01' and bi.lordem =1
20240412@080330.7138 08ihke1050munug2ei22rln00o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240412@080330.7151 08ihke1050munug2ei22rln00o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402664 and bi.ref ='324.736.00.01' and bi.lordem =1
20240412@080330.7156 08ihke1050munug2ei22rln00o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240412@080330.7167 08ihke1050munug2ei22rln00o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402664 and bi.ref ='324.736.00.01' and bi.lordem =1
20240412@080330.7172 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.7175 08ihke1050munug2ei22rln00o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240412@080330.7187 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.7190 08ihke1050munug2ei22rln00o Query : select top 1 1 valor from td where td.ndoc = 39
20240412@080330.7200 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.7204 08ihke1050munug2ei22rln00o Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240412@080330.7214 08ihke1050munug2ei22rln00o Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240412@080330.7228 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.7236 08ihke1050munug2ei22rln00o Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240412@080330.7246 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.7249 08ihke1050munug2ei22rln00o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240412@080330.7259 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.7262 08ihke1050munug2ei22rln00o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240412@080330.7272 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.7275 08ihke1050munug2ei22rln00o Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240412@080330.7285 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080330.7311 08ihke1050munug2ei22rln00o Query : select 1 valor from td where ndoc = 39
20240412@080330.7323 08ihke1050munug2ei22rln00o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240412@080330.7334 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080330.7348 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240412@080330.7365 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080330.7390 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240412@080330.7414 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080330.7427 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240412@080330.7437 08ihke1050munug2ei22rln00o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080330.7532 08ihke1050munug2ei22rln00o Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080330.7541 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080330.7554 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240412@080330.7595 08ihke1050munug2ei22rln00o Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6618d446086618dcc2b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240412@080330.7929 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080330.9632 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240412@080331.1600 08ihke1050munug2ei22rln00o Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240412@080331.2200 08ihke1050munug2ei22rln00o Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240412@080331.2700 08ihke1050munug2ei22rln00o Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240412@080331.3200 08ihke1050munug2ei22rln00o Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240412@080331.3600 08ihke1050munug2ei22rln00o Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240412@080331.4100 08ihke1050munug2ei22rln00o Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240412@080331.4500 08ihke1050munug2ei22rln00o Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6618d446086618dcc2b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240412@080331.3330 08ihke1050munug2ei22rln00o Query : select top 1 fno valor from wsft039data order by fno desc
20240412@080331.3680 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080331.3810 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240412@080331.3990 08ihke1050munug2ei22rln00o Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6618d446086618dcc2b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',841,100810,0,'2024-04-12',39,'euro',0,0,2024 ,'20240412','0833',?,?,?,?)
20240412@080331.7200 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080331.7450 08ihke1050munug2ei22rln00o Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240412@080331.7580 08ihke1050munug2ei22rln00o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240412@080331.9490 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080331.9660 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080331.9920 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080331.1004 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080331.1008 08ihke1050munug2ei22rln00o Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2100297200a'
20240412@080331.1030 08ihke1050munug2ei22rln00o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080331.1039 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080331.1052 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080331.1102 08ihke1050munug2ei22rln00o Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d787236618dcc319',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut6618d446086618dcc2b5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240412@080331.1397 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080331.1412 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080331.1417 08ihke1050munug2ei22rln00o Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d787236618dcc319','aut6618d446086618dcc2b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080331.1421 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080331.1424 08ihke1050munug2ei22rln00o Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240412@080331.1434 08ihke1050munug2ei22rln00o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240412@080331.1445 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080331.1459 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080331.1485 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080331.1498 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080331.1502 08ihke1050munug2ei22rln00o Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2100297200a'
20240412@080331.1512 08ihke1050munug2ei22rln00o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080331.1523 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080331.1537 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080331.1561 08ihke1050munug2ei22rln00o Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d964976618dcc325',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut6618d446086618dcc2b5' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240412@080331.1870 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080331.1885 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080331.1889 08ihke1050munug2ei22rln00o Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d964976618dcc325','aut6618d446086618dcc2b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080331.1894 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080331.1897 08ihke1050munug2ei22rln00o Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240412@080331.1908 08ihke1050munug2ei22rln00o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240412@080331.1943 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080331.1957 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080331.1983 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080331.1995 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080331.2001 08ihke1050munug2ei22rln00o Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2100297200a'
20240412@080331.2036 08ihke1050munug2ei22rln00o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080331.2047 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080331.2060 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080331.2085 08ihke1050munug2ei22rln00o Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d852866618dcc331',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100.000 ,'aut6618d446086618dcc2b5' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240412@080331.2374 08ihke1050munug2ei22rln00o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080331.2412 08ihke1050munug2ei22rln00o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080331.2417 08ihke1050munug2ei22rln00o Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d852866618dcc331','aut6618d446086618dcc2b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080331.2422 08ihke1050munug2ei22rln00o Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6618d446086618dcc2b5','2402664','wait',39,'ari17112337378,753000005')
20240412@080331.2438 08ihke1050munug2ei22rln00o Query : use flama_phc
20240412@080331.2441 08ihke1050munug2ei22rln00o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240412@080331.2454 08ihke1050munug2ei22rln00o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1090';
20240412@080331.2473 08ihke1050munug2ei22rln00o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1090';
20240412@080331.2489 08ihke1050munug2ei22rln00o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1090';
20240412@080331.2503 08ihke1050munug2ei22rln00o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1090';
20240412@080331.2966 foja62bh2pq2rh6et77ke3i8vh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240412@080331.2983 foja62bh2pq2rh6et77ke3i8vh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240412@080331.3004 foja62bh2pq2rh6et77ke3i8vh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1091';
20240412@080331.3074 foja62bh2pq2rh6et77ke3i8vh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1091';
20240412@080331.3092 foja62bh2pq2rh6et77ke3i8vh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1091';
20240412@080331.3107 foja62bh2pq2rh6et77ke3i8vh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1091';
20240412@080331.3122 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3127 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240412@080331.3141 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3144 foja62bh2pq2rh6et77ke3i8vh Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240412@080331.3208 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4006.00.2'
20240412@080331.3374 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2026 and bo.obrano = 2402670 and bi.ref ='304.4006.00.2' and bi.lordem =1
20240412@080331.3769 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3773 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240412@080331.3786 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3789 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 1 valor from td where td.ndoc = 39
20240412@080331.3801 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3804 foja62bh2pq2rh6et77ke3i8vh Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240412@080331.3815 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240412@080331.3842 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3885 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240412@080331.3899 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3903 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240412@080331.3917 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3920 foja62bh2pq2rh6et77ke3i8vh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240412@080331.3933 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3937 foja62bh2pq2rh6et77ke3i8vh Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240412@080331.3950 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.3953 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from td where ndoc = 39
20240412@080331.3969 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240412@080331.3980 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080331.3994 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240412@080331.4180 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080331.4197 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240412@080331.4225 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080331.4238 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240412@080331.4247 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080331.4350 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240412@080331.4365 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240412@080331.4381 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240412@080331.4393 foja62bh2pq2rh6et77ke3i8vh Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6618d108306618dcc367' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240412@080331.4640 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240412@080331.4693 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240412@080331.4729 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240412@080331.4735 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240412@080331.4741 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240412@080331.4747 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240412@080331.4752 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240412@080331.4758 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240412@080331.4763 foja62bh2pq2rh6et77ke3i8vh Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6618d108306618dcc367',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240412@080331.5189 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 fno valor from wsft039data order by fno desc
20240412@080331.5210 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240412@080331.5402 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240412@080331.5633 foja62bh2pq2rh6et77ke3i8vh Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6618d108306618dcc367',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',842,100810,0,'2024-04-12',39,'euro',0,0,2024 ,'20240412','0833',?,?,?,?)
20240412@080331.6073 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.6088 foja62bh2pq2rh6et77ke3i8vh Query : select st.usalote valor from st where st.ref = '304.4006.00.2'
20240412@080331.6400 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4006.00.2'
20240412@080331.6615 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080331.6634 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240412@080331.6662 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080331.6765 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240412@080331.6773 foja62bh2pq2rh6et77ke3i8vh Query : select sestamp valor from se where ref ='304.4006.00.2' and lote = '220327'
20240412@080331.6805 foja62bh2pq2rh6et77ke3i8vh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240412@080331.6816 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240412@080331.6857 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240412@080331.6889 foja62bh2pq2rh6et77ke3i8vh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6618d030606618dcc3a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6618d108306618dcc367' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240412@080331.7332 foja62bh2pq2rh6et77ke3i8vh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240412@080331.7350 foja62bh2pq2rh6et77ke3i8vh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240412@080331.7355 foja62bh2pq2rh6et77ke3i8vh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6618d030606618dcc3a6','aut6618d108306618dcc367' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240412@080331.7361 foja62bh2pq2rh6et77ke3i8vh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6618d108306618dcc367','2402670','wait',39,'ari17112337378,753000005')
20240412@080331.7407 foja62bh2pq2rh6et77ke3i8vh Query : use flama_phc
20240412@080331.7421 foja62bh2pq2rh6et77ke3i8vh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240412@080331.7433 foja62bh2pq2rh6et77ke3i8vh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1091';
