20240320@131958.2667 qan6lvr9f6m2tvdshgpf3254o4 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240320@131958.2665 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240320@131958.2680 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.2683 qan6lvr9f6m2tvdshgpf3254o4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1899
20240320@131958.2769 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240320@131958.2933 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2024 and bo.obrano = 0000345 and bi.ref ='304.422.00.07' and bi.lordem =30000
20240320@131958.3296 qan6lvr9f6m2tvdshgpf3254o4 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc24032043086,0860000-3 ' 
20240320@131958.3652 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240320@131958.3806 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2024 and bo.obrano = 0000345 and bi.ref ='304.421.00.04' and bi.lordem =40000
20240320@131958.4181 qan6lvr9f6m2tvdshgpf3254o4 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc24032043086,1110000-4 ' 
20240320@131958.4540 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.4543 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240320@131958.4725 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.4729 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 1 valor from td where td.ndoc = 39
20240320@131958.4818 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.4821 qan6lvr9f6m2tvdshgpf3254o4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240320@131958.4871 qan6lvr9f6m2tvdshgpf3254o4 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
20240320@131958.4975 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.4979 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240320@131958.5082 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.5085 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240320@131958.5166 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.5169 qan6lvr9f6m2tvdshgpf3254o4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240320@131958.5215 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.5217 qan6lvr9f6m2tvdshgpf3254o4 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m'
20240320@131958.5230 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131958.5233 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from td where ndoc = 39
20240320@131958.5309 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240320@131958.5379 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240320@131958.5923 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240320@131958.5982 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240320@131958.6307 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240320@131958.6373 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240320@131958.6678 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240320@131958.6728 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240320@131958.6972 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240320@131958.7073 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240320@131958.7088 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240320@131958.7123 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fae6571565fae27ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240320@131958.7653 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240320@131958.7669 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240320@131958.7728 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc24031961875.441000002 '
20240320@131958.7833 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc24031961875.441000002 '
20240320@131958.7911 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc24031961875.441000002 '
20240320@131958.7993 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc24031961875.441000002 '
20240320@131958.8068 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc24031961875.441000002 '
20240320@131958.8150 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc24031961875.441000002 '
20240320@131958.8233 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fae6571565fae27ea4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240320@131958.8769 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 fno valor from wsft039data order by fno desc
20240320@131959.1630 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240320@131959.1810 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240320@131959.2350 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut65fae6571565fae27ea4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',528,101621,0,'2024-03-20',39,'euro',0,0,2024 ,'20240320','1349',?,?,?,?,?)
20240320@131959.1266 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131959.1270 qan6lvr9f6m2tvdshgpf3254o4 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240320@131959.1392 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240320@131959.1552 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@131959.1853 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@131959.1920 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@131959.2252 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@131959.2282 qan6lvr9f6m2tvdshgpf3254o4 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230723'
20240320@131959.2361 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@131959.2405 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@131959.2420 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@131959.2475 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut65fae1331465fae27f3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fae6571565fae27ea4' ,22.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20240320@131959.2973 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@131959.2989 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@131959.3013 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae1331465fae27f3a','aut65fae6571565fae27ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@131959.3283 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131959.3288 qan6lvr9f6m2tvdshgpf3254o4 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240320@131959.3300 qan6lvr9f6m2tvdshgpf3254o4 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'
20240320@131959.3463 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@131959.3477 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@131959.3501 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@131959.3514 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@131959.3518 qan6lvr9f6m2tvdshgpf3254o4 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240320@131959.3532 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@131959.3541 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@131959.3553 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@131959.3578 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut65fae3773065fae27f56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fae6571565fae27ea4' ,25.600000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20240320@131959.3843 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@131959.3858 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@131959.3864 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae3773065fae27f56','aut65fae6571565fae27ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@131959.3870 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@131959.3885 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@131959.3913 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@131959.3925 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@131959.3929 qan6lvr9f6m2tvdshgpf3254o4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@131959.3939 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@131959.3950 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@131959.3974 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fae6321765fae27f60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fae6571565fae27ea4' ,0,0 ,2,23.00,30000,?,?,?)
20240320@131959.4377 qan6lvr9f6m2tvdshgpf3254o4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@131959.5398 qan6lvr9f6m2tvdshgpf3254o4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@131959.5404 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae6321765fae27f60','aut65fae6571565fae27ea4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@131959.5410 qan6lvr9f6m2tvdshgpf3254o4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fae6571565fae27ea4','119240000345','wait',39,'ari17112337378,753000005')
20240320@131959.5453 qan6lvr9f6m2tvdshgpf3254o4 Query : use flama_phc
20240320@131959.5456 qan6lvr9f6m2tvdshgpf3254o4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240320@131959.5467 qan6lvr9f6m2tvdshgpf3254o4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='710';
20240320@131959.5486 qan6lvr9f6m2tvdshgpf3254o4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='710';
20240320@131959.5500 qan6lvr9f6m2tvdshgpf3254o4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='710';
20240320@131959.5514 qan6lvr9f6m2tvdshgpf3254o4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='710';
20240320@131959.5906 pj424t3ovkve9a2aq5imd940mq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240320@131959.5922 pj424t3ovkve9a2aq5imd940mq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240320@131959.5941 pj424t3ovkve9a2aq5imd940mq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='711';
20240320@131959.5994 pj424t3ovkve9a2aq5imd940mq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='711';
20240320@131959.6011 pj424t3ovkve9a2aq5imd940mq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='711';
20240320@131959.6025 pj424t3ovkve9a2aq5imd940mq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='711';
20240320@131959.6041 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.6044 pj424t3ovkve9a2aq5imd940mq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240320@131959.6056 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.6059 pj424t3ovkve9a2aq5imd940mq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240320@131959.6156 pj424t3ovkve9a2aq5imd940mq 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'
20240320@131959.6335 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2024 and bo.obrano = 0000346 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20240320@131959.6718 pj424t3ovkve9a2aq5imd940mq Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc24032043595,4990000-2 ' 
20240320@131959.7126 pj424t3ovkve9a2aq5imd940mq 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'
20240320@131959.7285 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2024 and bo.obrano = 0000346 and bi.ref ='324.1879.00.1' and bi.lordem =30000
20240320@131959.7639 pj424t3ovkve9a2aq5imd940mq Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc24032043595,5220000-3 ' 
20240320@131959.8011 pj424t3ovkve9a2aq5imd940mq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240320@131959.8173 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2024 and bo.obrano = 0000346 and bi.ref ='324.1834.00.1' and bi.lordem =40000
20240320@131959.8510 pj424t3ovkve9a2aq5imd940mq Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc24032043595,5520000-4 ' 
20240320@131959.8863 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.8867 pj424t3ovkve9a2aq5imd940mq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240320@131959.8881 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.8885 pj424t3ovkve9a2aq5imd940mq Query : select top 1 1 valor from td where td.ndoc = 39
20240320@131959.8898 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.8901 pj424t3ovkve9a2aq5imd940mq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240320@131959.8913 pj424t3ovkve9a2aq5imd940mq 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
20240320@131959.8930 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.8933 pj424t3ovkve9a2aq5imd940mq Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240320@131959.9038 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.9041 pj424t3ovkve9a2aq5imd940mq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240320@131959.9051 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.9054 pj424t3ovkve9a2aq5imd940mq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240320@131959.9065 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.9069 pj424t3ovkve9a2aq5imd940mq Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240320@131959.9081 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@131959.9084 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from td where ndoc = 39
20240320@131959.9094 pj424t3ovkve9a2aq5imd940mq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240320@131959.9106 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240320@131959.9121 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240320@131959.9137 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240320@131959.9150 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240320@131959.9176 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240320@131959.9190 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240320@131959.9199 pj424t3ovkve9a2aq5imd940mq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240320@131959.9293 pj424t3ovkve9a2aq5imd940mq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240320@131959.9303 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240320@131959.9325 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240320@131959.9335 pj424t3ovkve9a2aq5imd940mq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fae1585965fae27fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240320@131959.9529 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240320@131959.9543 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240320@131959.9572 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc24032030265,825000001 '
20240320@131959.9759 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc24032030265,825000001 '
20240320@131959.9892 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc24032030265,825000001 '
20240320@132000.4100 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc24032030265,825000001 '
20240320@132000.1880 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc24032030265,825000001 '
20240320@132000.2770 pj424t3ovkve9a2aq5imd940mq Query : select top 1 bo.serie valor from bo where bo.bostamp='evc24032030265,825000001 '
20240320@132000.3510 pj424t3ovkve9a2aq5imd940mq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fae1585965fae27fe0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240320@132000.7820 pj424t3ovkve9a2aq5imd940mq Query : select top 1 fno valor from wsft039data order by fno desc
20240320@132000.1800 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240320@132000.1821 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240320@132000.1843 pj424t3ovkve9a2aq5imd940mq Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut65fae1585965fae27fe0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',529,102199,0,'2024-03-20',39,'euro',0,0,2024 ,'20240320','1349',?,?,?,?,?)
20240320@132000.2148 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@132000.2152 pj424t3ovkve9a2aq5imd940mq Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240320@132000.2166 pj424t3ovkve9a2aq5imd940mq 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'
20240320@132000.2342 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.2357 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@132000.2381 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.2394 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@132000.2399 pj424t3ovkve9a2aq5imd940mq Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301208200a'
20240320@132000.2410 pj424t3ovkve9a2aq5imd940mq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@132000.2420 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.2433 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@132000.2455 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut65fae3592465fae2803b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut65fae1585965fae27fe0' ,57.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20240320@132000.2717 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.2733 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@132000.2738 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae3592465fae2803b','aut65fae1585965fae27fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@132000.2743 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.2756 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@132000.2780 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.2792 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@132000.2796 pj424t3ovkve9a2aq5imd940mq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@132000.2805 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.2819 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@132000.2843 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fae0789065fae28044',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fae1585965fae27fe0' ,0,0 ,2,23.00,20000,?,?,?)
20240320@132000.3117 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.3132 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@132000.3136 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae0789065fae28044','aut65fae1585965fae27fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@132000.3140 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@132000.3143 pj424t3ovkve9a2aq5imd940mq Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240320@132000.3156 pj424t3ovkve9a2aq5imd940mq 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'
20240320@132000.3318 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.3334 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@132000.3357 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.3371 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@132000.3375 pj424t3ovkve9a2aq5imd940mq Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301096100a'
20240320@132000.3385 pj424t3ovkve9a2aq5imd940mq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@132000.3395 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.3408 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@132000.3431 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut65fae0395765fae28052',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65fae1585965fae27fe0' ,66.300000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20240320@132000.3696 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.3715 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@132000.3720 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae0395765fae28052','aut65fae1585965fae27fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@132000.3725 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.3738 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@132000.3762 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.3774 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@132000.3778 pj424t3ovkve9a2aq5imd940mq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@132000.3788 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.3800 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@132000.3824 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fae7692065fae2805c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fae1585965fae27fe0' ,0,0 ,2,23.00,50000,?,?,?)
20240320@132000.4098 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.4139 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@132000.4160 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae7692065fae2805c','aut65fae1585965fae27fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@132000.4172 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@132000.4176 pj424t3ovkve9a2aq5imd940mq Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240320@132000.4187 pj424t3ovkve9a2aq5imd940mq 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.1834.00.1'
20240320@132000.5030 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.5045 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@132000.5068 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.5081 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@132000.5085 pj424t3ovkve9a2aq5imd940mq Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240320@132000.5099 pj424t3ovkve9a2aq5imd940mq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@132000.5109 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.5123 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@132000.5149 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut65fae4113665fae2807c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fae1585965fae27fe0' ,62.400000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20240320@132000.5602 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.5623 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@132000.5627 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae4113665fae2807c','aut65fae1585965fae27fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@132000.5632 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.5645 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240320@132000.5688 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.5701 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240320@132000.5706 pj424t3ovkve9a2aq5imd940mq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240320@132000.5719 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240320@132000.5732 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240320@132000.5756 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fae6705365fae2808b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fae1585965fae27fe0' ,0,0 ,2,23.00,80000,?,?,?)
20240320@132000.6026 pj424t3ovkve9a2aq5imd940mq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240320@132000.6043 pj424t3ovkve9a2aq5imd940mq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240320@132000.6048 pj424t3ovkve9a2aq5imd940mq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fae6705365fae2808b','aut65fae1585965fae27fe0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240320@132000.6052 pj424t3ovkve9a2aq5imd940mq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fae1585965fae27fe0','119240000346','wait',39,'ari17112337378,753000005')
20240320@132000.6069 pj424t3ovkve9a2aq5imd940mq Query : use flama_phc
20240320@132000.6072 pj424t3ovkve9a2aq5imd940mq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240320@132000.6083 pj424t3ovkve9a2aq5imd940mq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='711';
20240320@132000.6100 pj424t3ovkve9a2aq5imd940mq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='711';
20240320@132000.6114 pj424t3ovkve9a2aq5imd940mq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='711';
20240320@132000.6267 pj424t3ovkve9a2aq5imd940mq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='711';

20240321@074513.3275 efaodum09ee6lr24jngs2bsru7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='712';
20240321@074513.3382 efaodum09ee6lr24jngs2bsru7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='712';
20240321@074513.3414 efaodum09ee6lr24jngs2bsru7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='712';
20240321@074513.3429 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.3433 efaodum09ee6lr24jngs2bsru7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074513.3513 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.3517 efaodum09ee6lr24jngs2bsru7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240321@074513.3770 efaodum09ee6lr24jngs2bsru7 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'
20240321@074513.3985 efaodum09ee6lr24jngs2bsru7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402224 and bi.ref ='324.2231.00.1' and bi.lordem =1
20240321@074513.4385 efaodum09ee6lr24jngs2bsru7 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'
20240321@074513.4397 efaodum09ee6lr24jngs2bsru7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402224 and bi.ref ='324.2231.00.1' and bi.lordem =1
20240321@074513.4404 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.4408 efaodum09ee6lr24jngs2bsru7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074513.4606 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.4610 efaodum09ee6lr24jngs2bsru7 Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074513.4786 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.4819 efaodum09ee6lr24jngs2bsru7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074513.4886 efaodum09ee6lr24jngs2bsru7 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
20240321@074513.5018 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.5021 efaodum09ee6lr24jngs2bsru7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240321@074513.5172 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.5176 efaodum09ee6lr24jngs2bsru7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074513.5263 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.5267 efaodum09ee6lr24jngs2bsru7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074513.5315 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.5318 efaodum09ee6lr24jngs2bsru7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240321@074513.5331 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074513.5354 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from td where ndoc = 39
20240321@074513.5454 efaodum09ee6lr24jngs2bsru7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074513.5567 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074513.5901 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074513.5966 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074513.6334 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074513.6651 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074513.6996 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074513.7069 efaodum09ee6lr24jngs2bsru7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074513.7432 efaodum09ee6lr24jngs2bsru7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074513.7586 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074513.7600 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074513.7631 efaodum09ee6lr24jngs2bsru7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe0537265fbe589ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074514.4080 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074514.4230 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074514.4770 efaodum09ee6lr24jngs2bsru7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074514.5640 efaodum09ee6lr24jngs2bsru7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074514.6310 efaodum09ee6lr24jngs2bsru7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074514.6990 efaodum09ee6lr24jngs2bsru7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074514.7680 efaodum09ee6lr24jngs2bsru7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074514.8420 efaodum09ee6lr24jngs2bsru7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074514.9130 efaodum09ee6lr24jngs2bsru7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe0537265fbe589ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074514.1533 efaodum09ee6lr24jngs2bsru7 Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074514.1607 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074514.1623 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074514.1661 efaodum09ee6lr24jngs2bsru7 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 ('aut65fbe0537265fbe589ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',530,100810,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074514.2716 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074514.2720 efaodum09ee6lr24jngs2bsru7 Query : select st.usalote valor from st where st.ref = '324.2231.00.1'
20240321@074514.2835 efaodum09ee6lr24jngs2bsru7 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'
20240321@074514.3126 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074514.3434 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074514.3882 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074514.4189 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074514.4224 efaodum09ee6lr24jngs2bsru7 Query : select sestamp valor from se where ref ='324.2231.00.1' and lote = 'r2301141275a'
20240321@074514.4382 efaodum09ee6lr24jngs2bsru7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074514.4466 efaodum09ee6lr24jngs2bsru7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074514.4481 efaodum09ee6lr24jngs2bsru7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074514.4532 efaodum09ee6lr24jngs2bsru7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0796865fbe58a6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe0537265fbe589ac' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074514.5794 efaodum09ee6lr24jngs2bsru7 Query : use flama_phc
20240321@074514.5798 efaodum09ee6lr24jngs2bsru7 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240321@074514.5925 efaodum09ee6lr24jngs2bsru7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='712';
20240321@074514.5941 efaodum09ee6lr24jngs2bsru7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='712';
20240321@074514.6412 6uiuhgrd832698d05ml2tsq2h1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074514.6449 6uiuhgrd832698d05ml2tsq2h1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074514.6468 6uiuhgrd832698d05ml2tsq2h1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='713';
20240321@074514.6532 6uiuhgrd832698d05ml2tsq2h1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='713';
20240321@074514.6553 6uiuhgrd832698d05ml2tsq2h1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='713';
20240321@074514.6567 6uiuhgrd832698d05ml2tsq2h1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='713';
20240321@074514.6585 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074514.6588 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074514.6601 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074514.6604 6uiuhgrd832698d05ml2tsq2h1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240321@074514.6644 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20240321@074514.6803 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.499.00.01' and bi.lordem =1
20240321@074514.7148 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20240321@074514.7304 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.497.00.01' and bi.lordem =2
20240321@074514.7642 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20240321@074514.7653 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.497.00.01' and bi.lordem =2
20240321@074514.7659 6uiuhgrd832698d05ml2tsq2h1 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'
20240321@074514.7836 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.4970.00.1' and bi.lordem =3
20240321@074514.8179 6uiuhgrd832698d05ml2tsq2h1 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'
20240321@074514.8336 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.736.00.01' and bi.lordem =4
20240321@074514.9246 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240321@074514.9892 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='304.4860.00.1' and bi.lordem =5
20240321@074515.2220 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240321@074515.4490 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.4910.00.1' and bi.lordem =6
20240321@074515.7990 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240321@074515.9570 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.4988.00.1' and bi.lordem =7
20240321@074515.1282 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4161.00.1'
20240321@074515.1439 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.4161.00.1' and bi.lordem =8
20240321@074515.1840 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240321@074515.1998 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402225 and bi.ref ='324.4840.00.1' and bi.lordem =9
20240321@074515.2388 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.2392 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074515.2407 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.2410 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074515.2420 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.2423 6uiuhgrd832698d05ml2tsq2h1 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074515.2450 6uiuhgrd832698d05ml2tsq2h1 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
20240321@074515.2465 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.2469 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240321@074515.2479 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.2491 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074515.2502 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.2505 6uiuhgrd832698d05ml2tsq2h1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074515.2516 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.2519 6uiuhgrd832698d05ml2tsq2h1 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240321@074515.2533 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.2540 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from td where ndoc = 39
20240321@074515.2550 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074515.2562 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074515.2578 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074515.2629 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074515.2644 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074515.2689 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074515.2702 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074515.2715 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074515.2821 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074515.2831 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074515.2848 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074515.2858 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074515.3054 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074515.3070 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074515.3124 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074515.3129 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074515.3134 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074515.3149 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074515.3154 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074515.3158 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074515.3164 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe6751665fbe58b42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074515.3465 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074515.3481 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074515.3495 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074515.3514 6uiuhgrd832698d05ml2tsq2h1 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 ('aut65fbe6751665fbe58b42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',530,100810,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074515.3800 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.3805 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20240321@074515.3829 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20240321@074515.3981 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.3996 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074515.4022 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.4035 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074515.4049 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20240321@074515.4080 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074515.4090 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.4103 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074515.4125 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0222565fbe58b63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074515.4427 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.4554 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074515.4602 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0222565fbe58b63','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074515.5783 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.5787 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20240321@074515.5799 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20240321@074515.5956 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.5970 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074515.5993 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.6006 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074515.6010 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20240321@074515.6030 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074515.6040 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.6054 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074515.6078 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1512265fbe58b93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240321@074515.6330 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.6346 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074515.6350 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1512265fbe58b93','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074515.6355 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.6358 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20240321@074515.6368 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20240321@074515.6378 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.6391 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074515.6487 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.6502 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074515.6506 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20240321@074515.6518 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074515.6527 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.6541 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074515.6591 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0080165fbe58b9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240321@074515.6853 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.6876 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074515.6880 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0080165fbe58b9f','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074515.6885 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.6889 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240321@074515.6901 6uiuhgrd832698d05ml2tsq2h1 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'
20240321@074515.7051 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.7064 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074515.7090 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.7103 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074515.7107 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240321@074515.7124 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074515.7134 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.7147 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074515.7171 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe5823865fbe58bae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074515.7426 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.7442 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074515.7446 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5823865fbe58bae','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074515.7451 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.7454 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240321@074515.7465 6uiuhgrd832698d05ml2tsq2h1 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'
20240321@074515.7618 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.7632 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074515.7656 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.7669 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074515.7673 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2100297200a'
20240321@074515.7689 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074515.7700 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.7714 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074515.7737 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1549165fbe58bbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240321@074515.7986 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.8002 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074515.8006 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1549165fbe58bbb','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074515.8010 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.8015 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240321@074515.8027 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240321@074515.8291 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.8307 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074515.8332 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.8348 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074515.8353 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20240321@074515.8382 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074515.8392 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.8405 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074515.8429 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1636465fbe58bcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240321@074515.8673 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.8734 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074515.8738 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1636465fbe58bcc','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074515.8743 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.8746 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240321@074515.8759 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240321@074515.8929 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.8944 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074515.8969 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.8983 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074515.8987 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240321@074515.9009 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074515.9019 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.9032 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074515.9054 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe5375565fbe58bdc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',102.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240321@074515.9433 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.9451 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074515.9456 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5375565fbe58bdc','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074515.9461 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074515.9466 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240321@074515.9478 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240321@074515.9640 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.9654 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074515.9678 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074515.9691 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074515.9695 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100743100a'
20240321@074515.9717 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074515.9727 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074515.9739 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074515.9762 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe6029165fbe58bed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240321@074516.1500 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.3000 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074516.3400 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe6029165fbe58bed','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074516.3900 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074516.4200 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.4161.00.1'
20240321@074516.5300 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4161.00.1'
20240321@074516.2200 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.2390 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074516.2630 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.2750 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074516.2790 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.4161.00.1' and lote = 'r2100973100a'
20240321@074516.3020 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074516.3120 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.3240 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074516.3470 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2075865fbe58c07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240321@074516.6150 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.6300 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074516.6340 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2075865fbe58c07','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074516.6390 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.6520 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074516.6750 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.6870 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074516.6910 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074516.7010 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.7140 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074516.7380 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe1426065fbe58c11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,100000,?,?,?)
20240321@074516.1022 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.1038 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074516.1042 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1426065fbe58c11','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074516.1047 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074516.1050 6uiuhgrd832698d05ml2tsq2h1 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20240321@074516.1061 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20240321@074516.1231 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.1245 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074516.1268 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.1281 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074516.1285 6uiuhgrd832698d05ml2tsq2h1 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2101353200a'
20240321@074516.1303 6uiuhgrd832698d05ml2tsq2h1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074516.1312 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.1325 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074516.1349 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0198065fbe58c20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe6751665fbe58b42' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240321@074516.1621 6uiuhgrd832698d05ml2tsq2h1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.1637 6uiuhgrd832698d05ml2tsq2h1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074516.1642 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0198065fbe58c20','aut65fbe6751665fbe58b42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074516.1647 6uiuhgrd832698d05ml2tsq2h1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe6751665fbe58b42','2402225','wait',39,'ari17112337378,753000005')
20240321@074516.1705 6uiuhgrd832698d05ml2tsq2h1 Query : use flama_phc
20240321@074516.1708 6uiuhgrd832698d05ml2tsq2h1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074516.1771 6uiuhgrd832698d05ml2tsq2h1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='713';
20240321@074516.1791 6uiuhgrd832698d05ml2tsq2h1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='713';
20240321@074516.1807 6uiuhgrd832698d05ml2tsq2h1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='713';
20240321@074516.1822 6uiuhgrd832698d05ml2tsq2h1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='713';
20240321@074516.2238 080msq07o12oct071lvk93qpgg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074516.2253 080msq07o12oct071lvk93qpgg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074516.2271 080msq07o12oct071lvk93qpgg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='714';
20240321@074516.2312 080msq07o12oct071lvk93qpgg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='714';
20240321@074516.2330 080msq07o12oct071lvk93qpgg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='714';
20240321@074516.2344 080msq07o12oct071lvk93qpgg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='714';
20240321@074516.2361 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.2364 080msq07o12oct071lvk93qpgg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074516.2377 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.2408 080msq07o12oct071lvk93qpgg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240321@074516.2507 080msq07o12oct071lvk93qpgg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9005.00.1'
20240321@074516.2682 080msq07o12oct071lvk93qpgg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402226 and bi.ref ='328.9005.00.1' and bi.lordem =1
20240321@074516.3075 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.3079 080msq07o12oct071lvk93qpgg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074516.3122 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.3126 080msq07o12oct071lvk93qpgg Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074516.3136 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.3152 080msq07o12oct071lvk93qpgg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074516.3166 080msq07o12oct071lvk93qpgg 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
20240321@074516.3180 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.3182 080msq07o12oct071lvk93qpgg Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240321@074516.3299 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.3303 080msq07o12oct071lvk93qpgg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074516.3440 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.3465 080msq07o12oct071lvk93qpgg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074516.3477 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.3480 080msq07o12oct071lvk93qpgg Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240321@074516.3510 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.3514 080msq07o12oct071lvk93qpgg Query : select 1 valor from td where ndoc = 39
20240321@074516.3524 080msq07o12oct071lvk93qpgg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074516.3536 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074516.3579 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074516.3594 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074516.3637 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074516.3663 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074516.3786 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074516.3796 080msq07o12oct071lvk93qpgg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074516.3919 080msq07o12oct071lvk93qpgg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074516.3945 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074516.3959 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074516.3969 080msq07o12oct071lvk93qpgg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe5152865fbe58c5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074516.4157 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074516.4172 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074516.4199 080msq07o12oct071lvk93qpgg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074516.4204 080msq07o12oct071lvk93qpgg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074516.4208 080msq07o12oct071lvk93qpgg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074516.4213 080msq07o12oct071lvk93qpgg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074516.4218 080msq07o12oct071lvk93qpgg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074516.4223 080msq07o12oct071lvk93qpgg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074516.4228 080msq07o12oct071lvk93qpgg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe5152865fbe58c5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074516.4477 080msq07o12oct071lvk93qpgg Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074516.4494 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074516.4509 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074516.4526 080msq07o12oct071lvk93qpgg 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 ('aut65fbe5152865fbe58c5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',531,101597,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074516.4824 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.4828 080msq07o12oct071lvk93qpgg Query : select st.usalote valor from st where st.ref = '328.9005.00.1'
20240321@074516.4842 080msq07o12oct071lvk93qpgg 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.9005.00.1'
20240321@074516.4993 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.5008 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074516.5033 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.5063 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074516.5073 080msq07o12oct071lvk93qpgg Query : select sestamp valor from se where ref ='328.9005.00.1' and lote = 'r2100770200a'
20240321@074516.5090 080msq07o12oct071lvk93qpgg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074516.5099 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.5119 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074516.5143 080msq07o12oct071lvk93qpgg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1897265fbe58c7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fbe5152865fbe58c5c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074516.5443 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.5459 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074516.5464 080msq07o12oct071lvk93qpgg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1897265fbe58c7c','aut65fbe5152865fbe58c5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074516.5469 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.5483 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074516.5507 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.5523 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074516.5527 080msq07o12oct071lvk93qpgg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074516.5537 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074516.5560 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074516.5635 080msq07o12oct071lvk93qpgg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe7486665fbe58c87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe5152865fbe58c5c' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074516.5917 080msq07o12oct071lvk93qpgg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074516.5934 080msq07o12oct071lvk93qpgg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074516.5938 080msq07o12oct071lvk93qpgg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe7486665fbe58c87','aut65fbe5152865fbe58c5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074516.5942 080msq07o12oct071lvk93qpgg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe5152865fbe58c5c','2402226','wait',39,'ari17112337378,753000005')
20240321@074516.5958 080msq07o12oct071lvk93qpgg Query : use flama_phc
20240321@074516.5961 080msq07o12oct071lvk93qpgg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074516.5972 080msq07o12oct071lvk93qpgg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='714';
20240321@074516.5988 080msq07o12oct071lvk93qpgg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='714';
20240321@074516.6002 080msq07o12oct071lvk93qpgg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='714';
20240321@074516.6028 080msq07o12oct071lvk93qpgg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='714';
20240321@074516.6431 1difu9jir1g4pbqdslo7rpmn90 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074516.6446 1difu9jir1g4pbqdslo7rpmn90 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074516.6464 1difu9jir1g4pbqdslo7rpmn90 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='715';
20240321@074516.6505 1difu9jir1g4pbqdslo7rpmn90 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='715';
20240321@074516.6524 1difu9jir1g4pbqdslo7rpmn90 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='715';
20240321@074516.6536 1difu9jir1g4pbqdslo7rpmn90 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='715';
20240321@074516.6551 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.6554 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074516.6566 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.6569 1difu9jir1g4pbqdslo7rpmn90 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1328
20240321@074516.6659 1difu9jir1g4pbqdslo7rpmn90 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'
20240321@074516.6812 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402228 and bi.ref ='324.691.00.01' and bi.lordem =1
20240321@074516.7283 1difu9jir1g4pbqdslo7rpmn90 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'
20240321@074516.7303 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402228 and bi.ref ='324.691.00.01' and bi.lordem =2
20240321@074516.8344 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.8350 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074516.8365 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.9550 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074516.9567 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.9570 1difu9jir1g4pbqdslo7rpmn90 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074516.9582 1difu9jir1g4pbqdslo7rpmn90 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
20240321@074516.9598 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.9601 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074516.9712 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.9716 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074516.9726 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.9729 1difu9jir1g4pbqdslo7rpmn90 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074516.9740 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.9743 1difu9jir1g4pbqdslo7rpmn90 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - mealhada'
20240321@074516.9762 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074516.9766 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from td where ndoc = 39
20240321@074516.9775 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074516.9787 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074516.9801 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074516.9818 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074516.9832 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074516.9865 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074516.9889 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074516.9899 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074516.9998 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074517.8000 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074517.4100 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074517.5000 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe4979365fbe58cf1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074517.2670 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074517.2830 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074517.3110 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074517.3220 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074517.3270 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074517.3320 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074517.3360 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074517.3420 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074517.3470 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe4979365fbe58cf1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074517.6230 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074517.6440 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074517.6590 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074517.6770 1difu9jir1g4pbqdslo7rpmn90 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 ('aut65fbe4979365fbe58cf1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',532,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074517.9780 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074517.9820 1difu9jir1g4pbqdslo7rpmn90 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240321@074517.9940 1difu9jir1g4pbqdslo7rpmn90 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'
20240321@074517.1191 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074517.1204 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074517.1227 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074517.1240 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074517.1244 1difu9jir1g4pbqdslo7rpmn90 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240321@074517.1264 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074517.1273 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074517.1285 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074517.1308 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe9035465fbe58d1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65fbe4979365fbe58cf1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074517.1564 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074517.1579 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074517.1584 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe9035465fbe58d1f','aut65fbe4979365fbe58cf1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074517.1589 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074517.1603 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074517.1629 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074517.1642 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074517.1646 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074517.1656 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074517.1671 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074517.1694 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe1891565fbe58d28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe4979365fbe58cf1' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074517.2010 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074517.2026 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074517.2030 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1891565fbe58d28','aut65fbe4979365fbe58cf1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074517.2034 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074517.2037 1difu9jir1g4pbqdslo7rpmn90 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240321@074517.2047 1difu9jir1g4pbqdslo7rpmn90 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'
20240321@074517.2058 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074517.2071 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074517.2095 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074517.2107 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074517.2111 1difu9jir1g4pbqdslo7rpmn90 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240321@074517.2121 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074517.2130 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074517.2143 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074517.2165 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8705765fbe58d34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fbe4979365fbe58cf1' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074517.2442 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074517.2457 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074517.2462 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8705765fbe58d34','aut65fbe4979365fbe58cf1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074517.2467 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074517.2480 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074517.2502 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074517.2514 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074517.2519 1difu9jir1g4pbqdslo7rpmn90 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074517.2528 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074517.2540 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074517.2563 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe3186065fbe58d3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe4979365fbe58cf1' ,0,0 ,2,23.00,50000,?,?,?)
20240321@074517.2822 1difu9jir1g4pbqdslo7rpmn90 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074517.2837 1difu9jir1g4pbqdslo7rpmn90 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074517.2841 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe3186065fbe58d3d','aut65fbe4979365fbe58cf1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074517.2846 1difu9jir1g4pbqdslo7rpmn90 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe4979365fbe58cf1','2402228','wait',39,'ari17112337378,753000005')
20240321@074517.2863 1difu9jir1g4pbqdslo7rpmn90 Query : use flama_phc
20240321@074517.2866 1difu9jir1g4pbqdslo7rpmn90 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074517.2880 1difu9jir1g4pbqdslo7rpmn90 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='715';
20240321@074517.2947 1difu9jir1g4pbqdslo7rpmn90 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='715';
20240321@074517.2964 1difu9jir1g4pbqdslo7rpmn90 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='715';
20240321@074517.2979 1difu9jir1g4pbqdslo7rpmn90 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='715';
20240321@074517.3430 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074517.3465 1n0l6f2i3bomgag7sqga0rl7mm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074517.3483 1n0l6f2i3bomgag7sqga0rl7mm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='716';
20240321@074517.3544 1n0l6f2i3bomgag7sqga0rl7mm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='716';
20240321@074517.3563 1n0l6f2i3bomgag7sqga0rl7mm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='716';
20240321@074517.3577 1n0l6f2i3bomgag7sqga0rl7mm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='716';
20240321@074517.3600 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.3603 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074517.3615 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.3619 1n0l6f2i3bomgag7sqga0rl7mm Query : select no, estab,szadrsdesc from szadrs where u_coddest=339
20240321@074517.3750 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20240321@074517.3926 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='324.969.00.01' and bi.lordem =1
20240321@074517.4251 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20240321@074517.4289 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='324.969.00.01' and bi.lordem =2
20240321@074517.4760 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.551.00.15'
20240321@074517.5618 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='325.551.00.15' and bi.lordem =3
20240321@074517.6370 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20240321@074517.6549 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='324.2301.00.3' and bi.lordem =4
20240321@074517.6882 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20240321@074517.6894 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='324.2301.00.3' and bi.lordem =4
20240321@074517.6900 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.724.00.01'
20240321@074517.7094 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='324.724.00.01' and bi.lordem =5
20240321@074517.7521 1n0l6f2i3bomgag7sqga0rl7mm 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'
20240321@074517.7669 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='324.5343.00.1' and bi.lordem =6
20240321@074517.7996 1n0l6f2i3bomgag7sqga0rl7mm 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'
20240321@074517.8161 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='324.5361.00.1' and bi.lordem =8
20240321@074517.8494 1n0l6f2i3bomgag7sqga0rl7mm 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'
20240321@074517.8650 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='324.5396.00.1' and bi.lordem =10
20240321@074517.8976 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1675.3015'
20240321@074517.9120 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402229 and bi.ref ='325.1675.3015' and bi.lordem =12
20240321@074517.9439 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.9443 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074517.9457 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.9460 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074517.9471 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.9474 1n0l6f2i3bomgag7sqga0rl7mm Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074517.9485 1n0l6f2i3bomgag7sqga0rl7mm 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
20240321@074517.9500 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.9504 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 ~inactivo valor from cl where no = '102177' and estab = 0 order by inactivo desc
20240321@074517.9623 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.9626 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074517.9637 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.9641 1n0l6f2i3bomgag7sqga0rl7mm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074517.9652 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.9656 1n0l6f2i3bomgag7sqga0rl7mm Query : select szadrsstamp valor from szadrs where szadrsdesc='electrÃo, lda.'
20240321@074517.9668 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074517.9671 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from td where ndoc = 39
20240321@074517.9682 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074517.9694 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074517.9709 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074517.9727 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074517.9740 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074517.9768 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074517.9782 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074517.9793 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074517.9887 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074517.9897 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074517.9911 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074517.9921 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074518.1210 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074518.1380 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074518.1690 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074518.1730 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074518.1780 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074518.1830 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074518.1880 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074518.1930 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074518.1970 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe8787765fbe58def',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074518.4430 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074518.4630 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074518.4760 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074518.4930 1n0l6f2i3bomgag7sqga0rl7mm 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 ('aut65fbe8787765fbe58def',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',533,102177,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074518.7980 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.8030 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20240321@074518.8160 1n0l6f2i3bomgag7sqga0rl7mm 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.969.00.01'
20240321@074518.9710 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.1031 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.1057 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.1075 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.1083 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20240321@074518.1101 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.1113 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.1126 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.1150 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0121765fbe58e1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074518.1404 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.1420 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.1425 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0121765fbe58e1b','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.1429 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.1432 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20240321@074518.1443 1n0l6f2i3bomgag7sqga0rl7mm 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.969.00.01'
20240321@074518.1454 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.1467 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.1489 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.1501 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.1506 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20240321@074518.1516 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.1526 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.1538 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.1560 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe7715265fbe58e25',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240321@074518.1826 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.1842 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.1846 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe7715265fbe58e25','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.1851 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.1854 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '325.551.00.15'
20240321@074518.1865 1n0l6f2i3bomgag7sqga0rl7mm 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 = '325.551.00.15'
20240321@074518.2029 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.2042 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.2065 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.2078 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.2082 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='325.551.00.15' and lote = 'r210109070'
20240321@074518.2112 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.2121 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.2136 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.2160 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2566665fbe58e33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240321@074518.2437 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.2453 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.2457 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2566665fbe58e33','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.2462 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.2475 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.2499 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.2511 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.2515 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.2526 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.2538 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.2563 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe4342765fbe58e3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,40000,?,?,?)
20240321@074518.2821 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.2836 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.2840 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe4342765fbe58e3d','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.2845 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.2848 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20240321@074518.2859 1n0l6f2i3bomgag7sqga0rl7mm 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.2301.00.3'
20240321@074518.3011 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.3025 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.3048 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.3088 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.3092 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2300612200a'
20240321@074518.3110 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.3120 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.3132 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.3155 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe5517865fbe58e4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240321@074518.3431 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.3446 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.3450 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5517865fbe58e4c','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.3455 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.3458 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20240321@074518.3469 1n0l6f2i3bomgag7sqga0rl7mm 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.2301.00.3'
20240321@074518.3480 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.3494 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.3518 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.3530 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.3534 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2300612200a'
20240321@074518.3544 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.3553 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.3566 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.3590 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe7906765fbe58e56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240321@074518.3909 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.3925 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.3929 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe7906765fbe58e56','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.3934 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.3937 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '324.724.00.01'
20240321@074518.3948 1n0l6f2i3bomgag7sqga0rl7mm 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.724.00.01'
20240321@074518.4112 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.4126 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.4152 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.4167 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.4171 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='324.724.00.01' and lote = '11/18'
20240321@074518.4217 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.4228 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.4241 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.4292 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8652265fbe58e67',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240321@074518.4588 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.4608 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.4613 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8652265fbe58e67','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.4618 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.4621 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20240321@074518.4632 1n0l6f2i3bomgag7sqga0rl7mm 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'
20240321@074518.4796 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.4810 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.4833 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.4845 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.4850 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20240321@074518.4884 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.4894 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.4907 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.4958 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe3413865fbe58e77',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240321@074518.5213 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.5230 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.5234 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe3413865fbe58e77','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.5239 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.5253 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.5277 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.5290 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.5294 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.5304 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.5317 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.5339 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe4273865fbe58e81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,100000,?,?,?)
20240321@074518.5598 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.5641 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.5646 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe4273865fbe58e81','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.5651 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.5654 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '324.5361.00.1'
20240321@074518.5667 1n0l6f2i3bomgag7sqga0rl7mm 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.5361.00.1'
20240321@074518.5826 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.5843 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.5872 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.5887 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.5893 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='324.5361.00.1' and lote = 'r2300840200a'
20240321@074518.5912 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.5924 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.5938 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.5966 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe9535665fbe58e90',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240321@074518.6230 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.6246 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.6250 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe9535665fbe58e90','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.6255 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.6269 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.6292 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.6305 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.6310 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.6321 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.6334 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.6357 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe2626765fbe58e9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,130000,?,?,?)
20240321@074518.6613 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.6631 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.6636 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2626765fbe58e9a','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.6640 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.6644 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240321@074518.6656 1n0l6f2i3bomgag7sqga0rl7mm 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.5396.00.1'
20240321@074518.6834 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.6849 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.6873 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.6908 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.6913 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240321@074518.6925 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.6935 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.6949 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.8262 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0046465fbe58ea9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240321@074518.8539 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.8555 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.8559 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0046465fbe58ea9','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.8564 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.8576 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.8599 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.8611 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.8616 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.8626 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.8638 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.8664 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe0210265fbe58ed2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,160000,?,?,?)
20240321@074518.8909 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.8924 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.8929 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0210265fbe58ed2','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.8933 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.8936 1n0l6f2i3bomgag7sqga0rl7mm Query : select st.usalote valor from st where st.ref = '325.1675.3015'
20240321@074518.8948 1n0l6f2i3bomgag7sqga0rl7mm 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 = '325.1675.3015'
20240321@074518.9091 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.9105 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074518.9130 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.9169 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074518.9173 1n0l6f2i3bomgag7sqga0rl7mm Query : select sestamp valor from se where ref ='325.1675.3015' and lote = '801'
20240321@074518.9215 1n0l6f2i3bomgag7sqga0rl7mm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074518.9225 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074518.9237 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074518.9262 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2628565fbe58ee1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe8787765fbe58def' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20240321@074518.9530 1n0l6f2i3bomgag7sqga0rl7mm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074518.9545 1n0l6f2i3bomgag7sqga0rl7mm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074518.9550 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2628565fbe58ee1','aut65fbe8787765fbe58def' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074518.9554 1n0l6f2i3bomgag7sqga0rl7mm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe8787765fbe58def','2402229','wait',39,'ari17112337378,753000005')
20240321@074518.9577 1n0l6f2i3bomgag7sqga0rl7mm Query : use flama_phc
20240321@074518.9580 1n0l6f2i3bomgag7sqga0rl7mm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074518.9601 1n0l6f2i3bomgag7sqga0rl7mm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='716';
20240321@074518.9624 1n0l6f2i3bomgag7sqga0rl7mm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='716';
20240321@074518.9641 1n0l6f2i3bomgag7sqga0rl7mm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='716';
20240321@074518.9653 1n0l6f2i3bomgag7sqga0rl7mm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='716';
20240321@074519.1480 7pm32dgpmgenl77epk7fvr8upa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074519.1640 7pm32dgpmgenl77epk7fvr8upa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074519.1820 7pm32dgpmgenl77epk7fvr8upa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='717';
20240321@074519.2200 7pm32dgpmgenl77epk7fvr8upa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='717';
20240321@074519.2370 7pm32dgpmgenl77epk7fvr8upa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='717';
20240321@074519.2490 7pm32dgpmgenl77epk7fvr8upa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='717';
20240321@074519.2610 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.2640 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074519.2760 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.2790 7pm32dgpmgenl77epk7fvr8upa Query : select no, estab,szadrsdesc from szadrs where u_coddest=6600
20240321@074519.4000 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074519.5830 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402231 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074519.9050 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074519.1092 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402231 and bi.ref ='304.422.00.07' and bi.lordem =3
20240321@074519.1440 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.1444 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074519.1457 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.1460 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074519.1469 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.1472 7pm32dgpmgenl77epk7fvr8upa Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074519.1483 7pm32dgpmgenl77epk7fvr8upa 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
20240321@074519.1496 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.1498 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074519.1508 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.1511 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074519.1520 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.1523 7pm32dgpmgenl77epk7fvr8upa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074519.1533 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.1536 7pm32dgpmgenl77epk7fvr8upa Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. braga retail'
20240321@074519.1548 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.1551 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from td where ndoc = 39
20240321@074519.1560 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074519.1571 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074519.1584 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074519.1599 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074519.1612 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074519.1636 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074519.1649 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074519.1658 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074519.1752 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074519.1761 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074519.1775 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074519.1784 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe8522065fbe58f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074519.1977 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074519.1992 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074519.2020 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074519.2025 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074519.2029 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074519.2034 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074519.2038 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074519.2043 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074519.2047 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe8522065fbe58f28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074519.2311 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074519.2327 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074519.2340 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074519.2356 7pm32dgpmgenl77epk7fvr8upa 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 ('aut65fbe8522065fbe58f28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',534,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074519.2644 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.2649 7pm32dgpmgenl77epk7fvr8upa Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074519.2661 7pm32dgpmgenl77epk7fvr8upa 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'
20240321@074519.2817 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.2830 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074519.2853 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.2866 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074519.2870 7pm32dgpmgenl77epk7fvr8upa Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074519.2887 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074519.2896 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.2908 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074519.2930 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2759465fbe58f46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe8522065fbe58f28' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074519.3192 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.3207 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074519.3211 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2759465fbe58f46','aut65fbe8522065fbe58f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074519.3215 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.3228 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074519.3290 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.3305 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074519.3309 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074519.3318 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.3331 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074519.3355 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe2658265fbe58f51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe8522065fbe58f28' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074519.3631 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.3646 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074519.3650 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2658265fbe58f51','aut65fbe8522065fbe58f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074519.3654 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.3657 7pm32dgpmgenl77epk7fvr8upa Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074519.3679 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074519.4014 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.4028 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074519.4051 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.4064 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074519.4068 7pm32dgpmgenl77epk7fvr8upa Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230723'
20240321@074519.4090 7pm32dgpmgenl77epk7fvr8upa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074519.4098 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.4110 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074519.4132 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8550465fbe58f64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe8522065fbe58f28' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074519.4387 7pm32dgpmgenl77epk7fvr8upa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.4401 7pm32dgpmgenl77epk7fvr8upa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074519.4405 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8550465fbe58f64','aut65fbe8522065fbe58f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074519.4409 7pm32dgpmgenl77epk7fvr8upa Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe8522065fbe58f28','2402231','wait',39,'ari17112337378,753000005')
20240321@074519.4425 7pm32dgpmgenl77epk7fvr8upa Query : use flama_phc
20240321@074519.4428 7pm32dgpmgenl77epk7fvr8upa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074519.4439 7pm32dgpmgenl77epk7fvr8upa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='717';
20240321@074519.4454 7pm32dgpmgenl77epk7fvr8upa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='717';
20240321@074519.4467 7pm32dgpmgenl77epk7fvr8upa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='717';
20240321@074519.4479 7pm32dgpmgenl77epk7fvr8upa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='717';
20240321@074519.4921 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074519.4934 h0ju6d89o3f9o0k9bpo8enh1mt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074519.4951 h0ju6d89o3f9o0k9bpo8enh1mt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='718';
20240321@074519.4991 h0ju6d89o3f9o0k9bpo8enh1mt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='718';
20240321@074519.5005 h0ju6d89o3f9o0k9bpo8enh1mt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='718';
20240321@074519.5021 h0ju6d89o3f9o0k9bpo8enh1mt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='718';
20240321@074519.5034 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5037 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074519.5050 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5053 h0ju6d89o3f9o0k9bpo8enh1mt Query : select no, estab,szadrsdesc from szadrs where u_coddest=1474
20240321@074519.5134 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074519.5144 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402232 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074519.5456 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074519.5467 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402232 and bi.ref ='304.422.00.07' and bi.lordem =3
20240321@074519.5784 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5788 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074519.5800 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5803 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074519.5813 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5816 h0ju6d89o3f9o0k9bpo8enh1mt Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074519.5826 h0ju6d89o3f9o0k9bpo8enh1mt 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
20240321@074519.5842 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5845 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074519.5855 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5857 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074519.5867 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5870 h0ju6d89o3f9o0k9bpo8enh1mt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074519.5924 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.5968 h0ju6d89o3f9o0k9bpo8enh1mt Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - corroios'
20240321@074519.7151 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.7156 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from td where ndoc = 39
20240321@074519.7167 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074519.7178 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074519.7191 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074519.7208 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074519.7221 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074519.7248 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074519.7261 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074519.7272 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074519.7363 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074519.7372 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074519.7385 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074519.7395 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe1107565fbe58fb1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074519.7592 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074519.7607 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074519.7635 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074519.7640 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074519.7644 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074519.7649 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074519.7679 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074519.7683 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074519.7687 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe1107565fbe58fb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074519.7930 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074519.7946 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074519.7960 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074519.7977 h0ju6d89o3f9o0k9bpo8enh1mt 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 ('aut65fbe1107565fbe58fb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',535,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074519.8261 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.8266 h0ju6d89o3f9o0k9bpo8enh1mt Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074519.8278 h0ju6d89o3f9o0k9bpo8enh1mt 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'
20240321@074519.8290 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.8305 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074519.8328 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.8343 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074519.8347 h0ju6d89o3f9o0k9bpo8enh1mt Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074519.8358 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074519.8367 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.8379 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074519.8402 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1765965fbe58fcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe1107565fbe58fb1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074519.8695 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.8711 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074519.8727 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1765965fbe58fcc','aut65fbe1107565fbe58fb1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074519.8733 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.8746 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074519.8769 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.8781 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074519.8785 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074519.8794 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.8807 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074519.8829 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe8923565fbe58fd6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe1107565fbe58fb1' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074519.9089 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.9105 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074519.9109 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8923565fbe58fd6','aut65fbe1107565fbe58fb1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074519.9113 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.9116 h0ju6d89o3f9o0k9bpo8enh1mt Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074519.9127 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074519.9138 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.9151 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074519.9173 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.9185 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074519.9189 h0ju6d89o3f9o0k9bpo8enh1mt Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230723'
20240321@074519.9198 h0ju6d89o3f9o0k9bpo8enh1mt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074519.9210 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074519.9223 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074519.9246 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1200665fbe58fe0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe1107565fbe58fb1' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074519.9549 h0ju6d89o3f9o0k9bpo8enh1mt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074519.9578 h0ju6d89o3f9o0k9bpo8enh1mt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074519.9582 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1200665fbe58fe0','aut65fbe1107565fbe58fb1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074519.9589 h0ju6d89o3f9o0k9bpo8enh1mt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe1107565fbe58fb1','2402232','wait',39,'ari17112337378,753000005')
20240321@074519.9604 h0ju6d89o3f9o0k9bpo8enh1mt Query : use flama_phc
20240321@074519.9607 h0ju6d89o3f9o0k9bpo8enh1mt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074519.9618 h0ju6d89o3f9o0k9bpo8enh1mt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='718';
20240321@074519.9633 h0ju6d89o3f9o0k9bpo8enh1mt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='718';
20240321@074519.9646 h0ju6d89o3f9o0k9bpo8enh1mt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='718';
20240321@074519.9659 h0ju6d89o3f9o0k9bpo8enh1mt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='718';
20240321@074520.6200 a85s3clhoupi636uhmpibanl3k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074520.8600 a85s3clhoupi636uhmpibanl3k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074520.1820 a85s3clhoupi636uhmpibanl3k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='719';
20240321@074520.3890 a85s3clhoupi636uhmpibanl3k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='719';
20240321@074520.4050 a85s3clhoupi636uhmpibanl3k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='719';
20240321@074520.6150 a85s3clhoupi636uhmpibanl3k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='719';
20240321@074520.7010 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074520.7590 a85s3clhoupi636uhmpibanl3k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074520.9690 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074520.1009 a85s3clhoupi636uhmpibanl3k Query : select no, estab,szadrsdesc from szadrs where u_coddest=2435
20240321@074520.1302 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1256.00.1'
20240321@074520.1587 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1256.00.1' and bi.lordem =1
20240321@074520.2169 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20240321@074520.2565 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1536.00.1' and bi.lordem =2
20240321@074520.3465 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1547.00.1'
20240321@074520.4400 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1547.00.1' and bi.lordem =3
20240321@074520.4965 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240321@074520.5391 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1805.00.1' and bi.lordem =4
20240321@074520.6077 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1825.00.2'
20240321@074520.6362 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1825.00.2' and bi.lordem =5
20240321@074520.6959 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240321@074520.7243 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1832.00.2' and bi.lordem =6
20240321@074520.7905 a85s3clhoupi636uhmpibanl3k 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'
20240321@074520.8330 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1833.00.2' and bi.lordem =7
20240321@074520.9033 a85s3clhoupi636uhmpibanl3k 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'
20240321@074520.9045 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1833.00.2' and bi.lordem =7
20240321@074520.9051 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240321@074520.9347 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.1834.00.1' and bi.lordem =8
20240321@074521.1300 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20240321@074521.2220 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.2301.00.3' and bi.lordem =9
20240321@074521.8630 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20240321@074521.2034 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.5500.00.1' and bi.lordem =10
20240321@074521.2685 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240321@074521.3116 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.646.00.01' and bi.lordem =11
20240321@074521.4049 a85s3clhoupi636uhmpibanl3k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20240321@074521.4541 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.670.00.01' and bi.lordem =12
20240321@074521.5301 a85s3clhoupi636uhmpibanl3k 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'
20240321@074521.5312 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.691.00.01' and bi.lordem =13
20240321@074521.6435 a85s3clhoupi636uhmpibanl3k 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'
20240321@074521.6920 a85s3clhoupi636uhmpibanl3k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402235 and bi.ref ='324.698.00.01' and bi.lordem =14
20240321@074521.7517 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074521.7598 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074521.7772 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074521.7775 a85s3clhoupi636uhmpibanl3k Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074521.7785 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074521.7788 a85s3clhoupi636uhmpibanl3k Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074521.7962 a85s3clhoupi636uhmpibanl3k 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
20240321@074521.8463 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074521.8516 a85s3clhoupi636uhmpibanl3k Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240321@074521.9052 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074521.9093 a85s3clhoupi636uhmpibanl3k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074521.9105 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074521.9108 a85s3clhoupi636uhmpibanl3k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074521.9263 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074521.9267 a85s3clhoupi636uhmpibanl3k Query : select szadrsstamp valor from szadrs where szadrsdesc='nufer electrodomesticos sl'
20240321@074521.9281 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074521.9284 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from td where ndoc = 39
20240321@074521.9294 a85s3clhoupi636uhmpibanl3k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074521.9311 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074521.9402 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074521.9598 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074521.9612 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074522.1554 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074522.1746 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074522.1757 a85s3clhoupi636uhmpibanl3k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074522.2065 a85s3clhoupi636uhmpibanl3k Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074522.2150 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074522.2329 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074522.2535 a85s3clhoupi636uhmpibanl3k Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074522.3148 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074522.3369 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074522.3530 a85s3clhoupi636uhmpibanl3k Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074522.3535 a85s3clhoupi636uhmpibanl3k Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074522.3539 a85s3clhoupi636uhmpibanl3k Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074522.3543 a85s3clhoupi636uhmpibanl3k Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074522.3548 a85s3clhoupi636uhmpibanl3k Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074522.3552 a85s3clhoupi636uhmpibanl3k Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074522.3563 a85s3clhoupi636uhmpibanl3k Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe1390665fbe5922a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074522.4108 a85s3clhoupi636uhmpibanl3k Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074522.5986 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074522.6274 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074522.6743 a85s3clhoupi636uhmpibanl3k 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 ('aut65fbe1390665fbe5922a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',536,200500,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074522.7357 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074522.7395 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1256.00.1'
20240321@074522.7475 a85s3clhoupi636uhmpibanl3k 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.1256.00.1'
20240321@074522.7911 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074522.7927 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074522.8270 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074522.8482 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074522.8563 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1256.00.1' and lote = 'r210135200a'
20240321@074522.8773 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074522.8819 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074522.8988 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074522.9018 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe4088765fbe592d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074522.9543 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074523.5970 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074523.6050 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe4088765fbe592d7','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074523.6910 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074523.9040 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074523.1422 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074523.1594 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074523.1644 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074523.2584 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074523.3276 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074523.3790 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe6528165fbe5933f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074523.4336 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074523.4430 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074523.4436 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe6528165fbe5933f','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074523.4441 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074523.4483 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20240321@074523.4592 a85s3clhoupi636uhmpibanl3k 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.1536.00.1'
20240321@074523.5023 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074523.5062 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074523.5492 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074523.5706 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074523.5786 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20240321@074523.5943 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074523.6090 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074523.6106 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074523.6258 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8462365fbe59394',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074523.6810 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074523.7628 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074523.8463 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8462365fbe59394','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074523.8543 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074523.8583 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1547.00.1'
20240321@074523.8685 a85s3clhoupi636uhmpibanl3k 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.1547.00.1'
20240321@074523.9089 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074523.9120 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074523.9549 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074523.9762 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074523.9843 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1547.00.1' and lote = 'r2100242100a'
20240321@074523.9993 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074524.6000 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074524.2166 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074524.2365 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe5376065fbe59400',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240321@074524.3038 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074524.3248 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074524.3329 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5376065fbe59400','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074524.3374 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074524.3415 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240321@074524.3565 a85s3clhoupi636uhmpibanl3k 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.1805.00.1'
20240321@074524.3857 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074524.3874 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074524.3993 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074524.4180 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074524.4185 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2300959200a'
20240321@074524.4395 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074524.4621 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074524.4834 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074524.5119 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe9866465fbe59470',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240321@074524.5619 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074524.6097 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074524.6104 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe9866465fbe59470','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074524.6109 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074524.6112 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1825.00.2'
20240321@074524.6401 a85s3clhoupi636uhmpibanl3k 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.1825.00.2'
20240321@074524.7075 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074524.7287 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074524.7459 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074524.7731 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074524.7736 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1825.00.2' and lote = 'r2300179200a'
20240321@074524.7755 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074524.7772 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074524.7986 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074524.8149 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2440965fbe594bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240321@074524.8691 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074524.8901 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074524.8982 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2440965fbe594bd','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074524.9027 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074524.9211 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074524.9378 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074524.9396 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074524.9402 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074524.9414 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074524.9436 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074524.9723 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe1099065fbe594e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,80000,?,?,?)
20240321@074525.5920 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074525.1301 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074525.1382 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1099065fbe594e5','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074525.1426 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074525.1469 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240321@074525.1506 a85s3clhoupi636uhmpibanl3k 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'
20240321@074525.1812 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074525.1834 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074525.2107 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074525.2336 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074525.2586 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20240321@074525.2925 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074525.3343 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074525.3747 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074525.4028 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe5419465fbe59551',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240321@074525.4510 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074525.4706 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074525.4712 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5419465fbe59551','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074525.4717 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074525.4811 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074525.5350 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074525.5562 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074525.5569 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074525.5660 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074525.5741 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074525.5776 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe8699565fbe5958a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,110000,?,?,?)
20240321@074525.6275 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074525.6316 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074525.6322 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8699565fbe5958a','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074525.6326 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074525.6407 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240321@074525.6623 a85s3clhoupi636uhmpibanl3k 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'
20240321@074525.7106 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074525.7315 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074525.7808 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074525.8022 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074525.8084 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20240321@074525.8361 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074525.8757 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074525.9064 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074525.9411 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe4161265fbe595d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240321@074525.9901 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.8900 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074526.9600 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe4161265fbe595d5','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074526.1020 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074526.1060 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240321@074526.2420 a85s3clhoupi636uhmpibanl3k 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'
20240321@074526.4500 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074526.6600 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074526.9300 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.1082 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074526.1088 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301256100a'
20240321@074526.1101 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074526.1113 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074526.1134 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074526.1425 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1538665fbe5961b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20240321@074526.1993 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.2204 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074526.2285 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1538665fbe5961b','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074526.2341 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074526.2412 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240321@074526.2814 a85s3clhoupi636uhmpibanl3k 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.1834.00.1'
20240321@074526.3297 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074526.3313 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074526.3550 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.3622 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074526.3627 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240321@074526.3804 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074526.4012 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074526.4224 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074526.4504 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8871865fbe59661',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240321@074526.4991 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.5175 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074526.5180 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8871865fbe59661','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074526.5187 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074526.5360 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074526.5899 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.6036 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074526.6042 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074526.6172 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074526.6209 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074526.6328 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe8196065fbe59696',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,160000,?,?,?)
20240321@074526.6879 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.7091 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074526.7171 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8196065fbe59696','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074526.7215 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074526.7257 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20240321@074526.7506 a85s3clhoupi636uhmpibanl3k 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.2301.00.3'
20240321@074526.7664 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074526.7760 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074526.7847 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.7870 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074526.7876 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2300612200a'
20240321@074526.8122 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074526.8151 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074526.8328 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074526.8866 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe4413165fbe596c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20240321@074526.9408 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074526.9450 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074526.9455 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe4413165fbe596c6','aut65fbe1390665fbe5922a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074526.9459 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074526.9462 a85s3clhoupi636uhmpibanl3k Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240321@074526.9479 a85s3clhoupi636uhmpibanl3k 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.5500.00.1'
20240321@074527.1220 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074527.3910 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074527.1857 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074527.2133 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074527.2220 a85s3clhoupi636uhmpibanl3k Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r230083020'
20240321@074527.2290 a85s3clhoupi636uhmpibanl3k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074527.2607 a85s3clhoupi636uhmpibanl3k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074527.2837 a85s3clhoupi636uhmpibanl3k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074527.3326 a85s3clhoupi636uhmpibanl3k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe6418665fbe5973f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65fbe1390665fbe5922a' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240321@074527.3905 a85s3clhoupi636uhmpibanl3k Query : use flama_phc
20240321@074527.3949 a85s3clhoupi636uhmpibanl3k Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240321@074527.4073 a85s3clhoupi636uhmpibanl3k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='719';
20240321@074527.4170 a85s3clhoupi636uhmpibanl3k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='719';
20240321@074527.5482 9t9329s3a5bum7uvkpiko3u6n5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074527.5496 9t9329s3a5bum7uvkpiko3u6n5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074527.5516 9t9329s3a5bum7uvkpiko3u6n5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='720';
20240321@074527.5651 9t9329s3a5bum7uvkpiko3u6n5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='720';
20240321@074527.5669 9t9329s3a5bum7uvkpiko3u6n5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='720';
20240321@074527.5684 9t9329s3a5bum7uvkpiko3u6n5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='720';
20240321@074527.5701 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.5705 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074527.5721 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.5724 9t9329s3a5bum7uvkpiko3u6n5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20240321@074527.5816 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074527.5829 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402238 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074527.6199 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.6205 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074527.6223 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.6226 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074527.6238 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.6241 9t9329s3a5bum7uvkpiko3u6n5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074527.6255 9t9329s3a5bum7uvkpiko3u6n5 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
20240321@074527.6273 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.6276 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074527.6287 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.6290 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074527.6301 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.6305 9t9329s3a5bum7uvkpiko3u6n5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074527.6317 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.6321 9t9329s3a5bum7uvkpiko3u6n5 Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20240321@074527.6335 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.6338 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from td where ndoc = 39
20240321@074527.6351 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074527.6365 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074527.6381 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074527.6398 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074527.6413 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074527.6444 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074527.6458 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074527.6473 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074527.6569 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074527.6580 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074527.6594 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074527.6605 9t9329s3a5bum7uvkpiko3u6n5 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe7354065fbe5979e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074527.6872 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074527.6890 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074527.6928 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074527.6935 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074527.6940 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074527.6945 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074527.6949 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074527.6955 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074527.6959 9t9329s3a5bum7uvkpiko3u6n5 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe7354065fbe5979e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074527.7225 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074527.7242 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074527.7258 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074527.7281 9t9329s3a5bum7uvkpiko3u6n5 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 ('aut65fbe7354065fbe5979e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',536,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074527.7840 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.7921 9t9329s3a5bum7uvkpiko3u6n5 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074527.8102 9t9329s3a5bum7uvkpiko3u6n5 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'
20240321@074527.8115 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074527.8268 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074527.8796 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074527.8810 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074527.8815 9t9329s3a5bum7uvkpiko3u6n5 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074527.8825 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074527.8836 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074527.8850 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074527.8873 9t9329s3a5bum7uvkpiko3u6n5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2755765fbe597d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe7354065fbe5979e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074527.9136 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074527.9152 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074527.9158 9t9329s3a5bum7uvkpiko3u6n5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2755765fbe597d7','aut65fbe7354065fbe5979e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074527.9163 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074527.9176 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074527.9200 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074527.9213 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074527.9217 9t9329s3a5bum7uvkpiko3u6n5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074527.9226 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074527.9239 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074527.9262 9t9329s3a5bum7uvkpiko3u6n5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe3285265fbe597e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe7354065fbe5979e' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074527.9524 9t9329s3a5bum7uvkpiko3u6n5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074527.9539 9t9329s3a5bum7uvkpiko3u6n5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074527.9544 9t9329s3a5bum7uvkpiko3u6n5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe3285265fbe597e1','aut65fbe7354065fbe5979e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074527.9549 9t9329s3a5bum7uvkpiko3u6n5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe7354065fbe5979e','2402238','wait',39,'ari17112337378,753000005')
20240321@074527.9566 9t9329s3a5bum7uvkpiko3u6n5 Query : use flama_phc
20240321@074527.9569 9t9329s3a5bum7uvkpiko3u6n5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074527.9582 9t9329s3a5bum7uvkpiko3u6n5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='720';
20240321@074527.9602 9t9329s3a5bum7uvkpiko3u6n5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='720';
20240321@074527.9617 9t9329s3a5bum7uvkpiko3u6n5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='720';
20240321@074527.9631 9t9329s3a5bum7uvkpiko3u6n5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='720';
20240321@074528.6300 vnh2fl9r4qdb014lng23qbi7l3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074528.7600 vnh2fl9r4qdb014lng23qbi7l3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074528.9300 vnh2fl9r4qdb014lng23qbi7l3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='721';
20240321@074528.1330 vnh2fl9r4qdb014lng23qbi7l3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='721';
20240321@074528.1480 vnh2fl9r4qdb014lng23qbi7l3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='721';
20240321@074528.1610 vnh2fl9r4qdb014lng23qbi7l3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='721';
20240321@074528.1830 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.1870 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074528.1990 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.2020 vnh2fl9r4qdb014lng23qbi7l3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=634
20240321@074528.2920 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074528.3040 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402239 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074528.6290 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.6330 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074528.6720 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.6750 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074528.6850 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.6880 vnh2fl9r4qdb014lng23qbi7l3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074528.6990 vnh2fl9r4qdb014lng23qbi7l3 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
20240321@074528.7130 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.7150 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074528.7250 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.7290 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074528.7710 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.7750 vnh2fl9r4qdb014lng23qbi7l3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074528.7860 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.7890 vnh2fl9r4qdb014lng23qbi7l3 Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom - covilhã'
20240321@074528.8020 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.8050 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from td where ndoc = 39
20240321@074528.8150 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074528.8260 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074528.8460 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074528.8650 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074528.8850 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074528.9180 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074528.9340 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074528.9450 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074528.1134 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074528.1145 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074528.1161 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074528.1176 vnh2fl9r4qdb014lng23qbi7l3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe3045165fbe59817' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074528.1407 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074528.1424 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074528.1481 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074528.1486 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074528.1491 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074528.1496 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074528.1501 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074528.1506 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074528.1510 vnh2fl9r4qdb014lng23qbi7l3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe3045165fbe59817',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074528.1781 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074528.1799 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074528.1815 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074528.1835 vnh2fl9r4qdb014lng23qbi7l3 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 ('aut65fbe3045165fbe59817',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',537,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074528.2121 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.2127 vnh2fl9r4qdb014lng23qbi7l3 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074528.2141 vnh2fl9r4qdb014lng23qbi7l3 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'
20240321@074528.2155 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074528.2172 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074528.2200 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074528.2215 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074528.2221 vnh2fl9r4qdb014lng23qbi7l3 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074528.2233 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074528.2245 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074528.2260 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074528.2292 vnh2fl9r4qdb014lng23qbi7l3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2641265fbe59836',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe3045165fbe59817' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074528.2558 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074528.2576 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074528.2582 vnh2fl9r4qdb014lng23qbi7l3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2641265fbe59836','aut65fbe3045165fbe59817' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074528.2588 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074528.2603 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074528.2634 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074528.2648 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074528.2653 vnh2fl9r4qdb014lng23qbi7l3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074528.2663 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074528.2677 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074528.2702 vnh2fl9r4qdb014lng23qbi7l3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe6000865fbe59841',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe3045165fbe59817' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074528.2960 vnh2fl9r4qdb014lng23qbi7l3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074528.2976 vnh2fl9r4qdb014lng23qbi7l3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074528.2980 vnh2fl9r4qdb014lng23qbi7l3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe6000865fbe59841','aut65fbe3045165fbe59817' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074528.2985 vnh2fl9r4qdb014lng23qbi7l3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe3045165fbe59817','2402239','wait',39,'ari17112337378,753000005')
20240321@074528.3003 vnh2fl9r4qdb014lng23qbi7l3 Query : use flama_phc
20240321@074528.3006 vnh2fl9r4qdb014lng23qbi7l3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074528.3017 vnh2fl9r4qdb014lng23qbi7l3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='721';
20240321@074528.3033 vnh2fl9r4qdb014lng23qbi7l3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='721';
20240321@074528.3049 vnh2fl9r4qdb014lng23qbi7l3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='721';
20240321@074528.3063 vnh2fl9r4qdb014lng23qbi7l3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='721';
20240321@074528.3478 5i2vu00hk01dpl16lvdn9q2o1t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074528.3492 5i2vu00hk01dpl16lvdn9q2o1t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074528.3511 5i2vu00hk01dpl16lvdn9q2o1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='722';
20240321@074528.3550 5i2vu00hk01dpl16lvdn9q2o1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='722';
20240321@074528.3565 5i2vu00hk01dpl16lvdn9q2o1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='722';
20240321@074528.3577 5i2vu00hk01dpl16lvdn9q2o1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='722';
20240321@074528.3590 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.3593 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074528.3606 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.3609 5i2vu00hk01dpl16lvdn9q2o1t Query : select no, estab,szadrsdesc from szadrs where u_coddest=2374
20240321@074528.3693 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074528.3705 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402240 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074528.4032 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.4036 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074528.4050 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.4053 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074528.4064 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.4067 5i2vu00hk01dpl16lvdn9q2o1t Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074528.4077 5i2vu00hk01dpl16lvdn9q2o1t 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
20240321@074528.4361 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.4404 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074528.5329 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.5333 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074528.5345 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.5348 5i2vu00hk01dpl16lvdn9q2o1t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074528.5359 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.5362 5i2vu00hk01dpl16lvdn9q2o1t Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - vila real'
20240321@074528.5375 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.5379 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from td where ndoc = 39
20240321@074528.5390 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074528.5401 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074528.5416 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074528.5435 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074528.5478 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074528.5528 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074528.5541 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074528.5553 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074528.5651 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074528.5661 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074528.5678 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074528.5689 5i2vu00hk01dpl16lvdn9q2o1t Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe2348765fbe59887' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074528.5894 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074528.5911 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074528.5941 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074528.5946 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074528.5951 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074528.5956 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074528.5960 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074528.5965 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074528.5970 5i2vu00hk01dpl16lvdn9q2o1t Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe2348765fbe59887',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074528.6215 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074528.6967 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074528.7343 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074528.8339 5i2vu00hk01dpl16lvdn9q2o1t 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 ('aut65fbe2348765fbe59887',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',538,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074528.8631 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.8635 5i2vu00hk01dpl16lvdn9q2o1t Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074528.8647 5i2vu00hk01dpl16lvdn9q2o1t 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'
20240321@074528.8659 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074528.8679 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074528.8703 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074528.8718 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074528.8723 5i2vu00hk01dpl16lvdn9q2o1t Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074528.8732 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074528.8743 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074528.8755 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074528.8781 5i2vu00hk01dpl16lvdn9q2o1t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8581265fbe598d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe2348765fbe59887' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074528.9050 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074528.9067 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074528.9072 5i2vu00hk01dpl16lvdn9q2o1t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8581265fbe598d5','aut65fbe2348765fbe59887' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074528.9077 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074528.9091 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074528.9119 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074528.9132 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074528.9136 5i2vu00hk01dpl16lvdn9q2o1t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074528.9146 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074528.9160 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074528.9183 5i2vu00hk01dpl16lvdn9q2o1t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe7236765fbe598df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe2348765fbe59887' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074528.9531 5i2vu00hk01dpl16lvdn9q2o1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074528.9548 5i2vu00hk01dpl16lvdn9q2o1t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074528.9553 5i2vu00hk01dpl16lvdn9q2o1t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe7236765fbe598df','aut65fbe2348765fbe59887' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074528.9557 5i2vu00hk01dpl16lvdn9q2o1t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe2348765fbe59887','2402240','wait',39,'ari17112337378,753000005')
20240321@074528.9574 5i2vu00hk01dpl16lvdn9q2o1t Query : use flama_phc
20240321@074528.9578 5i2vu00hk01dpl16lvdn9q2o1t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074528.9590 5i2vu00hk01dpl16lvdn9q2o1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='722';
20240321@074528.9607 5i2vu00hk01dpl16lvdn9q2o1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='722';
20240321@074528.9622 5i2vu00hk01dpl16lvdn9q2o1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='722';
20240321@074528.9635 5i2vu00hk01dpl16lvdn9q2o1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='722';
20240321@074529.6500 qhijv8npiov2u4dh2pta40g3qd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074529.8300 qhijv8npiov2u4dh2pta40g3qd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074529.1030 qhijv8npiov2u4dh2pta40g3qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='723';
20240321@074529.1430 qhijv8npiov2u4dh2pta40g3qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='723';
20240321@074529.1610 qhijv8npiov2u4dh2pta40g3qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='723';
20240321@074529.1740 qhijv8npiov2u4dh2pta40g3qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='723';
20240321@074529.1900 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.1930 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074529.2060 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.2090 qhijv8npiov2u4dh2pta40g3qd Query : select no, estab,szadrsdesc from szadrs where u_coddest=3304
20240321@074529.2920 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074529.3040 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402241 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074529.6430 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074529.6550 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402241 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074529.6610 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.6640 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074529.6770 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.6810 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074529.6910 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.6940 qhijv8npiov2u4dh2pta40g3qd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074529.7050 qhijv8npiov2u4dh2pta40g3qd 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
20240321@074529.7210 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.7250 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074529.7350 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.7380 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074529.7490 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.7510 qhijv8npiov2u4dh2pta40g3qd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074529.7620 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.7650 qhijv8npiov2u4dh2pta40g3qd Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - chaves'
20240321@074529.7780 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.7810 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from td where ndoc = 39
20240321@074529.7910 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074529.8020 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074529.8150 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074529.8420 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074529.8600 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074529.8880 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074529.9010 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074529.9130 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074529.1011 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074529.1022 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074529.1035 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074529.1046 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe7703065fbe59916' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074529.1239 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074529.1255 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074529.1284 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074529.1290 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074529.1295 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074529.1300 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074529.1305 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074529.1310 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074529.1315 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe7703065fbe59916',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074529.1570 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074529.1586 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074529.1600 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074529.1617 qhijv8npiov2u4dh2pta40g3qd 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 ('aut65fbe7703065fbe59916',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',539,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074529.1999 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.2038 qhijv8npiov2u4dh2pta40g3qd Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074529.2051 qhijv8npiov2u4dh2pta40g3qd 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'
20240321@074529.2065 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.2079 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074529.2202 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.2228 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074529.2232 qhijv8npiov2u4dh2pta40g3qd Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074529.2245 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074529.2255 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.2275 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074529.2300 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8638665fbe59937',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe7703065fbe59916' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074529.2598 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.2619 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074529.2624 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8638665fbe59937','aut65fbe7703065fbe59916' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074529.2629 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.2643 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074529.2669 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.2682 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074529.2688 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074529.2697 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.2709 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074529.2733 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe4541965fbe59941',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe7703065fbe59916' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074529.3003 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.3019 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074529.3024 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe4541965fbe59941','aut65fbe7703065fbe59916' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074529.3029 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.3032 qhijv8npiov2u4dh2pta40g3qd Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074529.3044 qhijv8npiov2u4dh2pta40g3qd 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'
20240321@074529.3056 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.3073 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074529.3098 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.3112 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074529.3117 qhijv8npiov2u4dh2pta40g3qd Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074529.3127 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074529.3138 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.3150 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074529.3177 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8952065fbe5994c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65fbe7703065fbe59916' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074529.3466 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.3481 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074529.3485 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8952065fbe5994c','aut65fbe7703065fbe59916' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074529.3490 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.3503 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074529.3526 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.3539 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074529.3543 qhijv8npiov2u4dh2pta40g3qd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074529.3553 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.3610 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074529.3636 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe1414965fbe59956',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe7703065fbe59916' ,0,0 ,2,23.00,50000,?,?,?)
20240321@074529.3940 qhijv8npiov2u4dh2pta40g3qd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.3955 qhijv8npiov2u4dh2pta40g3qd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074529.3960 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1414965fbe59956','aut65fbe7703065fbe59916' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074529.3964 qhijv8npiov2u4dh2pta40g3qd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe7703065fbe59916','2402241','wait',39,'ari17112337378,753000005')
20240321@074529.3982 qhijv8npiov2u4dh2pta40g3qd Query : use flama_phc
20240321@074529.3985 qhijv8npiov2u4dh2pta40g3qd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074529.3998 qhijv8npiov2u4dh2pta40g3qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='723';
20240321@074529.4014 qhijv8npiov2u4dh2pta40g3qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='723';
20240321@074529.4028 qhijv8npiov2u4dh2pta40g3qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='723';
20240321@074529.4040 qhijv8npiov2u4dh2pta40g3qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='723';
20240321@074529.4441 voesie28eciobe95gl85bn98fo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074529.4457 voesie28eciobe95gl85bn98fo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074529.4476 voesie28eciobe95gl85bn98fo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='724';
20240321@074529.4772 voesie28eciobe95gl85bn98fo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='724';
20240321@074529.4792 voesie28eciobe95gl85bn98fo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='724';
20240321@074529.5654 voesie28eciobe95gl85bn98fo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='724';
20240321@074529.5678 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.5683 voesie28eciobe95gl85bn98fo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074529.5730 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.5734 voesie28eciobe95gl85bn98fo Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20240321@074529.6026 voesie28eciobe95gl85bn98fo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074529.6037 voesie28eciobe95gl85bn98fo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402242 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074529.6465 voesie28eciobe95gl85bn98fo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074529.6476 voesie28eciobe95gl85bn98fo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402242 and bi.ref ='304.422.00.07' and bi.lordem =3
20240321@074529.6814 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.6818 voesie28eciobe95gl85bn98fo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074529.6830 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.6833 voesie28eciobe95gl85bn98fo Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074529.6842 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.6845 voesie28eciobe95gl85bn98fo Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074529.6856 voesie28eciobe95gl85bn98fo 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
20240321@074529.6869 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.6872 voesie28eciobe95gl85bn98fo Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074529.6882 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.6885 voesie28eciobe95gl85bn98fo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074529.6894 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.6897 voesie28eciobe95gl85bn98fo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074529.6907 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.6909 voesie28eciobe95gl85bn98fo Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20240321@074529.6923 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.6926 voesie28eciobe95gl85bn98fo Query : select 1 valor from td where ndoc = 39
20240321@074529.6935 voesie28eciobe95gl85bn98fo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074529.6945 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074529.6959 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074529.6974 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074529.6987 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074529.7013 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074529.7026 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074529.7036 voesie28eciobe95gl85bn98fo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074529.7133 voesie28eciobe95gl85bn98fo Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074529.7142 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074529.7155 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074529.7165 voesie28eciobe95gl85bn98fo Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe9223265fbe599ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074529.7380 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074529.7395 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074529.7422 voesie28eciobe95gl85bn98fo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074529.7427 voesie28eciobe95gl85bn98fo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074529.7431 voesie28eciobe95gl85bn98fo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074529.7436 voesie28eciobe95gl85bn98fo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074529.7440 voesie28eciobe95gl85bn98fo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074529.7444 voesie28eciobe95gl85bn98fo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074529.7449 voesie28eciobe95gl85bn98fo Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe9223265fbe599ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074529.7758 voesie28eciobe95gl85bn98fo Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074529.7773 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074529.7787 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074529.7803 voesie28eciobe95gl85bn98fo 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 ('aut65fbe9223265fbe599ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',540,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074529.8119 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.8123 voesie28eciobe95gl85bn98fo Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074529.8134 voesie28eciobe95gl85bn98fo 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'
20240321@074529.8145 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.8158 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074529.8181 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.8194 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074529.8198 voesie28eciobe95gl85bn98fo Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074529.8207 voesie28eciobe95gl85bn98fo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074529.8219 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.8230 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074529.8254 voesie28eciobe95gl85bn98fo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe9522865fbe599c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe9223265fbe599ab' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074529.8522 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.8537 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074529.8541 voesie28eciobe95gl85bn98fo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe9522865fbe599c8','aut65fbe9223265fbe599ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074529.8547 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.8559 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074529.8584 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.8595 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074529.8599 voesie28eciobe95gl85bn98fo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074529.8608 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.8619 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074529.8640 voesie28eciobe95gl85bn98fo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe5070365fbe599d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe9223265fbe599ab' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074529.8929 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.8945 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074529.8949 voesie28eciobe95gl85bn98fo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5070365fbe599d2','aut65fbe9223265fbe599ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074529.8953 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.8957 voesie28eciobe95gl85bn98fo Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074529.8968 voesie28eciobe95gl85bn98fo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074529.8978 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.8992 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074529.9013 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.9026 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074529.9030 voesie28eciobe95gl85bn98fo Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230723'
20240321@074529.9039 voesie28eciobe95gl85bn98fo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074529.9048 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074529.9059 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074529.9080 voesie28eciobe95gl85bn98fo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe5046365fbe599dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe9223265fbe599ab' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074529.9346 voesie28eciobe95gl85bn98fo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074529.9361 voesie28eciobe95gl85bn98fo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074529.9365 voesie28eciobe95gl85bn98fo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5046365fbe599dc','aut65fbe9223265fbe599ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074529.9369 voesie28eciobe95gl85bn98fo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe9223265fbe599ab','2402242','wait',39,'ari17112337378,753000005')
20240321@074529.9390 voesie28eciobe95gl85bn98fo Query : use flama_phc
20240321@074529.9393 voesie28eciobe95gl85bn98fo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074529.9405 voesie28eciobe95gl85bn98fo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='724';
20240321@074529.9421 voesie28eciobe95gl85bn98fo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='724';
20240321@074529.9436 voesie28eciobe95gl85bn98fo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='724';
20240321@074529.9448 voesie28eciobe95gl85bn98fo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='724';
20240321@074529.9858 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074529.9971 4k0g7urbvj2dfqv4uucem5jaj7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074530.1570 4k0g7urbvj2dfqv4uucem5jaj7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='725';
20240321@074530.1950 4k0g7urbvj2dfqv4uucem5jaj7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='725';
20240321@074530.2890 4k0g7urbvj2dfqv4uucem5jaj7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='725';
20240321@074530.5010 4k0g7urbvj2dfqv4uucem5jaj7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='725';
20240321@074530.5870 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.6280 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074530.8400 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.8810 4k0g7urbvj2dfqv4uucem5jaj7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1452
20240321@074530.1122 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074530.1173 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402244 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074530.1852 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074530.1949 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402244 and bi.ref ='304.422.00.07' and bi.lordem =3
20240321@074530.2631 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.2673 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074530.2884 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.2924 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074530.3135 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.4026 4k0g7urbvj2dfqv4uucem5jaj7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074530.4315 4k0g7urbvj2dfqv4uucem5jaj7 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
20240321@074530.4332 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.4336 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074530.4353 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.4356 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074530.4369 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.4454 4k0g7urbvj2dfqv4uucem5jaj7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074530.4636 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.4639 4k0g7urbvj2dfqv4uucem5jaj7 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - castelo branco'
20240321@074530.4652 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.4655 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from td where ndoc = 39
20240321@074530.4791 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074530.5041 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074530.5252 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074530.5489 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074530.5585 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074530.5689 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074530.5704 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074530.5714 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074530.5942 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074530.6248 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074530.6265 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074530.6404 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe7930265fbe59a8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074530.6808 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074530.7017 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074530.7356 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074530.7437 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074530.7463 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074530.7469 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074530.7474 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074530.7479 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074530.7484 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe7930265fbe59a8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074530.8056 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074530.8197 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074530.8409 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074530.8782 4k0g7urbvj2dfqv4uucem5jaj7 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 ('aut65fbe7930265fbe59a8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',541,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074530.9409 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074530.9414 4k0g7urbvj2dfqv4uucem5jaj7 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074530.9426 4k0g7urbvj2dfqv4uucem5jaj7 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'
20240321@074530.9438 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074530.9452 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074530.9477 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074530.9490 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074530.9495 4k0g7urbvj2dfqv4uucem5jaj7 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074530.9505 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074530.9515 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074530.9731 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074531.1347 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2576965fbe59ae8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe7930265fbe59a8b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074531.1913 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074531.1929 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074531.2013 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2576965fbe59ae8','aut65fbe7930265fbe59a8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074531.2057 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074531.2127 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074531.2156 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074531.2171 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074531.2176 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074531.2188 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074531.2201 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074531.2240 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe4489765fbe59b35',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe7930265fbe59a8b' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074531.2913 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074531.3197 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074531.3284 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe4489765fbe59b35','aut65fbe7930265fbe59a8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074531.3332 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074531.3380 4k0g7urbvj2dfqv4uucem5jaj7 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074531.3625 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074531.3834 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074531.4050 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074531.4277 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074531.4292 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074531.4297 4k0g7urbvj2dfqv4uucem5jaj7 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230723'
20240321@074531.4307 4k0g7urbvj2dfqv4uucem5jaj7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074531.4317 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074531.4336 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074531.4608 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe2658365fbe59b69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe7930265fbe59a8b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074531.5131 4k0g7urbvj2dfqv4uucem5jaj7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074531.5339 4k0g7urbvj2dfqv4uucem5jaj7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074531.5421 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe2658365fbe59b69','aut65fbe7930265fbe59a8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074531.5464 4k0g7urbvj2dfqv4uucem5jaj7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe7930265fbe59a8b','2402244','wait',39,'ari17112337378,753000005')
20240321@074531.5646 4k0g7urbvj2dfqv4uucem5jaj7 Query : use flama_phc
20240321@074531.5684 4k0g7urbvj2dfqv4uucem5jaj7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074531.5743 4k0g7urbvj2dfqv4uucem5jaj7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='725';
20240321@074531.5840 4k0g7urbvj2dfqv4uucem5jaj7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='725';
20240321@074531.5912 4k0g7urbvj2dfqv4uucem5jaj7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='725';
20240321@074531.5928 4k0g7urbvj2dfqv4uucem5jaj7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='725';
20240321@074531.6391 jj1090ijtpr9g35r2787u0attk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074531.6404 jj1090ijtpr9g35r2787u0attk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074531.6422 jj1090ijtpr9g35r2787u0attk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='726';
20240321@074531.6461 jj1090ijtpr9g35r2787u0attk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='726';
20240321@074531.6497 jj1090ijtpr9g35r2787u0attk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='726';
20240321@074531.6510 jj1090ijtpr9g35r2787u0attk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='726';
20240321@074531.6527 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.6531 jj1090ijtpr9g35r2787u0attk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074531.6543 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.6546 jj1090ijtpr9g35r2787u0attk Query : select no, estab,szadrsdesc from szadrs where u_coddest=1453
20240321@074531.6628 jj1090ijtpr9g35r2787u0attk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240321@074531.6639 jj1090ijtpr9g35r2787u0attk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402245 and bi.ref ='304.421.00.04' and bi.lordem =1
20240321@074531.6976 jj1090ijtpr9g35r2787u0attk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074531.6988 jj1090ijtpr9g35r2787u0attk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402245 and bi.ref ='304.422.00.07' and bi.lordem =3
20240321@074531.7640 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.8197 jj1090ijtpr9g35r2787u0attk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074531.8427 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.8431 jj1090ijtpr9g35r2787u0attk Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074531.8442 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.8445 jj1090ijtpr9g35r2787u0attk Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074531.8456 jj1090ijtpr9g35r2787u0attk 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
20240321@074531.8471 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.8473 jj1090ijtpr9g35r2787u0attk Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074531.8484 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.8487 jj1090ijtpr9g35r2787u0attk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074531.8499 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.8502 jj1090ijtpr9g35r2787u0attk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074531.8512 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.8515 jj1090ijtpr9g35r2787u0attk Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - batalha'
20240321@074531.8527 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.8530 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from td where ndoc = 39
20240321@074531.8539 jj1090ijtpr9g35r2787u0attk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074531.8550 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074531.8565 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074531.8581 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074531.8595 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074531.8621 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074531.8633 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074531.8644 jj1090ijtpr9g35r2787u0attk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074531.8737 jj1090ijtpr9g35r2787u0attk Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074531.8746 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074531.8759 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074531.8769 jj1090ijtpr9g35r2787u0attk Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe4586365fbe59bd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074531.8962 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074531.8977 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074531.9005 jj1090ijtpr9g35r2787u0attk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074531.9009 jj1090ijtpr9g35r2787u0attk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074531.9015 jj1090ijtpr9g35r2787u0attk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074531.9020 jj1090ijtpr9g35r2787u0attk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074531.9024 jj1090ijtpr9g35r2787u0attk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074531.9029 jj1090ijtpr9g35r2787u0attk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074531.9033 jj1090ijtpr9g35r2787u0attk Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe4586365fbe59bd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074531.9308 jj1090ijtpr9g35r2787u0attk Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074531.9324 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074531.9341 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074531.9359 jj1090ijtpr9g35r2787u0attk 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 ('aut65fbe4586365fbe59bd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',542,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074531.9661 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074531.9665 jj1090ijtpr9g35r2787u0attk Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240321@074531.9676 jj1090ijtpr9g35r2787u0attk 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'
20240321@074531.9688 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074531.9701 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074531.9724 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074531.9737 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074531.9742 jj1090ijtpr9g35r2787u0attk Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240321@074531.9751 jj1090ijtpr9g35r2787u0attk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074531.9761 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074531.9774 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074531.9797 jj1090ijtpr9g35r2787u0attk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0482665fbe59bee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65fbe4586365fbe59bd3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074532.6000 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.7600 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074532.8000 jj1090ijtpr9g35r2787u0attk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0482665fbe59bee','aut65fbe4586365fbe59bd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074532.8500 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.9800 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074532.1210 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.1320 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074532.1360 jj1090ijtpr9g35r2787u0attk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074532.1460 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.1570 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074532.1790 jj1090ijtpr9g35r2787u0attk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe5593265fbe59c03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe4586365fbe59bd3' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074532.4510 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.4670 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074532.4730 jj1090ijtpr9g35r2787u0attk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5593265fbe59c03','aut65fbe4586365fbe59bd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074532.4780 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074532.4820 jj1090ijtpr9g35r2787u0attk Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074532.4930 jj1090ijtpr9g35r2787u0attk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074532.5050 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.5200 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074532.5440 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.5580 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074532.5640 jj1090ijtpr9g35r2787u0attk Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240321@074532.5840 jj1090ijtpr9g35r2787u0attk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074532.5970 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.6110 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074532.6380 jj1090ijtpr9g35r2787u0attk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1271665fbe59c0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe4586365fbe59bd3' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074532.9240 jj1090ijtpr9g35r2787u0attk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.9420 jj1090ijtpr9g35r2787u0attk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074532.9470 jj1090ijtpr9g35r2787u0attk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1271665fbe59c0e','aut65fbe4586365fbe59bd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074532.9520 jj1090ijtpr9g35r2787u0attk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe4586365fbe59bd3','2402245','wait',39,'ari17112337378,753000005')
20240321@074532.9690 jj1090ijtpr9g35r2787u0attk Query : use flama_phc
20240321@074532.9720 jj1090ijtpr9g35r2787u0attk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074532.9840 jj1090ijtpr9g35r2787u0attk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='726';
20240321@074532.1000 jj1090ijtpr9g35r2787u0attk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='726';
20240321@074532.1014 jj1090ijtpr9g35r2787u0attk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='726';
20240321@074532.1030 jj1090ijtpr9g35r2787u0attk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='726';
20240321@074532.1438 35tu98rkldlm713b1cmmtoqjgv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074532.1455 35tu98rkldlm713b1cmmtoqjgv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074532.1479 35tu98rkldlm713b1cmmtoqjgv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='727';
20240321@074532.1743 35tu98rkldlm713b1cmmtoqjgv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='727';
20240321@074532.1807 35tu98rkldlm713b1cmmtoqjgv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='727';
20240321@074532.1825 35tu98rkldlm713b1cmmtoqjgv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='727';
20240321@074532.1840 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.1847 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074532.1862 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.1866 35tu98rkldlm713b1cmmtoqjgv Query : select no, estab,szadrsdesc from szadrs where u_coddest=188
20240321@074532.1960 35tu98rkldlm713b1cmmtoqjgv 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'
20240321@074532.2151 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402246 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240321@074532.2710 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240321@074532.2723 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402246 and bi.ref ='324.1834.00.1' and bi.lordem =2
20240321@074532.3060 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.3064 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074532.3082 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.3085 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074532.3097 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.3100 35tu98rkldlm713b1cmmtoqjgv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074532.3111 35tu98rkldlm713b1cmmtoqjgv 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
20240321@074532.3125 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.3128 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20240321@074532.3243 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.3247 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074532.3260 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.3264 35tu98rkldlm713b1cmmtoqjgv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074532.3276 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.3280 35tu98rkldlm713b1cmmtoqjgv Query : select szadrsstamp valor from szadrs where szadrsdesc='media markt nascente, lda.'
20240321@074532.3296 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.3300 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from td where ndoc = 39
20240321@074532.3311 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074532.3324 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074532.3342 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074532.3364 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074532.3380 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074532.3410 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074532.3424 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074532.3434 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074532.3535 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074532.3548 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074532.3564 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074532.3574 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe3525765fbe59c53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074532.3768 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074532.3784 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074532.3816 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074532.3824 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074532.3829 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074532.3834 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074532.3838 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074532.3844 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074532.3848 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe3525765fbe59c53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074532.4149 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074532.4165 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074532.4180 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074532.4199 35tu98rkldlm713b1cmmtoqjgv 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 ('aut65fbe3525765fbe59c53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',543,101987,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074532.4530 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.4535 35tu98rkldlm713b1cmmtoqjgv Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240321@074532.4547 35tu98rkldlm713b1cmmtoqjgv 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'
20240321@074532.4724 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.4738 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074532.4762 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.4775 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074532.4780 35tu98rkldlm713b1cmmtoqjgv Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301208200a'
20240321@074532.4791 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074532.4800 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.4813 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074532.4836 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0808565fbe59c75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65fbe3525765fbe59c53' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074532.5145 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.5160 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074532.5165 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0808565fbe59c75','aut65fbe3525765fbe59c53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074532.5170 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.5183 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074532.5205 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.5218 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074532.5222 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074532.5233 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.5245 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074532.5268 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe7975265fbe59c7f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe3525765fbe59c53' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074532.5697 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.5904 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074532.5908 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe7975265fbe59c7f','aut65fbe3525765fbe59c53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074532.5913 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.5917 35tu98rkldlm713b1cmmtoqjgv Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240321@074532.6764 35tu98rkldlm713b1cmmtoqjgv 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.1834.00.1'
20240321@074532.6781 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.6798 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074532.6824 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.6839 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074532.6843 35tu98rkldlm713b1cmmtoqjgv Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240321@074532.6853 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074532.6864 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.6877 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074532.6901 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe1165565fbe59ca7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65fbe3525765fbe59c53' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074532.7149 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.7165 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074532.7169 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe1165565fbe59ca7','aut65fbe3525765fbe59c53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074532.7174 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.7187 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074532.7210 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.7223 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074532.7227 35tu98rkldlm713b1cmmtoqjgv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074532.7237 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074532.7249 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074532.7275 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe8605465fbe59cb0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe3525765fbe59c53' ,0,0 ,2,23.00,50000,?,?,?)
20240321@074532.7540 35tu98rkldlm713b1cmmtoqjgv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074532.7556 35tu98rkldlm713b1cmmtoqjgv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074532.7561 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8605465fbe59cb0','aut65fbe3525765fbe59c53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074532.7566 35tu98rkldlm713b1cmmtoqjgv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe3525765fbe59c53','2402246','wait',39,'ari17112337378,753000005')
20240321@074532.7583 35tu98rkldlm713b1cmmtoqjgv Query : use flama_phc
20240321@074532.7587 35tu98rkldlm713b1cmmtoqjgv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074532.7599 35tu98rkldlm713b1cmmtoqjgv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='727';
20240321@074532.7617 35tu98rkldlm713b1cmmtoqjgv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='727';
20240321@074532.7631 35tu98rkldlm713b1cmmtoqjgv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='727';
20240321@074532.7644 35tu98rkldlm713b1cmmtoqjgv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='727';
20240321@074532.8091 vudmgfnntr3bulg3306tbeaftj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074532.8107 vudmgfnntr3bulg3306tbeaftj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074532.8128 vudmgfnntr3bulg3306tbeaftj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='728';
20240321@074532.8171 vudmgfnntr3bulg3306tbeaftj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='728';
20240321@074532.8190 vudmgfnntr3bulg3306tbeaftj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='728';
20240321@074532.8207 vudmgfnntr3bulg3306tbeaftj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='728';
20240321@074532.8225 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074532.8229 vudmgfnntr3bulg3306tbeaftj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074532.8245 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074532.8250 vudmgfnntr3bulg3306tbeaftj Query : select no, estab,szadrsdesc from szadrs where u_coddest=755
20240321@074532.8356 vudmgfnntr3bulg3306tbeaftj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20240321@074532.8542 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402248 and bi.ref ='324.1293.00.1' and bi.lordem =1
20240321@074532.8873 vudmgfnntr3bulg3306tbeaftj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9306.00.1'
20240321@074532.9024 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402248 and bi.ref ='328.9306.00.1' and bi.lordem =2
20240321@074532.9631 vudmgfnntr3bulg3306tbeaftj 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'
20240321@074532.9786 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402248 and bi.ref ='328.9316.00.1' and bi.lordem =3
20240321@074533.1630 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.1670 vudmgfnntr3bulg3306tbeaftj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074533.1800 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.1840 vudmgfnntr3bulg3306tbeaftj Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074533.1930 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.1960 vudmgfnntr3bulg3306tbeaftj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074533.2080 vudmgfnntr3bulg3306tbeaftj 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
20240321@074533.2230 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.2260 vudmgfnntr3bulg3306tbeaftj Query : select top 1 ~inactivo valor from cl where no = '101622' and estab = 0 order by inactivo desc
20240321@074533.3290 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.3330 vudmgfnntr3bulg3306tbeaftj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074533.3440 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.3480 vudmgfnntr3bulg3306tbeaftj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074533.3600 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.3630 vudmgfnntr3bulg3306tbeaftj Query : select szadrsstamp valor from szadrs where szadrsdesc='afonso & rocha-comercio elect.,lda'
20240321@074533.3760 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.3790 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from td where ndoc = 39
20240321@074533.3890 vudmgfnntr3bulg3306tbeaftj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074533.4000 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074533.4140 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074533.4310 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074533.4450 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074533.4710 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074533.4840 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074533.4940 vudmgfnntr3bulg3306tbeaftj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074533.5860 vudmgfnntr3bulg3306tbeaftj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074533.5960 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074533.6110 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074533.6220 vudmgfnntr3bulg3306tbeaftj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe2881065fbe59d0c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074533.8160 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074533.8330 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074533.8630 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074533.8680 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074533.8730 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074533.8780 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074533.8830 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074533.8870 vudmgfnntr3bulg3306tbeaftj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074533.8910 vudmgfnntr3bulg3306tbeaftj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe2881065fbe59d0c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074533.1150 vudmgfnntr3bulg3306tbeaftj Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074533.1168 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074533.1181 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074533.1199 vudmgfnntr3bulg3306tbeaftj 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 ('aut65fbe2881065fbe59d0c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',544,101622,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074533.1531 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.1536 vudmgfnntr3bulg3306tbeaftj Query : select st.usalote valor from st where st.ref = '324.1293.00.1'
20240321@074533.1550 vudmgfnntr3bulg3306tbeaftj 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.1293.00.1'
20240321@074533.1716 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.1732 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074533.1759 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.1775 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074533.1780 vudmgfnntr3bulg3306tbeaftj Query : select sestamp valor from se where ref ='324.1293.00.1' and lote = 'r2101042200a'
20240321@074533.1799 vudmgfnntr3bulg3306tbeaftj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074533.1809 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.1825 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074533.1850 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8251165fbe59d2c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fbe2881065fbe59d0c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074533.2117 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.2133 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074533.2138 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8251165fbe59d2c','aut65fbe2881065fbe59d0c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074533.2143 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.2156 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074533.2180 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.2192 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074533.2196 vudmgfnntr3bulg3306tbeaftj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074533.2206 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.2220 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074533.2242 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe7183865fbe59d35',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe2881065fbe59d0c' ,0,0 ,2,23.00,20000,?,?,?)
20240321@074533.2506 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.2523 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074533.2527 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe7183865fbe59d35','aut65fbe2881065fbe59d0c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074533.2532 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.2535 vudmgfnntr3bulg3306tbeaftj Query : select st.usalote valor from st where st.ref = '328.9306.00.1'
20240321@074533.2558 vudmgfnntr3bulg3306tbeaftj 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.9306.00.1'
20240321@074533.2715 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.2730 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074533.2753 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.2766 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074533.2770 vudmgfnntr3bulg3306tbeaftj Query : select sestamp valor from se where ref ='328.9306.00.1' and lote = 'r2300691300a'
20240321@074533.2793 vudmgfnntr3bulg3306tbeaftj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074533.2802 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.2816 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074533.2841 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe5807365fbe59d44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fbe2881065fbe59d0c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240321@074533.3092 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.3107 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074533.3112 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5807365fbe59d44','aut65fbe2881065fbe59d0c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074533.3116 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.3119 vudmgfnntr3bulg3306tbeaftj Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240321@074533.3132 vudmgfnntr3bulg3306tbeaftj 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'
20240321@074533.3289 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.3303 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074533.3327 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.3342 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074533.3346 vudmgfnntr3bulg3306tbeaftj Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2300691400a'
20240321@074533.3363 vudmgfnntr3bulg3306tbeaftj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074533.3373 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.3385 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074533.3409 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8146265fbe59d52',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65fbe2881065fbe59d0c' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240321@074533.3684 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.3819 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074533.3824 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8146265fbe59d52','aut65fbe2881065fbe59d0c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074533.3830 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.3844 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074533.3869 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.3883 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074533.3888 vudmgfnntr3bulg3306tbeaftj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074533.3898 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074533.3910 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074533.3934 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65fbe7259965fbe59d5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65fbe2881065fbe59d0c' ,0,0 ,2,23.00,60000,?,?,?)
20240321@074533.4206 vudmgfnntr3bulg3306tbeaftj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074533.4223 vudmgfnntr3bulg3306tbeaftj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074533.4228 vudmgfnntr3bulg3306tbeaftj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe7259965fbe59d5f','aut65fbe2881065fbe59d0c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074533.4233 vudmgfnntr3bulg3306tbeaftj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe2881065fbe59d0c','2402248','wait',39,'ari17112337378,753000005')
20240321@074533.4251 vudmgfnntr3bulg3306tbeaftj Query : use flama_phc
20240321@074533.4254 vudmgfnntr3bulg3306tbeaftj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074533.4266 vudmgfnntr3bulg3306tbeaftj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='728';
20240321@074533.4282 vudmgfnntr3bulg3306tbeaftj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='728';
20240321@074533.4296 vudmgfnntr3bulg3306tbeaftj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='728';
20240321@074533.4313 vudmgfnntr3bulg3306tbeaftj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='728';
20240321@074533.5784 bpei2uabeksq07r3tdchusk9pg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074533.5925 bpei2uabeksq07r3tdchusk9pg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074533.6343 bpei2uabeksq07r3tdchusk9pg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='729';
20240321@074533.6613 bpei2uabeksq07r3tdchusk9pg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='729';
20240321@074533.6706 bpei2uabeksq07r3tdchusk9pg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='729';
20240321@074533.6917 bpei2uabeksq07r3tdchusk9pg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='729';
20240321@074533.7001 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.7042 bpei2uabeksq07r3tdchusk9pg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074533.7134 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.7138 bpei2uabeksq07r3tdchusk9pg Query : select no, estab,szadrsdesc from szadrs where u_coddest=6855
20240321@074533.7386 bpei2uabeksq07r3tdchusk9pg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074533.7489 bpei2uabeksq07r3tdchusk9pg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402256 and bi.ref ='304.422.00.07' and bi.lordem =1
20240321@074533.8187 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.8229 bpei2uabeksq07r3tdchusk9pg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074533.8441 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.8483 bpei2uabeksq07r3tdchusk9pg Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074533.8648 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.8652 bpei2uabeksq07r3tdchusk9pg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074533.8784 bpei2uabeksq07r3tdchusk9pg 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
20240321@074533.8821 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.8824 bpei2uabeksq07r3tdchusk9pg Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074533.8835 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.8838 bpei2uabeksq07r3tdchusk9pg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074533.8855 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.8859 bpei2uabeksq07r3tdchusk9pg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074533.9067 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.9108 bpei2uabeksq07r3tdchusk9pg Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - montijo nova'
20240321@074533.9138 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074533.9142 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from td where ndoc = 39
20240321@074533.9276 bpei2uabeksq07r3tdchusk9pg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074533.9525 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074533.9857 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074534.2220 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074534.3840 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074534.4440 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074534.6990 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074534.7300 bpei2uabeksq07r3tdchusk9pg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074534.1109 bpei2uabeksq07r3tdchusk9pg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074534.1315 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074534.1527 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074534.1677 bpei2uabeksq07r3tdchusk9pg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe9306065fbe59e11' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074534.2001 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074534.2019 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074534.2309 bpei2uabeksq07r3tdchusk9pg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074534.2317 bpei2uabeksq07r3tdchusk9pg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074534.2323 bpei2uabeksq07r3tdchusk9pg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074534.2450 bpei2uabeksq07r3tdchusk9pg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074534.2532 bpei2uabeksq07r3tdchusk9pg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074534.3023 bpei2uabeksq07r3tdchusk9pg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074534.3713 bpei2uabeksq07r3tdchusk9pg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe9306065fbe59e11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074534.4389 bpei2uabeksq07r3tdchusk9pg Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074534.4759 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074534.4799 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074534.5068 bpei2uabeksq07r3tdchusk9pg 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 ('aut65fbe9306065fbe59e11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',545,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074534.5759 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074534.5798 bpei2uabeksq07r3tdchusk9pg Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074534.6006 bpei2uabeksq07r3tdchusk9pg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074534.6019 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074534.6173 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074534.6198 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074534.6219 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074534.6224 bpei2uabeksq07r3tdchusk9pg Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240321@074534.6351 bpei2uabeksq07r3tdchusk9pg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074534.6490 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074534.6505 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074534.6927 bpei2uabeksq07r3tdchusk9pg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe8863565fbe59e9e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe9306065fbe59e11' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074534.7475 bpei2uabeksq07r3tdchusk9pg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074534.7614 bpei2uabeksq07r3tdchusk9pg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074534.7620 bpei2uabeksq07r3tdchusk9pg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe8863565fbe59e9e','aut65fbe9306065fbe59e11' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074534.7625 bpei2uabeksq07r3tdchusk9pg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe9306065fbe59e11','2402256','wait',39,'ari17112337378,753000005')
20240321@074534.7754 bpei2uabeksq07r3tdchusk9pg Query : use flama_phc
20240321@074534.7773 bpei2uabeksq07r3tdchusk9pg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074534.7788 bpei2uabeksq07r3tdchusk9pg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='729';
20240321@074534.7812 bpei2uabeksq07r3tdchusk9pg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='729';
20240321@074534.7906 bpei2uabeksq07r3tdchusk9pg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='729';
20240321@074534.8089 bpei2uabeksq07r3tdchusk9pg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='729';
20240321@074534.8584 k8d331mvt21600jm3uihjda8bg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074534.8601 k8d331mvt21600jm3uihjda8bg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074534.8621 k8d331mvt21600jm3uihjda8bg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='730';
20240321@074534.8663 k8d331mvt21600jm3uihjda8bg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='730';
20240321@074534.8679 k8d331mvt21600jm3uihjda8bg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='730';
20240321@074534.8692 k8d331mvt21600jm3uihjda8bg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='730';
20240321@074534.8705 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.8709 k8d331mvt21600jm3uihjda8bg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074534.8722 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.8725 k8d331mvt21600jm3uihjda8bg Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20240321@074534.8808 k8d331mvt21600jm3uihjda8bg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074534.8832 k8d331mvt21600jm3uihjda8bg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402257 and bi.ref ='304.422.00.07' and bi.lordem =1
20240321@074534.9185 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.9189 k8d331mvt21600jm3uihjda8bg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074534.9202 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.9205 k8d331mvt21600jm3uihjda8bg Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074534.9216 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.9219 k8d331mvt21600jm3uihjda8bg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074534.9229 k8d331mvt21600jm3uihjda8bg 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
20240321@074534.9244 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.9247 k8d331mvt21600jm3uihjda8bg Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074534.9257 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.9260 k8d331mvt21600jm3uihjda8bg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074534.9270 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.9273 k8d331mvt21600jm3uihjda8bg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074534.9283 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.9286 k8d331mvt21600jm3uihjda8bg Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20240321@074534.9299 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074534.9302 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from td where ndoc = 39
20240321@074534.9313 k8d331mvt21600jm3uihjda8bg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074534.9324 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074534.9337 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074534.9354 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074534.9368 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074534.9396 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074534.9409 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074534.9418 k8d331mvt21600jm3uihjda8bg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074534.9509 k8d331mvt21600jm3uihjda8bg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074534.9519 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074534.9532 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074534.9543 k8d331mvt21600jm3uihjda8bg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe6188865fbe59ee5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074534.9741 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074534.9756 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074534.9784 k8d331mvt21600jm3uihjda8bg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074534.9869 k8d331mvt21600jm3uihjda8bg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074534.9951 k8d331mvt21600jm3uihjda8bg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074535.8000 k8d331mvt21600jm3uihjda8bg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074535.1400 k8d331mvt21600jm3uihjda8bg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074535.1900 k8d331mvt21600jm3uihjda8bg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074535.2300 k8d331mvt21600jm3uihjda8bg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe6188865fbe59ee5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074535.3080 k8d331mvt21600jm3uihjda8bg Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074535.3250 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074535.3390 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074535.3560 k8d331mvt21600jm3uihjda8bg 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 ('aut65fbe6188865fbe59ee5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',546,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074535.6670 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074535.6720 k8d331mvt21600jm3uihjda8bg Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074535.6840 k8d331mvt21600jm3uihjda8bg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074535.6960 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074535.7100 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074535.7330 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074535.7460 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074535.7510 k8d331mvt21600jm3uihjda8bg Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240321@074535.7620 k8d331mvt21600jm3uihjda8bg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074535.7730 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074535.7870 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074535.8100 k8d331mvt21600jm3uihjda8bg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe5513065fbe59f12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe6188865fbe59ee5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074535.1099 k8d331mvt21600jm3uihjda8bg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074535.1117 k8d331mvt21600jm3uihjda8bg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074535.1122 k8d331mvt21600jm3uihjda8bg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe5513065fbe59f12','aut65fbe6188865fbe59ee5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074535.1127 k8d331mvt21600jm3uihjda8bg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe6188865fbe59ee5','2402257','wait',39,'ari17112337378,753000005')
20240321@074535.1143 k8d331mvt21600jm3uihjda8bg Query : use flama_phc
20240321@074535.1146 k8d331mvt21600jm3uihjda8bg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074535.1157 k8d331mvt21600jm3uihjda8bg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='730';
20240321@074535.1175 k8d331mvt21600jm3uihjda8bg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='730';
20240321@074535.1190 k8d331mvt21600jm3uihjda8bg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='730';
20240321@074535.1205 k8d331mvt21600jm3uihjda8bg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='730';
20240321@074535.1641 ilcsm5dkt8g8b5i5uau6r6t041 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074535.1656 ilcsm5dkt8g8b5i5uau6r6t041 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074535.1678 ilcsm5dkt8g8b5i5uau6r6t041 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='731';
20240321@074535.1720 ilcsm5dkt8g8b5i5uau6r6t041 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='731';
20240321@074535.1737 ilcsm5dkt8g8b5i5uau6r6t041 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='731';
20240321@074535.1749 ilcsm5dkt8g8b5i5uau6r6t041 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='731';
20240321@074535.1762 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.1766 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074535.1778 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.1781 ilcsm5dkt8g8b5i5uau6r6t041 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1039
20240321@074535.1870 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074535.1882 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402258 and bi.ref ='304.422.00.07' and bi.lordem =1
20240321@074535.2259 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.2264 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074535.2278 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.2282 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074535.2293 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.2296 ilcsm5dkt8g8b5i5uau6r6t041 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074535.2308 ilcsm5dkt8g8b5i5uau6r6t041 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
20240321@074535.2324 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.2327 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074535.2339 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.2343 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074535.2354 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.2357 ilcsm5dkt8g8b5i5uau6r6t041 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074535.2369 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.2372 ilcsm5dkt8g8b5i5uau6r6t041 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda «« viana do castelo'
20240321@074535.2388 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.2391 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from td where ndoc = 39
20240321@074535.2404 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074535.2419 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074535.2435 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074535.2455 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074535.2470 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074535.2499 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074535.2515 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074535.2527 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074535.2703 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074535.2716 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074535.2730 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074535.2742 ilcsm5dkt8g8b5i5uau6r6t041 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe8971465fbe59f3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074535.2932 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074535.2951 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074535.2981 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074535.2986 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074535.2991 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074535.2996 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074535.3000 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074535.3005 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074535.3010 ilcsm5dkt8g8b5i5uau6r6t041 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe8971465fbe59f3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074535.3298 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074535.3327 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074535.3343 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074535.3360 ilcsm5dkt8g8b5i5uau6r6t041 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 ('aut65fbe8971465fbe59f3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',547,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074535.3660 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.3665 ilcsm5dkt8g8b5i5uau6r6t041 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074535.3676 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074535.3687 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074535.3701 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074535.3725 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074535.3738 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074535.3743 ilcsm5dkt8g8b5i5uau6r6t041 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240321@074535.3752 ilcsm5dkt8g8b5i5uau6r6t041 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074535.3763 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074535.3774 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074535.3797 ilcsm5dkt8g8b5i5uau6r6t041 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe0001065fbe59f5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe8971465fbe59f3d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074535.4097 ilcsm5dkt8g8b5i5uau6r6t041 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074535.4115 ilcsm5dkt8g8b5i5uau6r6t041 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074535.4121 ilcsm5dkt8g8b5i5uau6r6t041 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe0001065fbe59f5b','aut65fbe8971465fbe59f3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074535.4126 ilcsm5dkt8g8b5i5uau6r6t041 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe8971465fbe59f3d','2402258','wait',39,'ari17112337378,753000005')
20240321@074535.4142 ilcsm5dkt8g8b5i5uau6r6t041 Query : use flama_phc
20240321@074535.4145 ilcsm5dkt8g8b5i5uau6r6t041 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074535.4158 ilcsm5dkt8g8b5i5uau6r6t041 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='731';
20240321@074535.4173 ilcsm5dkt8g8b5i5uau6r6t041 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='731';
20240321@074535.4195 ilcsm5dkt8g8b5i5uau6r6t041 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='731';
20240321@074535.4207 ilcsm5dkt8g8b5i5uau6r6t041 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='731';
20240321@074535.4693 ior87ucvhq96gf1j7gnsi2dvop Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074535.4708 ior87ucvhq96gf1j7gnsi2dvop Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074535.4731 ior87ucvhq96gf1j7gnsi2dvop Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='732';
20240321@074535.4782 ior87ucvhq96gf1j7gnsi2dvop Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='732';
20240321@074535.4803 ior87ucvhq96gf1j7gnsi2dvop Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='732';
20240321@074535.4823 ior87ucvhq96gf1j7gnsi2dvop Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='732';
20240321@074535.4838 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.4842 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074535.4857 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.4860 ior87ucvhq96gf1j7gnsi2dvop Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20240321@074535.4990 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074535.5004 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402259 and bi.ref ='304.422.00.07' and bi.lordem =1
20240321@074535.5422 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.5426 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074535.5439 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.5442 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074535.5452 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.5455 ior87ucvhq96gf1j7gnsi2dvop Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074535.5468 ior87ucvhq96gf1j7gnsi2dvop 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
20240321@074535.5486 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.5490 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074535.5502 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.5506 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074535.5520 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.5524 ior87ucvhq96gf1j7gnsi2dvop Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074535.5536 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.5540 ior87ucvhq96gf1j7gnsi2dvop Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20240321@074535.5558 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.5563 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from td where ndoc = 39
20240321@074535.5576 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074535.5591 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074535.5608 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074535.5630 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074535.5646 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074535.5680 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074535.5695 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074535.5708 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074535.5821 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074535.5833 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074535.5854 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074535.5866 ior87ucvhq96gf1j7gnsi2dvop Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe3167065fbe59f8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074535.6056 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074535.6075 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074535.6112 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074535.6118 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074535.6124 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074535.6131 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074535.6139 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074535.6147 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074535.6153 ior87ucvhq96gf1j7gnsi2dvop Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe3167065fbe59f8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074535.6466 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074535.6483 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074535.6498 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074535.6517 ior87ucvhq96gf1j7gnsi2dvop 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 ('aut65fbe3167065fbe59f8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',548,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074535.6806 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.6810 ior87ucvhq96gf1j7gnsi2dvop Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240321@074535.6822 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240321@074535.6833 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074535.6846 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240321@074535.6868 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074535.6881 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240321@074535.6885 ior87ucvhq96gf1j7gnsi2dvop Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240321@074535.6894 ior87ucvhq96gf1j7gnsi2dvop Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240321@074535.6903 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240321@074535.6917 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240321@074535.6942 ior87ucvhq96gf1j7gnsi2dvop Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65fbe3493665fbe59fa8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65fbe3167065fbe59f8b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240321@074535.7246 ior87ucvhq96gf1j7gnsi2dvop Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240321@074535.7263 ior87ucvhq96gf1j7gnsi2dvop Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240321@074535.7268 ior87ucvhq96gf1j7gnsi2dvop Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65fbe3493665fbe59fa8','aut65fbe3167065fbe59f8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240321@074535.7272 ior87ucvhq96gf1j7gnsi2dvop Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65fbe3167065fbe59f8b','2402259','wait',39,'ari17112337378,753000005')
20240321@074535.7292 ior87ucvhq96gf1j7gnsi2dvop Query : use flama_phc
20240321@074535.7295 ior87ucvhq96gf1j7gnsi2dvop Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240321@074535.7306 ior87ucvhq96gf1j7gnsi2dvop Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='732';
20240321@074535.7323 ior87ucvhq96gf1j7gnsi2dvop Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='732';
20240321@074535.7337 ior87ucvhq96gf1j7gnsi2dvop Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='732';
20240321@074535.7350 ior87ucvhq96gf1j7gnsi2dvop Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='732';
20240321@074535.7823 rog1dadrmof25etdjiob12h619 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240321@074535.7839 rog1dadrmof25etdjiob12h619 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240321@074535.7858 rog1dadrmof25etdjiob12h619 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='733';
20240321@074535.7899 rog1dadrmof25etdjiob12h619 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='733';
20240321@074535.7918 rog1dadrmof25etdjiob12h619 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='733';
20240321@074535.7934 rog1dadrmof25etdjiob12h619 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='733';
20240321@074535.7948 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.7952 rog1dadrmof25etdjiob12h619 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240321@074535.7967 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.7970 rog1dadrmof25etdjiob12h619 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2014
20240321@074535.8053 rog1dadrmof25etdjiob12h619 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240321@074535.8065 rog1dadrmof25etdjiob12h619 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2022 and bo.obrano = 2402260 and bi.ref ='304.422.00.07' and bi.lordem =1
20240321@074535.8403 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.8408 rog1dadrmof25etdjiob12h619 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240321@074535.8423 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.8426 rog1dadrmof25etdjiob12h619 Query : select top 1 1 valor from td where td.ndoc = 39
20240321@074535.8437 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.8440 rog1dadrmof25etdjiob12h619 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240321@074535.8452 rog1dadrmof25etdjiob12h619 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
20240321@074535.8468 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.8471 rog1dadrmof25etdjiob12h619 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240321@074535.8482 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.8487 rog1dadrmof25etdjiob12h619 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240321@074535.8498 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.8501 rog1dadrmof25etdjiob12h619 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240321@074535.8512 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.8516 rog1dadrmof25etdjiob12h619 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - guarda'
20240321@074535.8529 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.8532 rog1dadrmof25etdjiob12h619 Query : select 1 valor from td where ndoc = 39
20240321@074535.8543 rog1dadrmof25etdjiob12h619 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240321@074535.8554 rog1dadrmof25etdjiob12h619 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074535.8569 rog1dadrmof25etdjiob12h619 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240321@074535.8587 rog1dadrmof25etdjiob12h619 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074535.8601 rog1dadrmof25etdjiob12h619 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240321@074535.8637 rog1dadrmof25etdjiob12h619 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074535.8651 rog1dadrmof25etdjiob12h619 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240321@074535.8662 rog1dadrmof25etdjiob12h619 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074535.8757 rog1dadrmof25etdjiob12h619 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240321@074535.8768 rog1dadrmof25etdjiob12h619 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240321@074535.8782 rog1dadrmof25etdjiob12h619 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240321@074535.8792 rog1dadrmof25etdjiob12h619 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65fbe9537365fbe59fd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240321@074535.8980 rog1dadrmof25etdjiob12h619 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240321@074535.8996 rog1dadrmof25etdjiob12h619 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240321@074535.9028 rog1dadrmof25etdjiob12h619 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240321@074535.9034 rog1dadrmof25etdjiob12h619 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240321@074535.9039 rog1dadrmof25etdjiob12h619 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240321@074535.9045 rog1dadrmof25etdjiob12h619 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240321@074535.9050 rog1dadrmof25etdjiob12h619 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240321@074535.9055 rog1dadrmof25etdjiob12h619 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240321@074535.9060 rog1dadrmof25etdjiob12h619 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65fbe9537365fbe59fd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240321@074535.9488 rog1dadrmof25etdjiob12h619 Query : select top 1 fno valor from wsft039data order by fno desc
20240321@074535.9565 rog1dadrmof25etdjiob12h619 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240321@074535.9581 rog1dadrmof25etdjiob12h619 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240321@074535.9603 rog1dadrmof25etdjiob12h619 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 ('aut65fbe9537365fbe59fd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',549,101621,0,'2024-03-21',39,'euro',0,0,2024 ,'20240321','0815',?,?,?,?)
20240321@074535.9947 rog1dadrmof25etdjiob12h619 Query : use flama_phc
20240321@074535.9952 rog1dadrmof25etdjiob12h619 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
