20230517@152029.3490 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.3640 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@152029.3910 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.4040 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@152029.4100 vkkjkiio4ak7dcj8irklhumnbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@152029.4220 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.4360 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@152029.4640 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e774926464e2ad0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e999266464e2ab82' ,0,0 ,2,23.00,260000,?,?,?)
20230517@152029.7430 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.7610 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@152029.7660 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e774926464e2ad0a','aut6464e999266464e2ab82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@152029.7720 vkkjkiio4ak7dcj8irklhumnbe Query : use flama_phc
20230517@152029.7760 vkkjkiio4ak7dcj8irklhumnbe Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20230517@152029.7890 vkkjkiio4ak7dcj8irklhumnbe 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.1667.00.1'
20230517@152029.8020 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.8160 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@152029.8730 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.8870 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@152029.8920 vkkjkiio4ak7dcj8irklhumnbe Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2300059200a'
20230517@152029.9060 vkkjkiio4ak7dcj8irklhumnbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@152029.9360 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.9810 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@152029.1026 vkkjkiio4ak7dcj8irklhumnbe 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 ('aut6464e151466464e2ad16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6464e999266464e2ab82' ,.000000,0 ,2,23.00,280000,?,?,?,?,?,?,?,?,?)
20230517@152029.1326 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.1345 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@152029.1350 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e151466464e2ad16','aut6464e999266464e2ab82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@152029.1356 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.1532 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@152029.1586 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.1603 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@152029.1608 vkkjkiio4ak7dcj8irklhumnbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@152029.1620 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.1634 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@152029.1658 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e328476464e2ad27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e999266464e2ab82' ,0,0 ,2,23.00,290000,?,?,?)
20230517@152029.1962 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.1980 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@152029.1985 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e328476464e2ad27','aut6464e999266464e2ab82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@152029.1991 vkkjkiio4ak7dcj8irklhumnbe Query : use flama_phc
20230517@152029.1995 vkkjkiio4ak7dcj8irklhumnbe Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20230517@152029.2007 vkkjkiio4ak7dcj8irklhumnbe 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.1667.00.1'
20230517@152029.2020 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.2033 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@152029.2061 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.2077 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@152029.2086 vkkjkiio4ak7dcj8irklhumnbe Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2300059200a'
20230517@152029.2103 vkkjkiio4ak7dcj8irklhumnbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@152029.2118 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.2134 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@152029.2161 vkkjkiio4ak7dcj8irklhumnbe 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 ('aut6464e322656464e2ad33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6464e999266464e2ab82' ,.000000,0 ,2,23.00,310000,?,?,?,?,?,?,?,?,?)
20230517@152029.2437 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.2456 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@152029.2462 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e322656464e2ad33','aut6464e999266464e2ab82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@152029.2469 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.2485 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@152029.2516 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.2531 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@152029.2536 vkkjkiio4ak7dcj8irklhumnbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@152029.2547 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@152029.2592 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@152029.2616 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e278066464e2ad3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e999266464e2ab82' ,0,0 ,2,23.00,320000,?,?,?)
20230517@152029.2896 vkkjkiio4ak7dcj8irklhumnbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@152029.2913 vkkjkiio4ak7dcj8irklhumnbe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@152029.2918 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e278066464e2ad3e','aut6464e999266464e2ab82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@152029.2923 vkkjkiio4ak7dcj8irklhumnbe Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464e999266464e2ab82','119230000264','wait',39,'ari17112337378,753000005')
20230517@152029.2940 vkkjkiio4ak7dcj8irklhumnbe Query : use flama_phc
20230517@152029.2943 vkkjkiio4ak7dcj8irklhumnbe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@152029.3006 vkkjkiio4ak7dcj8irklhumnbe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='449';
20230517@152029.3039 vkkjkiio4ak7dcj8irklhumnbe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='449';
20230517@152029.3050 vkkjkiio4ak7dcj8irklhumnbe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='449';
20230517@152029.3063 vkkjkiio4ak7dcj8irklhumnbe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='449';
20230517@153009.6148 5or0ddmba2uersp95notcsbgq8 Query : use flama_phc
20230517@153009.6188 5or0ddmba2uersp95notcsbgq8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@153009.6587 5or0ddmba2uersp95notcsbgq8 Query : use flama_phc
20230517@153009.6632 5or0ddmba2uersp95notcsbgq8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@160007.7898 5nj22spvsgl0hhpnavgb45tj13 Query : use flama_phc
20230517@160007.7902 5nj22spvsgl0hhpnavgb45tj13 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@160007.7918 5nj22spvsgl0hhpnavgb45tj13 Query : use flama_phc
20230517@160007.7921 5nj22spvsgl0hhpnavgb45tj13 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@161708.8400 28gnqtmtmjjp8dcdkbhvv19ro7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@161708.8550 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@161708.8720 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='450';
20230517@161708.9140 28gnqtmtmjjp8dcdkbhvv19ro7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='450';
20230517@161708.9280 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='450';
20230517@161708.9400 28gnqtmtmjjp8dcdkbhvv19ro7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='450';
20230517@161708.9510 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.9550 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@161708.9740 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.9770 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2211
20230517@161708.1053 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9205.00.1'
20230517@161708.1209 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000291 and bi.ref ='328.9205.00.1' and bi.lordem =20000
20230517@161708.1555 28gnqtmtmjjp8dcdkbhvv19ro7 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 = 'evc23051755024,7590000-2 ' 
20230517@161708.1901 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9065.00.1'
20230517@161708.2066 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000291 and bi.ref ='328.9065.00.1' and bi.lordem =30000
20230517@161708.2651 28gnqtmtmjjp8dcdkbhvv19ro7 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 = 'evc23051755024,8010000-3 ' 
20230517@161708.3027 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.3031 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@161708.3044 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.3047 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@161708.3057 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.3060 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@161708.3071 28gnqtmtmjjp8dcdkbhvv19ro7 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
20230517@161708.3085 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.3088 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 ~inactivo valor from cl where no = '101313' and estab = 0 order by inactivo desc
20230517@161708.3209 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.3212 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@161708.3223 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.3226 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@161708.3239 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.3242 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select szadrsstamp valor from szadrs where szadrsdesc='m.miranda electrodomÉsticos, lda.'
20230517@161708.3256 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.3259 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from td where ndoc = 39
20230517@161708.3269 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@161708.3281 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@161708.3294 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@161708.3311 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@161708.3324 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@161708.3352 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@161708.3365 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@161708.3374 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@161708.3429 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@161708.3439 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@161708.3455 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@161708.3464 28gnqtmtmjjp8dcdkbhvv19ro7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464e244276464eff452' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@161708.3654 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@161708.3670 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@161708.3699 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='74436ca688e0d5d8042eb4 '
20230517@161708.3814 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='74436ca688e0d5d8042eb4 '
20230517@161708.3901 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='74436ca688e0d5d8042eb4 '
20230517@161708.3974 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='74436ca688e0d5d8042eb4 '
20230517@161708.4050 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='74436ca688e0d5d8042eb4 '
20230517@161708.4124 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 bo.serie valor from bo where bo.bostamp='74436ca688e0d5d8042eb4 '
20230517@161708.4203 28gnqtmtmjjp8dcdkbhvv19ro7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464e244276464eff452',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@161708.4439 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 fno valor from wsft039data order by fno desc
20230517@161708.4454 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@161708.4468 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@161708.4517 28gnqtmtmjjp8dcdkbhvv19ro7 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 ('aut6464e244276464eff452',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',333,101313,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1647',?,?,?,?,?)
20230517@161708.4859 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.4863 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select st.usalote valor from st where st.ref = '328.9205.00.1'
20230517@161708.4876 28gnqtmtmjjp8dcdkbhvv19ro7 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.9205.00.1'
20230517@161708.5030 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161708.5046 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161708.5072 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161708.5111 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161708.5116 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select sestamp valor from se where ref ='328.9205.00.1' and lote = 'r2101191100a'
20230517@161708.5135 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161708.5145 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161708.5164 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161708.5187 28gnqtmtmjjp8dcdkbhvv19ro7 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 ('aut6464e427676464eff47d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6464e244276464eff452' ,136.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@161708.5445 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161708.5461 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161708.5466 28gnqtmtmjjp8dcdkbhvv19ro7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e427676464eff47d','aut6464e244276464eff452' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161708.5471 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.5474 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select st.usalote valor from st where st.ref = '328.9065.00.1'
20230517@161708.5505 28gnqtmtmjjp8dcdkbhvv19ro7 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.9065.00.1'
20230517@161708.5668 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161708.5681 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161708.5706 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161708.5719 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161708.5723 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select sestamp valor from se where ref ='328.9065.00.1' and lote = 'r2100193100a'
20230517@161708.5734 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161708.5745 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161708.5757 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161708.5801 28gnqtmtmjjp8dcdkbhvv19ro7 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 ('aut6464e736746464eff48c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6464e244276464eff452' ,179.200000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230517@161708.6216 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161708.6998 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161708.7081 28gnqtmtmjjp8dcdkbhvv19ro7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e736746464eff48c','aut6464e244276464eff452' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161708.7088 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161708.7104 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161708.7127 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161708.7140 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161708.7147 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161708.7156 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161708.7168 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161708.7193 28gnqtmtmjjp8dcdkbhvv19ro7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e071506464eff4ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e244276464eff452' ,0,0 ,2,23.00,30000,?,?,?)
20230517@161708.7432 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161708.7447 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161708.7452 28gnqtmtmjjp8dcdkbhvv19ro7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e071506464eff4ae','aut6464e244276464eff452' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161708.7457 28gnqtmtmjjp8dcdkbhvv19ro7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464e244276464eff452','119230000291','wait',39,'ari17112337378,753000005')
20230517@161708.7475 28gnqtmtmjjp8dcdkbhvv19ro7 Query : use flama_phc
20230517@161708.7478 28gnqtmtmjjp8dcdkbhvv19ro7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@161708.7490 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='450';
20230517@161708.7535 28gnqtmtmjjp8dcdkbhvv19ro7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='450';
20230517@161708.7547 28gnqtmtmjjp8dcdkbhvv19ro7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='450';
20230517@161708.7559 28gnqtmtmjjp8dcdkbhvv19ro7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='450';
20230517@161709.6950 du8t7l9j1harsqhu5iagocrtaa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@161709.7080 du8t7l9j1harsqhu5iagocrtaa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@161709.7240 du8t7l9j1harsqhu5iagocrtaa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='451';
20230517@161709.7640 du8t7l9j1harsqhu5iagocrtaa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='451';
20230517@161709.7860 du8t7l9j1harsqhu5iagocrtaa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='451';
20230517@161709.7980 du8t7l9j1harsqhu5iagocrtaa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='451';
20230517@161709.8210 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.8250 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@161709.8380 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.8430 du8t7l9j1harsqhu5iagocrtaa Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20230517@161709.9240 du8t7l9j1harsqhu5iagocrtaa 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'
20230517@161709.1081 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000292 and bi.ref ='324.5500.00.1' and bi.lordem =20000
20230517@161709.1530 du8t7l9j1harsqhu5iagocrtaa 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 = 'evc23051755047,8170000-2 ' 
20230517@161709.1911 du8t7l9j1harsqhu5iagocrtaa 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'
20230517@161709.1924 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000292 and bi.ref ='324.5500.00.1' and bi.lordem =30000
20230517@161709.2451 du8t7l9j1harsqhu5iagocrtaa 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 = 'evc23051755047,8430000-3 ' 
20230517@161709.2828 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.2832 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@161709.2845 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.2848 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 1 valor from td where td.ndoc = 39
20230517@161709.2857 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.2859 du8t7l9j1harsqhu5iagocrtaa Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@161709.2870 du8t7l9j1harsqhu5iagocrtaa 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
20230517@161709.2884 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.2887 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20230517@161709.2996 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.3000 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@161709.3009 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.3012 du8t7l9j1harsqhu5iagocrtaa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@161709.3024 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.3027 du8t7l9j1harsqhu5iagocrtaa Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20230517@161709.3040 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.3042 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from td where ndoc = 39
20230517@161709.3053 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@161709.3065 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@161709.3079 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@161709.3096 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@161709.3109 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@161709.3136 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@161709.3151 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@161709.3160 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@161709.3227 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@161709.3237 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@161709.3255 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@161709.3264 du8t7l9j1harsqhu5iagocrtaa Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464e297866464eff54d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@161709.3433 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@161709.3455 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@161709.3483 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='d545f4ae7e59af658e5e09 '
20230517@161709.3592 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='d545f4ae7e59af658e5e09 '
20230517@161709.3688 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='d545f4ae7e59af658e5e09 '
20230517@161709.3780 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='d545f4ae7e59af658e5e09 '
20230517@161709.3863 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 bo.trab5 valor from bo where bo.bostamp='d545f4ae7e59af658e5e09 '
20230517@161709.3947 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 bo.serie valor from bo where bo.bostamp='d545f4ae7e59af658e5e09 '
20230517@161709.4048 du8t7l9j1harsqhu5iagocrtaa Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464e297866464eff54d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@161709.4275 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 fno valor from wsft039data order by fno desc
20230517@161709.4290 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@161709.4312 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@161709.4331 du8t7l9j1harsqhu5iagocrtaa 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 ('aut6464e297866464eff54d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',334,102079,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1647',?,?,?,?,?)
20230517@161709.4615 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.4623 du8t7l9j1harsqhu5iagocrtaa Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230517@161709.4636 du8t7l9j1harsqhu5iagocrtaa 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'
20230517@161709.4796 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161709.4834 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161709.5857 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161709.5870 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161709.5875 du8t7l9j1harsqhu5iagocrtaa Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230517@161709.5885 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161709.5894 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161709.5908 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161709.5933 du8t7l9j1harsqhu5iagocrtaa 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 ('aut6464e233726464eff58f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6464e297866464eff54d' ,.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@161709.6181 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161709.6197 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161709.6203 du8t7l9j1harsqhu5iagocrtaa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e233726464eff58f','aut6464e297866464eff54d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161709.6209 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.6215 du8t7l9j1harsqhu5iagocrtaa Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230517@161709.6227 du8t7l9j1harsqhu5iagocrtaa 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'
20230517@161709.6238 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161709.6251 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161709.6275 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161709.6286 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161709.6291 du8t7l9j1harsqhu5iagocrtaa Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230517@161709.6305 du8t7l9j1harsqhu5iagocrtaa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161709.6315 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161709.6327 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161709.6353 du8t7l9j1harsqhu5iagocrtaa 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 ('aut6464e057556464eff59a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut6464e297866464eff54d' ,64.000000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230517@161709.6637 du8t7l9j1harsqhu5iagocrtaa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161709.6676 du8t7l9j1harsqhu5iagocrtaa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161709.6680 du8t7l9j1harsqhu5iagocrtaa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e057556464eff59a','aut6464e297866464eff54d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161709.6685 du8t7l9j1harsqhu5iagocrtaa Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464e297866464eff54d','119230000292','wait',39,'ari17112337378,753000005')
20230517@161709.6719 du8t7l9j1harsqhu5iagocrtaa Query : use flama_phc
20230517@161709.6722 du8t7l9j1harsqhu5iagocrtaa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@161709.6734 du8t7l9j1harsqhu5iagocrtaa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='451';
20230517@161709.6862 du8t7l9j1harsqhu5iagocrtaa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='451';
20230517@161709.6875 du8t7l9j1harsqhu5iagocrtaa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='451';
20230517@161709.6888 du8t7l9j1harsqhu5iagocrtaa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='451';
20230517@161709.7499 fkvhjbm26592d3fcfvnb30b41e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@161709.7513 fkvhjbm26592d3fcfvnb30b41e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@161709.7531 fkvhjbm26592d3fcfvnb30b41e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='452';
20230517@161709.7571 fkvhjbm26592d3fcfvnb30b41e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='452';
20230517@161709.7585 fkvhjbm26592d3fcfvnb30b41e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='452';
20230517@161709.7597 fkvhjbm26592d3fcfvnb30b41e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='452';
20230517@161709.7608 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.7611 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@161709.7625 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.7628 fkvhjbm26592d3fcfvnb30b41e Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20230517@161709.7662 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20230517@161709.7699 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000293 and bi.ref ='324.1667.00.1' and bi.lordem =20000
20230517@161709.8054 fkvhjbm26592d3fcfvnb30b41e 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 = 'evc23051755684,1180000-2 ' 
20230517@161709.8397 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20230517@161709.8433 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000293 and bi.ref ='324.1667.00.1' and bi.lordem =20000
20230517@161709.8446 fkvhjbm26592d3fcfvnb30b41e 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 = 'evc23051755684,1180000-2 ' 
20230517@161709.8457 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20230517@161709.8467 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000293 and bi.ref ='324.1667.00.1' and bi.lordem =20000
20230517@161709.8479 fkvhjbm26592d3fcfvnb30b41e 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 = 'evc23051755684,1180000-2 ' 
20230517@161709.8490 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.8494 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@161709.8507 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.8510 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 1 valor from td where td.ndoc = 39
20230517@161709.8527 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.8531 fkvhjbm26592d3fcfvnb30b41e Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@161709.8542 fkvhjbm26592d3fcfvnb30b41e 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
20230517@161709.8562 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.8565 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20230517@161709.8575 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.8578 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@161709.8591 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.8594 fkvhjbm26592d3fcfvnb30b41e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@161709.8606 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.8609 fkvhjbm26592d3fcfvnb30b41e Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20230517@161709.8622 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161709.8625 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from td where ndoc = 39
20230517@161709.8634 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@161709.8645 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@161709.8658 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@161709.8674 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@161709.8687 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@161709.8716 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@161709.8735 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@161709.8770 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@161709.8811 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@161709.8821 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@161709.8833 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@161709.8843 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464e993606464eff5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@161709.9011 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@161709.9033 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@161709.9064 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23010257445,523000001 '
20230517@161709.9163 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23010257445,523000001 '
20230517@161709.9246 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23010257445,523000001 '
20230517@161709.9326 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23010257445,523000001 '
20230517@161709.9403 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23010257445,523000001 '
20230517@161709.9484 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23010257445,523000001 '
20230517@161709.9563 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464e993606464eff5d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@161709.9792 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 fno valor from wsft039data order by fno desc
20230517@161709.9808 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@161709.9827 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@161709.9856 fkvhjbm26592d3fcfvnb30b41e 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 ('aut6464e993606464eff5d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',335,199510,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1647',?,?,?,?,?)
20230517@161710.1590 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161710.1640 fkvhjbm26592d3fcfvnb30b41e Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20230517@161710.1770 fkvhjbm26592d3fcfvnb30b41e 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.1667.00.1'
20230517@161710.1910 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.2070 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161710.2360 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.2500 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161710.2550 fkvhjbm26592d3fcfvnb30b41e Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2300059200a'
20230517@161710.2670 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161710.2780 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.2920 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161710.3200 fkvhjbm26592d3fcfvnb30b41e 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 ('aut6464e997066464eff606',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6464e993606464eff5d6' ,82.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@161710.6610 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.7890 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161710.8090 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e997066464eff606','aut6464e993606464eff5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161710.8160 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.8330 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161710.8640 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.8790 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161710.8840 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161710.9210 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.9530 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161710.9800 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e289806464eff616',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e993606464eff5d6' ,0,0 ,2,23.00,20000,?,?,?)
20230517@161710.1265 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.1292 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161710.1298 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e289806464eff616','aut6464e993606464eff5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161710.1303 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161710.1307 fkvhjbm26592d3fcfvnb30b41e Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20230517@161710.1322 fkvhjbm26592d3fcfvnb30b41e 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.1667.00.1'
20230517@161710.1336 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.1351 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161710.1380 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.1395 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161710.1401 fkvhjbm26592d3fcfvnb30b41e Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2300059200a'
20230517@161710.1413 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161710.1424 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.1438 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161710.1465 fkvhjbm26592d3fcfvnb30b41e 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 ('aut6464e648936464eff622',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6464e993606464eff5d6' ,82.600000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230517@161710.1891 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.3499 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161710.3504 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e648936464eff622','aut6464e993606464eff5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161710.3509 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.3608 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161710.3661 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.3675 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161710.3680 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161710.3689 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.3702 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161710.3728 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e287976464eff65a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e993606464eff5d6' ,0,0 ,2,23.00,50000,?,?,?)
20230517@161710.3994 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.4018 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161710.4022 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e287976464eff65a','aut6464e993606464eff5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161710.4027 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161710.4031 fkvhjbm26592d3fcfvnb30b41e Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20230517@161710.4042 fkvhjbm26592d3fcfvnb30b41e 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.1667.00.1'
20230517@161710.4057 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.4070 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161710.4093 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.4106 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161710.4111 fkvhjbm26592d3fcfvnb30b41e Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2300059200a'
20230517@161710.4121 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161710.4158 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.4170 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161710.4195 fkvhjbm26592d3fcfvnb30b41e 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 ('aut6464e538726464eff665',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6464e993606464eff5d6' ,82.600000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230517@161710.4452 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.4477 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161710.4481 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e538726464eff665','aut6464e993606464eff5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161710.4487 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.4504 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161710.4532 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.4545 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161710.4551 fkvhjbm26592d3fcfvnb30b41e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161710.4561 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161710.4573 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161710.4598 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e598526464eff66f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e993606464eff5d6' ,0,0 ,2,23.00,80000,?,?,?)
20230517@161710.4850 fkvhjbm26592d3fcfvnb30b41e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161710.4864 fkvhjbm26592d3fcfvnb30b41e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161710.4869 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e598526464eff66f','aut6464e993606464eff5d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161710.4875 fkvhjbm26592d3fcfvnb30b41e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464e993606464eff5d6','119230000293','wait',39,'ari17112337378,753000005')
20230517@161710.4915 fkvhjbm26592d3fcfvnb30b41e Query : use flama_phc
20230517@161710.4918 fkvhjbm26592d3fcfvnb30b41e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@161710.5132 fkvhjbm26592d3fcfvnb30b41e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='452';
20230517@161710.5940 fkvhjbm26592d3fcfvnb30b41e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='452';
20230517@161710.5958 fkvhjbm26592d3fcfvnb30b41e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='452';
20230517@161710.5971 fkvhjbm26592d3fcfvnb30b41e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='452';
20230517@161710.6302 of0fjen28ub2656r95kk718f13 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@161710.6314 of0fjen28ub2656r95kk718f13 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@161710.6330 of0fjen28ub2656r95kk718f13 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='453';
20230517@161710.6373 of0fjen28ub2656r95kk718f13 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='453';
20230517@161710.6387 of0fjen28ub2656r95kk718f13 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='453';
20230517@161710.6399 of0fjen28ub2656r95kk718f13 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='453';
20230517@161710.6410 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161710.6413 of0fjen28ub2656r95kk718f13 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@161710.6425 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161710.6428 of0fjen28ub2656r95kk718f13 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1988
20230517@161710.6567 of0fjen28ub2656r95kk718f13 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230517@161710.6940 of0fjen28ub2656r95kk718f13 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000294 and bi.ref ='324.1816.00.1' and bi.lordem =20000
20230517@161710.7324 of0fjen28ub2656r95kk718f13 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 = 'evc23051755876,4740000-2 ' 
20230517@161710.7679 of0fjen28ub2656r95kk718f13 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230517@161710.7690 of0fjen28ub2656r95kk718f13 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000294 and bi.ref ='324.1816.00.1' and bi.lordem =20000
20230517@161710.7777 of0fjen28ub2656r95kk718f13 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 = 'evc23051755876,4740000-2 ' 
20230517@161710.7790 of0fjen28ub2656r95kk718f13 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'
20230517@161710.7803 of0fjen28ub2656r95kk718f13 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000294 and bi.ref ='324.5500.00.1' and bi.lordem =30000
20230517@161710.8140 of0fjen28ub2656r95kk718f13 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 = 'evc23051755876,5230000-3 ' 
20230517@161710.8495 of0fjen28ub2656r95kk718f13 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'
20230517@161710.8645 of0fjen28ub2656r95kk718f13 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000294 and bi.ref ='324.4970.00.1' and bi.lordem =40000
20230517@161710.8994 of0fjen28ub2656r95kk718f13 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 = 'evc23051755876,5560000-4 ' 
20230517@161710.9372 of0fjen28ub2656r95kk718f13 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@161710.9540 of0fjen28ub2656r95kk718f13 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000294 and bi.ref ='324.1670.00.1' and bi.lordem =50000
20230517@161710.9954 of0fjen28ub2656r95kk718f13 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 = 'evc23051755876,6020000-5 ' 
20230517@161711.3180 of0fjen28ub2656r95kk718f13 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20230517@161711.4690 of0fjen28ub2656r95kk718f13 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000294 and bi.ref ='304.4320.00.1' and bi.lordem =70000
20230517@161711.8320 of0fjen28ub2656r95kk718f13 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 = 'evc23051755876,7970000-7 ' 
20230517@161711.1185 of0fjen28ub2656r95kk718f13 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20230517@161711.1197 of0fjen28ub2656r95kk718f13 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000294 and bi.ref ='324.1676.00.1' and bi.lordem =90000
20230517@161711.1543 of0fjen28ub2656r95kk718f13 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 = 'evc23051755876,8850000-9 ' 
20230517@161711.1900 of0fjen28ub2656r95kk718f13 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20230517@161711.2108 of0fjen28ub2656r95kk718f13 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000294 and bi.ref ='324.1406.00.1' and bi.lordem =100000
20230517@161711.2473 of0fjen28ub2656r95kk718f13 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 = 'evc23051755876,908000-10 ' 
20230517@161711.2836 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.2841 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@161711.2855 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.2858 of0fjen28ub2656r95kk718f13 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@161711.2869 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.2872 of0fjen28ub2656r95kk718f13 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@161711.2883 of0fjen28ub2656r95kk718f13 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
20230517@161711.3284 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.3328 of0fjen28ub2656r95kk718f13 Query : select top 1 ~inactivo valor from cl where no = '100986' and estab = 0 order by inactivo desc
20230517@161711.4010 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.4018 of0fjen28ub2656r95kk718f13 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@161711.4031 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.4035 of0fjen28ub2656r95kk718f13 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@161711.4047 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.4053 of0fjen28ub2656r95kk718f13 Query : select szadrsstamp valor from szadrs where szadrsdesc='manuel farinha antÓnio-1'
20230517@161711.4068 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.4071 of0fjen28ub2656r95kk718f13 Query : select 1 valor from td where ndoc = 39
20230517@161711.4081 of0fjen28ub2656r95kk718f13 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@161711.4093 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@161711.4107 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@161711.4124 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@161711.4137 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@161711.4164 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@161711.4202 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@161711.4212 of0fjen28ub2656r95kk718f13 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@161711.4253 of0fjen28ub2656r95kk718f13 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@161711.4264 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@161711.4277 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@161711.4287 of0fjen28ub2656r95kk718f13 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@161711.4461 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@161711.4486 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@161711.4520 of0fjen28ub2656r95kk718f13 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='cc47e58a6ec6939a23e6eb '
20230517@161711.4628 of0fjen28ub2656r95kk718f13 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='cc47e58a6ec6939a23e6eb '
20230517@161711.4721 of0fjen28ub2656r95kk718f13 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='cc47e58a6ec6939a23e6eb '
20230517@161711.4809 of0fjen28ub2656r95kk718f13 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='cc47e58a6ec6939a23e6eb '
20230517@161711.4897 of0fjen28ub2656r95kk718f13 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='cc47e58a6ec6939a23e6eb '
20230517@161711.4984 of0fjen28ub2656r95kk718f13 Query : select top 1 bo.serie valor from bo where bo.bostamp='cc47e58a6ec6939a23e6eb '
20230517@161711.5166 of0fjen28ub2656r95kk718f13 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464e208446464eff766',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@161711.5425 of0fjen28ub2656r95kk718f13 Query : select top 1 fno valor from wsft039data order by fno desc
20230517@161711.5441 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@161711.5455 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@161711.5480 of0fjen28ub2656r95kk718f13 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 ('aut6464e208446464eff766',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',336,100986,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1647',?,?,?,?,?)
20230517@161711.5760 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.5765 of0fjen28ub2656r95kk718f13 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230517@161711.5779 of0fjen28ub2656r95kk718f13 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20230517@161711.5936 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.5950 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.5974 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.5986 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.5991 of0fjen28ub2656r95kk718f13 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200647200a'
20230517@161711.6002 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.6012 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.6024 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.6049 of0fjen28ub2656r95kk718f13 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 ('aut6464e171836464eff792',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464e208446464eff766' ,52.500000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@161711.6307 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.6339 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161711.6343 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e171836464eff792','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161711.6352 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.6366 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.6391 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.6403 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.6408 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.6418 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.6430 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.6454 of0fjen28ub2656r95kk718f13 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e733216464eff79c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e208446464eff766' ,0,0 ,2,23.00,20000,?,?,?)
20230517@161711.6715 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.6734 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161711.6738 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e733216464eff79c','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161711.6743 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.6746 of0fjen28ub2656r95kk718f13 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230517@161711.6757 of0fjen28ub2656r95kk718f13 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20230517@161711.6768 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.6782 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.6808 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.6820 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.6825 of0fjen28ub2656r95kk718f13 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200647200a'
20230517@161711.6834 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.6845 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.6857 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.6881 of0fjen28ub2656r95kk718f13 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 ('aut6464e238156464eff7a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6464e208446464eff766' ,52.500000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230517@161711.7133 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.7149 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161711.7155 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e238156464eff7a7','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161711.7161 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.7183 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.7208 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.7221 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.7226 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.7235 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.7247 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.7271 of0fjen28ub2656r95kk718f13 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464e687856464eff7b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464e208446464eff766' ,0,0 ,2,23.00,50000,?,?,?)
20230517@161711.7530 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.7545 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161711.7549 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e687856464eff7b0','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161711.7554 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.7557 of0fjen28ub2656r95kk718f13 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230517@161711.7568 of0fjen28ub2656r95kk718f13 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'
20230517@161711.7580 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.7594 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.7618 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.7633 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.7637 of0fjen28ub2656r95kk718f13 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230517@161711.7649 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.7659 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.7672 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.7695 of0fjen28ub2656r95kk718f13 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 ('aut6464e366806464eff7bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6464e208446464eff766' ,64.000000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230517@161711.7972 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.7989 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161711.7995 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e366806464eff7bb','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161711.8000 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.8004 of0fjen28ub2656r95kk718f13 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230517@161711.8016 of0fjen28ub2656r95kk718f13 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'
20230517@161711.8169 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.8184 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.8208 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.8221 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.8225 of0fjen28ub2656r95kk718f13 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230517@161711.8236 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.8247 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.8259 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.8286 of0fjen28ub2656r95kk718f13 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 ('aut6464e804556464eff7c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6464e208446464eff766' ,25.600000,0 ,2,23.00,80000,?,?,?,?,?,?,?,?,?)
20230517@161711.8540 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.8554 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161711.8559 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e804556464eff7c9','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161711.8563 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.8566 of0fjen28ub2656r95kk718f13 Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20230517@161711.8578 of0fjen28ub2656r95kk718f13 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.1670.00.1'
20230517@161711.8755 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.8769 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.8793 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.8805 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.8809 of0fjen28ub2656r95kk718f13 Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2100590100a'
20230517@161711.8821 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.8831 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.8843 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.8866 of0fjen28ub2656r95kk718f13 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 ('aut6464e093026464eff7d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6464e208446464eff766' ,54.400000,0 ,2,23.00,90000,?,?,?,?,?,?,?,?,?)
20230517@161711.9113 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.9130 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161711.9135 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e093026464eff7d7','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161711.9140 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.9143 of0fjen28ub2656r95kk718f13 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230517@161711.9155 of0fjen28ub2656r95kk718f13 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20230517@161711.9311 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.9327 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.9375 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.9389 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.9394 of0fjen28ub2656r95kk718f13 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230547'
20230517@161711.9405 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.9415 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.9430 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.9458 of0fjen28ub2656r95kk718f13 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 ('aut6464e404466464eff7e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6464e208446464eff766' ,27.600000,0 ,2,23.00,100000,?,?,?,?,?,?,?,?,?)
20230517@161711.9722 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.9739 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161711.9744 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e404466464eff7e5','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161711.9749 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161711.9752 of0fjen28ub2656r95kk718f13 Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20230517@161711.9763 of0fjen28ub2656r95kk718f13 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20230517@161711.9776 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.9791 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161711.9820 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161711.9867 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161711.9871 of0fjen28ub2656r95kk718f13 Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2200299100a'
20230517@161711.9882 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161711.9892 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161711.9905 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161711.9928 of0fjen28ub2656r95kk718f13 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 ('aut6464e248076464eff7f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464e208446464eff766' ,57.600000,0 ,2,23.00,110000,?,?,?,?,?,?,?,?,?)
20230517@161712.1880 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161712.2120 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161712.2180 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e248076464eff7f1','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161712.2250 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161712.2300 of0fjen28ub2656r95kk718f13 Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20230517@161712.2430 of0fjen28ub2656r95kk718f13 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1406.00.1'
20230517@161712.3980 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161712.4120 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@161712.4380 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161712.4520 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@161712.4570 of0fjen28ub2656r95kk718f13 Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '0720'
20230517@161712.4690 of0fjen28ub2656r95kk718f13 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161712.4840 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@161712.4980 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@161712.5240 of0fjen28ub2656r95kk718f13 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 ('aut6464e814876464eff80b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6464e208446464eff766' ,22.400000,0 ,2,23.00,120000,?,?,?,?,?,?,?,?,?)
20230517@161712.7760 of0fjen28ub2656r95kk718f13 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@161712.7920 of0fjen28ub2656r95kk718f13 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@161712.7970 of0fjen28ub2656r95kk718f13 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e814876464eff80b','aut6464e208446464eff766' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@161712.8020 of0fjen28ub2656r95kk718f13 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464e208446464eff766','119230000294','wait',39,'ari17112337378,753000005')
20230517@161712.8210 of0fjen28ub2656r95kk718f13 Query : use flama_phc
20230517@161712.8240 of0fjen28ub2656r95kk718f13 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@161712.8360 of0fjen28ub2656r95kk718f13 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='453';
20230517@161712.8530 of0fjen28ub2656r95kk718f13 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='453';
20230517@161712.8660 of0fjen28ub2656r95kk718f13 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='453';
20230517@161712.8770 of0fjen28ub2656r95kk718f13 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='453';
20230517@161712.9351 9svbpaikkd6et8iqbea6g64aj3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@161712.9366 9svbpaikkd6et8iqbea6g64aj3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@161712.9382 9svbpaikkd6et8iqbea6g64aj3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='454';
20230517@161712.9422 9svbpaikkd6et8iqbea6g64aj3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='454';
20230517@161712.9438 9svbpaikkd6et8iqbea6g64aj3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='454';
20230517@161712.9449 9svbpaikkd6et8iqbea6g64aj3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='454';
20230517@161712.9461 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161712.9464 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@161712.9477 9svbpaikkd6et8iqbea6g64aj3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=23
20230517@161712.9546 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1667.00.1'
20230517@161712.9652 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 9 and bi.ref ='324.1667.00.1' and bi.lordem =10000
20230517@161712.9992 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.656.00.01'
20230517@161713.1110 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 9 and bi.ref ='324.656.00.01' and bi.lordem =20000
20230517@161713.4380 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.670.00.01'
20230517@161713.5490 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 9 and bi.ref ='324.670.00.01' and bi.lordem =30000
20230517@161713.8600 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '321.181.45.00'
20230517@161713.9840 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 9 and bi.ref ='321.181.45.00' and bi.lordem =40000
20230517@161713.1624 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.1666 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 1 valor from ts where ts.ndos = 5
20230517@161713.1779 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.1782 9svbpaikkd6et8iqbea6g64aj3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@161713.1793 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20230517@161713.1813 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.1816 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 ~inactivo valor from fl where no = '100999' and estab = 0 order by inactivo desc
20230517@161713.1881 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.1885 9svbpaikkd6et8iqbea6g64aj3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@161713.1896 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.1899 9svbpaikkd6et8iqbea6g64aj3 Query : select szadrsstamp valor from szadrs where szadrsdesc='flama-fab.louÇas e electrodomesticos,sa'
20230517@161713.1912 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.1915 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from ts where ndos = 5
20230517@161713.1926 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230517@161713.1941 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20230517@161713.1952 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230517@161713.1958 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230517@161713.1964 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20230517@161713.1978 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230517@161713.2026 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230517@161713.2237 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.2283 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100999' and estab=0
20230517@161713.2608 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230517@161713.2618 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e961026464eff936',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20230517@161713.2630 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230517@161713.2638 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut6464e961026464eff936','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20230517','16:47',?,?)
20230517@161713.2813 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230517@161713.2828 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20230517@161713.2837 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut6464e961026464eff936','trf entre armazéns a','2023-05-17',5,192,?,?,?,?,?,?,?,?,2023, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20230517@161713.3606 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.3610 9svbpaikkd6et8iqbea6g64aj3 Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20230517@161713.3622 9svbpaikkd6et8iqbea6g64aj3 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.1667.00.1'
20230517@161713.3979 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.4238 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161713.4515 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.4599 9svbpaikkd6et8iqbea6g64aj3 Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2300059200a'
20230517@161713.4760 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161713.4960 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.5106 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161713.5366 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e190576464eff979',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 18.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,0,0*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,0*18.000,0*18.000*200.48 ,36.089000,36.089000*200.48 ,36.089000,36.089000*200.48 ,0,0*18.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.5772 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.6031 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e190576464eff979','aut6464e961026464eff936',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.6391 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.6703 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161713.7065 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.7238 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161713.7533 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.7613 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161713.7625 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6464e022476464eff9b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.8075 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.8159 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e022476464eff9b7','aut6464e961026464eff936',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.8291 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.8295 9svbpaikkd6et8iqbea6g64aj3 Query : select st.usalote valor from st where st.ref = '324.656.00.01'
20230517@161713.8308 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.656.00.01'
20230517@161713.8449 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.8461 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161713.8474 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.8480 9svbpaikkd6et8iqbea6g64aj3 Query : select sestamp valor from se where ref ='324.656.00.01' and lote = 'r2200819100a'
20230517@161713.8490 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161713.8499 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.8511 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161713.8524 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e172056464eff9cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,0,0*200.48 ,0,0,'un ','' ,bo.marcada,1 ,0*10.000,0*10.000*200.48 ,17.482000,17.482000*200.48 ,17.482000,17.482000*200.48 ,0,0*10.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.8788 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.8795 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e172056464eff9cf','aut6464e961026464eff936',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.8909 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.8923 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161713.8936 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.8942 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161713.8952 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.8969 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161713.8981 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6464e119476464eff9da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.9227 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.9234 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e119476464eff9da','aut6464e961026464eff936',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.9361 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161713.9365 9svbpaikkd6et8iqbea6g64aj3 Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230517@161713.9377 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.670.00.01'
20230517@161713.9544 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.9558 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161713.9571 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.9577 9svbpaikkd6et8iqbea6g64aj3 Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230517@161713.9588 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161713.9597 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161713.9608 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161713.9621 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e671386464eff9ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,0,0*200.48 ,0,0,'un ','' ,bo.marcada,1 ,0*10.000,0*10.000*200.48 ,28.937000,28.937000*200.48 ,28.937000,28.937000*200.48 ,0,0*10.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161713.9921 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161713.9929 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e671386464eff9ea','aut6464e961026464eff936',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161714.6900 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161714.7300 9svbpaikkd6et8iqbea6g64aj3 Query : select st.usalote valor from st where st.ref = '321.181.45.00'
20230517@161714.9200 9svbpaikkd6et8iqbea6g64aj3 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 = '321.181.45.00'
20230517@161714.2720 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161714.2850 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161714.2970 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161714.3030 9svbpaikkd6et8iqbea6g64aj3 Query : select sestamp valor from se where ref ='321.181.45.00' and lote = 'r2100632100a'
20230517@161714.3210 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161714.3310 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161714.3440 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161714.3560 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e433846464effa08',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,0,0*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,0*10.000,0*10.000*200.48 ,24.672000,24.672000*200.48 ,24.672000,24.672000*200.48 ,0,0*10.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161714.6460 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161714.6780 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e433846464effa08','aut6464e961026464eff936',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161714.1222 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161714.1311 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161714.1325 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161714.1332 9svbpaikkd6et8iqbea6g64aj3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161714.1341 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161714.1354 9svbpaikkd6et8iqbea6g64aj3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161714.1368 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6464e053056464effa20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,70000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161714.1638 9svbpaikkd6et8iqbea6g64aj3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161714.1646 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e053056464effa20','aut6464e961026464eff936',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e961026464eff936'
20230517@161714.1765 9svbpaikkd6et8iqbea6g64aj3 Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464e961026464eff936','','wait',5,'adm12071144683,938000003')
20230517@161714.1783 9svbpaikkd6et8iqbea6g64aj3 Query : use flama_phc
20230517@161714.1786 9svbpaikkd6et8iqbea6g64aj3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@161714.1797 9svbpaikkd6et8iqbea6g64aj3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='454';
20230517@161714.1811 9svbpaikkd6et8iqbea6g64aj3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='454';
20230517@161714.1826 9svbpaikkd6et8iqbea6g64aj3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='454';
20230517@161714.1837 9svbpaikkd6et8iqbea6g64aj3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='454';
20230517@161714.2993 inhp85u7518tcvinofshl9pvnc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@161714.3006 inhp85u7518tcvinofshl9pvnc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@161714.3021 inhp85u7518tcvinofshl9pvnc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='455';
20230517@161714.3066 inhp85u7518tcvinofshl9pvnc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='455';
20230517@161714.3082 inhp85u7518tcvinofshl9pvnc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='455';
20230517@161714.3093 inhp85u7518tcvinofshl9pvnc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='455';
20230517@161714.3104 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161714.3107 inhp85u7518tcvinofshl9pvnc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@161714.3120 inhp85u7518tcvinofshl9pvnc Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20230517@161714.3152 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.736.00.01'
20230517@161714.3266 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.736.00.01' and bi.lordem =10000
20230517@161714.3591 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.727.00.01'
20230517@161714.3707 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.727.00.01' and bi.lordem =20000
20230517@161714.4033 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1557.00.1'
20230517@161714.4145 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.1557.00.1' and bi.lordem =30000
20230517@161714.4476 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5500.00.1'
20230517@161714.4587 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.5500.00.1' and bi.lordem =40000
20230517@161714.5066 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1846.00.1'
20230517@161714.5250 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.1846.00.1' and bi.lordem =50000
20230517@161714.5598 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2272.00.1'
20230517@161714.5713 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.2272.00.1' and bi.lordem =60000
20230517@161714.6075 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1461.00.1'
20230517@161714.6211 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.1461.00.1' and bi.lordem =70000
20230517@161714.6552 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.655.00.01'
20230517@161714.6686 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.655.00.01' and bi.lordem =80000
20230517@161714.7045 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.655.00.01'
20230517@161714.7057 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.655.00.01' and bi.lordem =80000
20230517@161714.7064 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.655.00.01'
20230517@161714.7076 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.655.00.01' and bi.lordem =80000
20230517@161714.7082 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.656.00.01'
20230517@161714.7095 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.656.00.01' and bi.lordem =90000
20230517@161714.7448 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.656.00.01'
20230517@161714.7460 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.656.00.01' and bi.lordem =90000
20230517@161714.7472 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4902.00.1'
20230517@161714.7712 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.4902.00.1' and bi.lordem =100000
20230517@161714.8091 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2031.00.1'
20230517@161714.8214 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.2031.00.1' and bi.lordem =110000
20230517@161714.8561 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2031.00.1'
20230517@161714.8575 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.2031.00.1' and bi.lordem =110000
20230517@161714.8608 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4906.00.1'
20230517@161714.8731 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.4906.00.1' and bi.lordem =120000
20230517@161714.9080 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.969.00.01'
20230517@161714.9214 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.969.00.01' and bi.lordem =130000
20230517@161714.9618 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.944.00.01'
20230517@161714.9743 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.944.00.01' and bi.lordem =140000
20230517@161715.1430 inhp85u7518tcvinofshl9pvnc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1667.00.1'
20230517@161715.1550 inhp85u7518tcvinofshl9pvnc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.1667.00.1' and bi.lordem =150000
20230517@161715.5960 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.5990 inhp85u7518tcvinofshl9pvnc Query : select top 1 1 valor from ts where ts.ndos = 5
20230517@161715.6110 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.6140 inhp85u7518tcvinofshl9pvnc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@161715.6280 inhp85u7518tcvinofshl9pvnc Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20230517@161715.6460 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.6490 inhp85u7518tcvinofshl9pvnc Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20230517@161715.6620 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.6670 inhp85u7518tcvinofshl9pvnc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@161715.6800 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.6840 inhp85u7518tcvinofshl9pvnc Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20230517@161715.6970 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.7000 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from ts where ndos = 5
20230517@161715.7100 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230517@161715.7630 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20230517@161715.7740 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230517@161715.7810 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230517@161715.7870 inhp85u7518tcvinofshl9pvnc Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20230517@161715.1806 inhp85u7518tcvinofshl9pvnc Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230517@161715.1836 inhp85u7518tcvinofshl9pvnc Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230517@161715.1847 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.1851 inhp85u7518tcvinofshl9pvnc Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20230517@161715.1862 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230517@161715.1871 inhp85u7518tcvinofshl9pvnc Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464e644366464effb2d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20230517@161715.1876 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230517@161715.1884 inhp85u7518tcvinofshl9pvnc Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut6464e644366464effb2d','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20230517','16:47',?,?)
20230517@161715.2040 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230517@161715.2054 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20230517@161715.2065 inhp85u7518tcvinofshl9pvnc Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut6464e644366464effb2d','trf entre armazéns a','2023-05-17',5,193,?,?,?,?,?,?,?,?,2023, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20230517@161715.2423 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.2427 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20230517@161715.2440 inhp85u7518tcvinofshl9pvnc 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'
20230517@161715.2591 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.2604 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.2620 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.2626 inhp85u7518tcvinofshl9pvnc Query : select sestamp valor from se where ref ='324.736.00.01' and lote = '12/20'
20230517@161715.2653 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.2663 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.2677 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.2691 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e546716464effb41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,0,0*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,0*8.000,0*8.000*200.48 ,9.430000,9.430000*200.48 ,9.430000,9.430000*200.48 ,0,0*8.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.2950 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.2958 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e546716464effb41','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.3076 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.3080 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20230517@161715.3092 inhp85u7518tcvinofshl9pvnc 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.727.00.01'
20230517@161715.3241 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.3255 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.3283 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.3290 inhp85u7518tcvinofshl9pvnc Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2101251200a'
20230517@161715.3301 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.3312 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.3346 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.3359 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e990086464effb50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'un ','' ,bo.marcada,1 ,0*8.000,0*8.000*200.48 ,7.686000,7.686000*200.48 ,7.686000,7.686000*200.48 ,0,0*8.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.3624 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.3640 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e990086464effb50','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.3764 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.3778 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.3792 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.3798 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.3809 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.3822 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.3836 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6464e631706464effb5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.4133 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.4142 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e631706464effb5d','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.4264 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.4268 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.1557.00.1'
20230517@161715.4281 inhp85u7518tcvinofshl9pvnc 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.1557.00.1'
20230517@161715.4451 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.4465 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.4501 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.4508 inhp85u7518tcvinofshl9pvnc Query : select sestamp valor from se where ref ='324.1557.00.1' and lote = 'r2200786200a'
20230517@161715.4519 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.4529 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.4542 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.4555 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e967076464effb6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 3.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,0,0*200.48 ,0,0,'un ','' ,bo.marcada,1 ,0*3.000,0*3.000*200.48 ,47.467000,47.467000*200.48 ,47.467000,47.467000*200.48 ,0,0*3.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.4830 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.4838 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e967076464effb6e','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.4981 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.4985 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230517@161715.4996 inhp85u7518tcvinofshl9pvnc 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'
20230517@161715.5148 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.5162 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.5178 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.5184 inhp85u7518tcvinofshl9pvnc Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230517@161715.5194 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.5205 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.5218 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.5231 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e003866464effb7f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,0,0*200.48 ,0,0,'un ','' ,bo.marcada,1 ,0*6.000,0*6.000*200.48 ,28.271000,28.271000*200.48 ,28.271000,28.271000*200.48 ,0,0*6.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.5501 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.5512 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e003866464effb7f','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.5637 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.5641 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.1846.00.1'
20230517@161715.5653 inhp85u7518tcvinofshl9pvnc 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.1846.00.1'
20230517@161715.5809 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.5824 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.5841 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.5848 inhp85u7518tcvinofshl9pvnc Query : select sestamp valor from se where ref ='324.1846.00.1' and lote = 'r2200670200a'
20230517@161715.5867 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.5878 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.5890 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.5904 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e372836464effb8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 3.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,0,0*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,0*3.000,0*3.000*200.48 ,32.052000,32.052000*200.48 ,32.052000,32.052000*200.48 ,0,0*3.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.6170 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.6202 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e372836464effb8f','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.6325 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.6340 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.6354 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.6361 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.6379 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.6391 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.6406 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6464e263066464effb9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,70000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.6677 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.6686 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e263066464effb9b','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.6805 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.6810 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.2272.00.1'
20230517@161715.6823 inhp85u7518tcvinofshl9pvnc 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.2272.00.1'
20230517@161715.6971 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.6985 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.6999 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.7005 inhp85u7518tcvinofshl9pvnc Query : select sestamp valor from se where ref ='324.2272.00.1' and lote = '08/19'
20230517@161715.7016 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.7027 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.7040 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.7054 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e372136464effbab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,80000 ,0,0*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,0*2.000,0*2.000*200.48 ,48.445000,48.445000*200.48 ,48.445000,48.445000*200.48 ,0,0*2.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.7454 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.7467 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e372136464effbab','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.7661 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.7946 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20230517@161715.8649 inhp85u7518tcvinofshl9pvnc 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.1461.00.1'
20230517@161715.8813 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.8827 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.8841 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.8848 inhp85u7518tcvinofshl9pvnc Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100211200a'
20230517@161715.8867 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.8878 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.8893 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.8908 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,lote,armazem,ar2mazem,obistamp ,oobistamp ) select 'aut6464e477186464effbd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2.000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,90000 ,0,0*200.48 ,0,0,'un ','' ,bo.marcada,1 ,0*2.000,0*2.000*200.48 ,29.860000,29.860000*200.48 ,29.860000,29.860000*200.48 ,0,0*2.000 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.9174 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.9182 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e477186464effbd8','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.9302 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.9306 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.655.00.01'
20230517@161715.9319 inhp85u7518tcvinofshl9pvnc 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.655.00.01'
20230517@161715.9468 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.9482 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.9496 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.9503 inhp85u7518tcvinofshl9pvnc Query : select sestamp valor from se where ref ='324.655.00.01' and lote = 'r230019200a'
20230517@161715.9509 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.9522 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230517@161715.9534 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.9539 inhp85u7518tcvinofshl9pvnc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@161715.9548 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230517@161715.9559 inhp85u7518tcvinofshl9pvnc Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230517@161715.9573 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut6464e105956464effbe9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,110000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.9834 inhp85u7518tcvinofshl9pvnc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230517@161715.9844 inhp85u7518tcvinofshl9pvnc Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6464e105956464effbe9','aut6464e644366464effb2d',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6464e644366464effb2d'
20230517@161715.9981 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.9985 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.655.00.01'
20230517@161715.9995 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161715.9998 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.655.00.01'
20230517@161716.1000 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.1300 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.656.00.01'
20230517@161716.2200 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.2500 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.656.00.01'
20230517@161716.3400 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.3700 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230517@161716.4700 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.5000 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20230517@161716.5900 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.6200 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20230517@161716.7100 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.7400 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230517@161716.8300 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.8600 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20230517@161716.9500 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.9700 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.944.00.01'
20230517@161716.1070 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.1100 inhp85u7518tcvinofshl9pvnc Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20230517@161716.1260 inhp85u7518tcvinofshl9pvnc Query : use flama_phc
20230517@161716.1290 inhp85u7518tcvinofshl9pvnc Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230517@161716.2090 inhp85u7518tcvinofshl9pvnc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='455';
20230517@161716.2240 inhp85u7518tcvinofshl9pvnc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='455';
20230517@163008.5371 72rdg55j9oog0ks6qlekk8q925 Query : use flama_phc
20230517@163008.5376 72rdg55j9oog0ks6qlekk8q925 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@163008.5394 72rdg55j9oog0ks6qlekk8q925 Query : use flama_phc
20230517@163008.5397 72rdg55j9oog0ks6qlekk8q925 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163414.7582 c9dcvbsgjl660mp7l7opivt1qh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163414.7599 c9dcvbsgjl660mp7l7opivt1qh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163414.7619 c9dcvbsgjl660mp7l7opivt1qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='456';
20230517@163414.7665 c9dcvbsgjl660mp7l7opivt1qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='456';
20230517@163414.7680 c9dcvbsgjl660mp7l7opivt1qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='456';
20230517@163414.7693 c9dcvbsgjl660mp7l7opivt1qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='456';
20230517@163414.7706 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163414.7711 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163414.7727 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163414.7731 c9dcvbsgjl660mp7l7opivt1qh Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20230517@163414.7828 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230517@163414.8009 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230517@163414.8381 c9dcvbsgjl660mp7l7opivt1qh 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 = 'evc23051756512,0030000-2 ' 
20230517@163414.8741 c9dcvbsgjl660mp7l7opivt1qh 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'
20230517@163414.8928 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='325.551.00.15' and bi.lordem =30000
20230517@163414.9312 c9dcvbsgjl660mp7l7opivt1qh 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 = 'evc23051756512,0370000-3 ' 
20230517@163414.9764 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@163414.9777 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.1670.00.1' and bi.lordem =40000
20230517@163415.1970 c9dcvbsgjl660mp7l7opivt1qh 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 = 'evc23051756512,0720000-4 ' 
20230517@163415.5740 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.5780 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163415.5930 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.5970 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163415.6080 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.6140 c9dcvbsgjl660mp7l7opivt1qh Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163415.6260 c9dcvbsgjl660mp7l7opivt1qh 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
20230517@163415.6600 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.6650 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20230517@163415.8030 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.8070 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163415.8280 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.8310 c9dcvbsgjl660mp7l7opivt1qh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163415.8420 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.8450 c9dcvbsgjl660mp7l7opivt1qh Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20230517@163415.8610 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.8640 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from td where ndoc = 39
20230517@163415.8740 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163415.8880 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163415.1429 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163415.2477 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163415.2498 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163415.2531 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163415.2546 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163415.2561 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163415.2607 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163415.2619 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163415.2636 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163415.2647 c9dcvbsgjl660mp7l7opivt1qh Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f133266464f3f73e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163415.2829 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163415.2849 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163415.2883 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='ec40b6bcc0d74cbcff2b32 '
20230517@163415.3003 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='ec40b6bcc0d74cbcff2b32 '
20230517@163415.3110 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='ec40b6bcc0d74cbcff2b32 '
20230517@163415.3213 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='ec40b6bcc0d74cbcff2b32 '
20230517@163415.3324 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bo.trab5 valor from bo where bo.bostamp='ec40b6bcc0d74cbcff2b32 '
20230517@163415.3471 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 bo.serie valor from bo where bo.bostamp='ec40b6bcc0d74cbcff2b32 '
20230517@163415.3633 c9dcvbsgjl660mp7l7opivt1qh Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f133266464f3f73e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163415.3918 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163415.3980 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163415.3995 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163415.4056 c9dcvbsgjl660mp7l7opivt1qh 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 ('aut6464f133266464f3f73e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',337,100632,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163415.4464 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.4469 c9dcvbsgjl660mp7l7opivt1qh Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230517@163415.4482 c9dcvbsgjl660mp7l7opivt1qh 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.5540.00.1'
20230517@163415.4649 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163415.4665 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163415.4690 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163415.4704 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163415.4709 c9dcvbsgjl660mp7l7opivt1qh Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230517@163415.4721 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163415.4732 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163415.4745 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163415.4770 c9dcvbsgjl660mp7l7opivt1qh 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 ('aut6464f437346464f3f773',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464f133266464f3f73e' ,92.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163415.5048 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163415.5066 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163415.5071 c9dcvbsgjl660mp7l7opivt1qh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f437346464f3f773','aut6464f133266464f3f73e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163415.5076 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.5080 c9dcvbsgjl660mp7l7opivt1qh Query : select st.usalote valor from st where st.ref = '325.551.00.15'
20230517@163415.5093 c9dcvbsgjl660mp7l7opivt1qh 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'
20230517@163415.5347 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163415.5363 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163415.5388 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163415.5403 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163415.5408 c9dcvbsgjl660mp7l7opivt1qh Query : select sestamp valor from se where ref ='325.551.00.15' and lote = 'r210109070'
20230517@163415.5421 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163415.5431 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163415.5445 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163415.5481 c9dcvbsgjl660mp7l7opivt1qh 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 ('aut6464f024016464f3f784',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6464f133266464f3f73e' ,4.100000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230517@163415.5773 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163415.5792 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163415.5797 c9dcvbsgjl660mp7l7opivt1qh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f024016464f3f784','aut6464f133266464f3f73e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163415.5803 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163415.5818 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163415.5844 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163415.5859 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163415.5864 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163415.5874 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163415.5887 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163415.5913 c9dcvbsgjl660mp7l7opivt1qh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464f965976464f3f78f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464f133266464f3f73e' ,0,0 ,2,23.00,30000,?,?,?)
20230517@163415.6189 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163415.6206 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163415.6211 c9dcvbsgjl660mp7l7opivt1qh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f965976464f3f78f','aut6464f133266464f3f73e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163415.6216 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.6219 c9dcvbsgjl660mp7l7opivt1qh Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20230517@163415.6231 c9dcvbsgjl660mp7l7opivt1qh 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.1670.00.1'
20230517@163415.6244 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163415.6259 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163415.6285 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163415.6315 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163415.6320 c9dcvbsgjl660mp7l7opivt1qh Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2100590100a'
20230517@163415.6332 c9dcvbsgjl660mp7l7opivt1qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163415.6352 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163415.6367 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163415.6391 c9dcvbsgjl660mp7l7opivt1qh 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 ('aut6464f929876464f3f79b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6464f133266464f3f73e' ,49.300000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230517@163415.6700 c9dcvbsgjl660mp7l7opivt1qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163415.6716 c9dcvbsgjl660mp7l7opivt1qh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163415.6721 c9dcvbsgjl660mp7l7opivt1qh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f929876464f3f79b','aut6464f133266464f3f73e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163415.6726 c9dcvbsgjl660mp7l7opivt1qh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f133266464f3f73e','119230000295','wait',39,'ari17112337378,753000005')
20230517@163415.6744 c9dcvbsgjl660mp7l7opivt1qh Query : use flama_phc
20230517@163415.6748 c9dcvbsgjl660mp7l7opivt1qh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163415.6761 c9dcvbsgjl660mp7l7opivt1qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='456';
20230517@163415.6777 c9dcvbsgjl660mp7l7opivt1qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='456';
20230517@163415.6792 c9dcvbsgjl660mp7l7opivt1qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='456';
20230517@163415.6805 c9dcvbsgjl660mp7l7opivt1qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='456';
20230517@163415.7182 959fau697vsfpg6hijbrppmgkh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163415.7196 959fau697vsfpg6hijbrppmgkh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163415.7215 959fau697vsfpg6hijbrppmgkh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='457';
20230517@163415.7260 959fau697vsfpg6hijbrppmgkh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='457';
20230517@163415.7274 959fau697vsfpg6hijbrppmgkh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='457';
20230517@163415.7286 959fau697vsfpg6hijbrppmgkh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='457';
20230517@163415.7299 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.7303 959fau697vsfpg6hijbrppmgkh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163415.7318 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.7322 959fau697vsfpg6hijbrppmgkh Query : select no, estab,szadrsdesc from szadrs where u_coddest=1499
20230517@163415.7406 959fau697vsfpg6hijbrppmgkh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20230517@163415.7594 959fau697vsfpg6hijbrppmgkh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000296 and bi.ref ='324.4743.00.1' and bi.lordem =20000
20230517@163415.7974 959fau697vsfpg6hijbrppmgkh 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 = 'evc23051756540,9210000-2 ' 
20230517@163415.8326 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.8330 959fau697vsfpg6hijbrppmgkh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163415.8344 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.8347 959fau697vsfpg6hijbrppmgkh Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163415.8360 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.8363 959fau697vsfpg6hijbrppmgkh Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163415.8374 959fau697vsfpg6hijbrppmgkh 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
20230517@163415.8392 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.8395 959fau697vsfpg6hijbrppmgkh Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230517@163415.8523 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.8526 959fau697vsfpg6hijbrppmgkh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163415.8543 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.8547 959fau697vsfpg6hijbrppmgkh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163415.8559 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.8562 959fau697vsfpg6hijbrppmgkh Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - ponte'
20230517@163415.8575 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163415.8578 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from td where ndoc = 39
20230517@163415.8591 959fau697vsfpg6hijbrppmgkh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163415.8603 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163415.8619 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163415.8640 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163415.8654 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163415.8683 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163415.8697 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163415.8708 959fau697vsfpg6hijbrppmgkh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163415.8750 959fau697vsfpg6hijbrppmgkh Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163415.8762 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163415.8778 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163415.8789 959fau697vsfpg6hijbrppmgkh Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f745746464f3f7d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163415.8966 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163415.8982 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163415.9016 959fau697vsfpg6hijbrppmgkh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='404ae0b2e10e1fcb6e19c3 '
20230517@163415.9137 959fau697vsfpg6hijbrppmgkh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='404ae0b2e10e1fcb6e19c3 '
20230517@163415.9256 959fau697vsfpg6hijbrppmgkh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='404ae0b2e10e1fcb6e19c3 '
20230517@163415.9384 959fau697vsfpg6hijbrppmgkh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='404ae0b2e10e1fcb6e19c3 '
20230517@163415.9578 959fau697vsfpg6hijbrppmgkh Query : select top 1 bo.trab5 valor from bo where bo.bostamp='404ae0b2e10e1fcb6e19c3 '
20230517@163415.9693 959fau697vsfpg6hijbrppmgkh Query : select top 1 bo.serie valor from bo where bo.bostamp='404ae0b2e10e1fcb6e19c3 '
20230517@163415.9800 959fau697vsfpg6hijbrppmgkh Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f745746464f3f7d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163416.4400 959fau697vsfpg6hijbrppmgkh Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163416.6100 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163416.7800 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163416.1000 959fau697vsfpg6hijbrppmgkh 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 ('aut6464f745746464f3f7d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',338,101621,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163416.4490 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163416.4540 959fau697vsfpg6hijbrppmgkh Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20230517@163416.4670 959fau697vsfpg6hijbrppmgkh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20230517@163416.6480 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.6640 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163416.7000 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.7140 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163416.7200 959fau697vsfpg6hijbrppmgkh Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20230517@163416.7340 959fau697vsfpg6hijbrppmgkh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163416.7510 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.7690 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163416.8120 959fau697vsfpg6hijbrppmgkh 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 ('aut6464f485136464f3f812',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464f745746464f3f7d4' ,35.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163416.1109 959fau697vsfpg6hijbrppmgkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.1127 959fau697vsfpg6hijbrppmgkh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163416.1132 959fau697vsfpg6hijbrppmgkh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f485136464f3f812','aut6464f745746464f3f7d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163416.1137 959fau697vsfpg6hijbrppmgkh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f745746464f3f7d4','119230000296','wait',39,'ari17112337378,753000005')
20230517@163416.1155 959fau697vsfpg6hijbrppmgkh Query : use flama_phc
20230517@163416.1159 959fau697vsfpg6hijbrppmgkh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163416.1171 959fau697vsfpg6hijbrppmgkh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='457';
20230517@163416.1188 959fau697vsfpg6hijbrppmgkh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='457';
20230517@163416.1199 959fau697vsfpg6hijbrppmgkh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='457';
20230517@163416.1212 959fau697vsfpg6hijbrppmgkh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='457';
20230517@163416.2183 krj3gsdidil23t95rut50lqe5u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163416.2198 krj3gsdidil23t95rut50lqe5u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163416.2218 krj3gsdidil23t95rut50lqe5u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='458';
20230517@163416.2262 krj3gsdidil23t95rut50lqe5u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='458';
20230517@163416.2276 krj3gsdidil23t95rut50lqe5u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='458';
20230517@163416.2290 krj3gsdidil23t95rut50lqe5u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='458';
20230517@163416.2302 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.2305 krj3gsdidil23t95rut50lqe5u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163416.2320 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.2323 krj3gsdidil23t95rut50lqe5u Query : select no, estab,szadrsdesc from szadrs where u_coddest=2064
20230517@163416.2412 krj3gsdidil23t95rut50lqe5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20230517@163416.2604 krj3gsdidil23t95rut50lqe5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000297 and bi.ref ='324.4906.00.1' and bi.lordem =20000
20230517@163416.3015 krj3gsdidil23t95rut50lqe5u 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 = 'evc23051756557,0330000-2 ' 
20230517@163416.3403 krj3gsdidil23t95rut50lqe5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20230517@163416.3751 krj3gsdidil23t95rut50lqe5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000297 and bi.ref ='324.4902.00.1' and bi.lordem =30000
20230517@163416.4139 krj3gsdidil23t95rut50lqe5u 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 = 'evc23051756557,0650000-3 ' 
20230517@163416.4496 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.4500 krj3gsdidil23t95rut50lqe5u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163416.4515 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.4518 krj3gsdidil23t95rut50lqe5u Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163416.4529 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.4532 krj3gsdidil23t95rut50lqe5u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163416.4543 krj3gsdidil23t95rut50lqe5u 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
20230517@163416.4558 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.4561 krj3gsdidil23t95rut50lqe5u Query : select top 1 ~inactivo valor from cl where no = '101645' and estab = 0 order by inactivo desc
20230517@163416.4680 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.4683 krj3gsdidil23t95rut50lqe5u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163416.4695 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.4698 krj3gsdidil23t95rut50lqe5u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163416.4710 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.4714 krj3gsdidil23t95rut50lqe5u Query : select szadrsstamp valor from szadrs where szadrsdesc='macorlux - electrodomÉsticos, s.a.'
20230517@163416.4730 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.4733 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from td where ndoc = 39
20230517@163416.4744 krj3gsdidil23t95rut50lqe5u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163416.4756 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163416.4773 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163416.4791 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163416.4805 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163416.4835 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163416.4849 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163416.4860 krj3gsdidil23t95rut50lqe5u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163416.4905 krj3gsdidil23t95rut50lqe5u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163416.5036 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163416.5247 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163416.5296 krj3gsdidil23t95rut50lqe5u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f335126464f3f876' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163416.5485 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163416.5505 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163416.5536 krj3gsdidil23t95rut50lqe5u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23040644456,586000002 '
20230517@163416.5654 krj3gsdidil23t95rut50lqe5u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23040644456,586000002 '
20230517@163416.5767 krj3gsdidil23t95rut50lqe5u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23040644456,586000002 '
20230517@163416.5879 krj3gsdidil23t95rut50lqe5u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23040644456,586000002 '
20230517@163416.5986 krj3gsdidil23t95rut50lqe5u Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23040644456,586000002 '
20230517@163416.6106 krj3gsdidil23t95rut50lqe5u Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23040644456,586000002 '
20230517@163416.6232 krj3gsdidil23t95rut50lqe5u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f335126464f3f876',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163416.6498 krj3gsdidil23t95rut50lqe5u Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163416.6516 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163416.6532 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163416.6551 krj3gsdidil23t95rut50lqe5u 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 ('aut6464f335126464f3f876',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',339,101645,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163416.6870 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.6874 krj3gsdidil23t95rut50lqe5u Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230517@163416.6889 krj3gsdidil23t95rut50lqe5u 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.4906.00.1'
20230517@163416.7053 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.7069 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163416.7105 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.7120 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163416.7125 krj3gsdidil23t95rut50lqe5u Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2200756100a'
20230517@163416.7138 krj3gsdidil23t95rut50lqe5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163416.7149 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.7163 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163416.7209 krj3gsdidil23t95rut50lqe5u 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 ('aut6464f557406464f3f8ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6464f335126464f3f876' ,41.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163416.7493 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.7511 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163416.7517 krj3gsdidil23t95rut50lqe5u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f557406464f3f8ae','aut6464f335126464f3f876' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163416.7522 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.7536 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163416.7560 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.7574 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163416.7578 krj3gsdidil23t95rut50lqe5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163416.7596 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.7620 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163416.7645 krj3gsdidil23t95rut50lqe5u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464f859906464f3f8b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464f335126464f3f876' ,0,0 ,2,23.00,20000,?,?,?)
20230517@163416.7916 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.7933 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163416.7938 krj3gsdidil23t95rut50lqe5u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f859906464f3f8b9','aut6464f335126464f3f876' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163416.7943 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.7946 krj3gsdidil23t95rut50lqe5u Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230517@163416.7957 krj3gsdidil23t95rut50lqe5u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20230517@163416.8161 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.8177 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163416.8202 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.8218 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163416.8222 krj3gsdidil23t95rut50lqe5u Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230517@163416.8234 krj3gsdidil23t95rut50lqe5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163416.8263 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.8277 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163416.8307 krj3gsdidil23t95rut50lqe5u 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 ('aut6464f119986464f3f8c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6464f335126464f3f876' ,31.500000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230517@163416.8591 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.8609 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163416.8614 krj3gsdidil23t95rut50lqe5u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f119986464f3f8c9','aut6464f335126464f3f876' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163416.8619 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.8632 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163416.8661 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.8674 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163416.8679 krj3gsdidil23t95rut50lqe5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163416.8696 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163416.8711 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163416.8736 krj3gsdidil23t95rut50lqe5u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464f131986464f3f8d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464f335126464f3f876' ,0,0 ,2,23.00,50000,?,?,?)
20230517@163416.9006 krj3gsdidil23t95rut50lqe5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163416.9023 krj3gsdidil23t95rut50lqe5u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163416.9029 krj3gsdidil23t95rut50lqe5u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f131986464f3f8d4','aut6464f335126464f3f876' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163416.9033 krj3gsdidil23t95rut50lqe5u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f335126464f3f876','119230000297','wait',39,'ari17112337378,753000005')
20230517@163416.9051 krj3gsdidil23t95rut50lqe5u Query : use flama_phc
20230517@163416.9054 krj3gsdidil23t95rut50lqe5u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163416.9066 krj3gsdidil23t95rut50lqe5u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='458';
20230517@163416.9082 krj3gsdidil23t95rut50lqe5u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='458';
20230517@163416.9094 krj3gsdidil23t95rut50lqe5u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='458';
20230517@163416.9106 krj3gsdidil23t95rut50lqe5u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='458';
20230517@163416.9463 q45lfe9mhjm95k3od28cukskf8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163416.9477 q45lfe9mhjm95k3od28cukskf8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163416.9496 q45lfe9mhjm95k3od28cukskf8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='459';
20230517@163416.9542 q45lfe9mhjm95k3od28cukskf8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='459';
20230517@163416.9556 q45lfe9mhjm95k3od28cukskf8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='459';
20230517@163416.9569 q45lfe9mhjm95k3od28cukskf8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='459';
20230517@163416.9582 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163416.9586 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163416.9600 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163416.9603 q45lfe9mhjm95k3od28cukskf8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2686
20230517@163416.9708 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20230517@163416.9720 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000298 and bi.ref ='324.1667.00.1' and bi.lordem =20000
20230517@163417.1150 q45lfe9mhjm95k3od28cukskf8 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 = 'evc23051756561,0960000-2 ' 
20230517@163417.5290 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.5330 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163417.5490 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.5530 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163417.5630 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.5660 q45lfe9mhjm95k3od28cukskf8 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163417.5790 q45lfe9mhjm95k3od28cukskf8 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
20230517@163417.5940 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.5970 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 ~inactivo valor from cl where no = '102189' and estab = 0 order by inactivo desc
20230517@163417.7270 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.7300 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163417.7410 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.7440 q45lfe9mhjm95k3od28cukskf8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163417.7550 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.7590 q45lfe9mhjm95k3od28cukskf8 Query : select szadrsstamp valor from szadrs where szadrsdesc='bom preÇo, lda.- entrega'
20230517@163417.7720 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.7750 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from td where ndoc = 39
20230517@163417.7870 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163417.8020 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163417.8170 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163417.8370 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163417.8510 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163417.8800 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163417.9030 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163417.9140 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163417.9560 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163417.9670 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163417.9810 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163417.9930 q45lfe9mhjm95k3od28cukskf8 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f527676464f3f916' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163417.1175 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163417.1191 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163417.1221 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='df4cc4a9a1f32ff6155d89 '
20230517@163417.1344 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='df4cc4a9a1f32ff6155d89 '
20230517@163417.1471 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='df4cc4a9a1f32ff6155d89 '
20230517@163417.1586 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='df4cc4a9a1f32ff6155d89 '
20230517@163417.1880 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='df4cc4a9a1f32ff6155d89 '
20230517@163417.2012 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 bo.serie valor from bo where bo.bostamp='df4cc4a9a1f32ff6155d89 '
20230517@163417.2127 q45lfe9mhjm95k3od28cukskf8 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f527676464f3f916',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163417.2383 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163417.2400 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163417.2433 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163417.2454 q45lfe9mhjm95k3od28cukskf8 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 ('aut6464f527676464f3f916',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',340,102189,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163417.2805 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.2811 q45lfe9mhjm95k3od28cukskf8 Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20230517@163417.2825 q45lfe9mhjm95k3od28cukskf8 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.1667.00.1'
20230517@163417.2837 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163417.2853 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163417.2879 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163417.2894 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163417.2900 q45lfe9mhjm95k3od28cukskf8 Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2300059200a'
20230517@163417.2911 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163417.2922 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163417.2935 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163417.2965 q45lfe9mhjm95k3od28cukskf8 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 ('aut6464f997146464f3f947',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6464f527676464f3f916' ,89.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163417.3229 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163417.3246 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163417.3251 q45lfe9mhjm95k3od28cukskf8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f997146464f3f947','aut6464f527676464f3f916' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163417.3257 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163417.3270 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163417.3294 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163417.3308 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163417.3313 q45lfe9mhjm95k3od28cukskf8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163417.3323 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163417.3344 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163417.3371 q45lfe9mhjm95k3od28cukskf8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464f962286464f3f951',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464f527676464f3f916' ,0,0 ,2,23.00,20000,?,?,?)
20230517@163417.3653 q45lfe9mhjm95k3od28cukskf8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163417.3675 q45lfe9mhjm95k3od28cukskf8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163417.3680 q45lfe9mhjm95k3od28cukskf8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f962286464f3f951','aut6464f527676464f3f916' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163417.3685 q45lfe9mhjm95k3od28cukskf8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f527676464f3f916','119230000298','wait',39,'ari17112337378,753000005')
20230517@163417.3706 q45lfe9mhjm95k3od28cukskf8 Query : use flama_phc
20230517@163417.3709 q45lfe9mhjm95k3od28cukskf8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163417.3734 q45lfe9mhjm95k3od28cukskf8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='459';
20230517@163417.3750 q45lfe9mhjm95k3od28cukskf8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='459';
20230517@163417.3771 q45lfe9mhjm95k3od28cukskf8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='459';
20230517@163417.3783 q45lfe9mhjm95k3od28cukskf8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='459';
20230517@163417.4136 4gmlkhf30sdts6mk4fvlek1837 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163417.4154 4gmlkhf30sdts6mk4fvlek1837 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163417.4172 4gmlkhf30sdts6mk4fvlek1837 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='460';
20230517@163417.4215 4gmlkhf30sdts6mk4fvlek1837 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='460';
20230517@163417.4231 4gmlkhf30sdts6mk4fvlek1837 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='460';
20230517@163417.4244 4gmlkhf30sdts6mk4fvlek1837 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='460';
20230517@163417.4259 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.4263 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163417.4277 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.4280 4gmlkhf30sdts6mk4fvlek1837 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20230517@163417.4360 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20230517@163417.4372 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000300 and bi.ref ='324.4743.00.1' and bi.lordem =20000
20230517@163417.4847 4gmlkhf30sdts6mk4fvlek1837 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 = 'evc23051756834,3530000-2 ' 
20230517@163417.5252 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.5256 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163417.5295 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.5299 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163417.5313 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.5317 4gmlkhf30sdts6mk4fvlek1837 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163417.5328 4gmlkhf30sdts6mk4fvlek1837 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
20230517@163417.5346 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.5349 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230517@163417.5361 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.5364 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163417.5377 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.5380 4gmlkhf30sdts6mk4fvlek1837 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163417.5391 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.5394 4gmlkhf30sdts6mk4fvlek1837 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20230517@163417.5407 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.5410 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from td where ndoc = 39
20230517@163417.5421 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163417.5432 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163417.5459 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163417.5479 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163417.5499 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163417.5526 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163417.5548 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163417.5559 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163417.5721 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163417.5731 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163417.5745 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163417.5756 4gmlkhf30sdts6mk4fvlek1837 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f194506464f3f987' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163417.5943 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163417.5994 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163417.6023 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='f04b778e194ee35779a579 '
20230517@163417.6139 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='f04b778e194ee35779a579 '
20230517@163417.6329 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='f04b778e194ee35779a579 '
20230517@163417.6446 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='f04b778e194ee35779a579 '
20230517@163417.6610 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='f04b778e194ee35779a579 '
20230517@163417.6782 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 bo.serie valor from bo where bo.bostamp='f04b778e194ee35779a579 '
20230517@163417.6918 4gmlkhf30sdts6mk4fvlek1837 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f194506464f3f987',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163417.7162 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163417.7197 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163417.7210 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163417.7227 4gmlkhf30sdts6mk4fvlek1837 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 ('aut6464f194506464f3f987',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',341,101621,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163417.7557 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.7562 4gmlkhf30sdts6mk4fvlek1837 Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20230517@163417.7575 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20230517@163417.7589 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163417.7602 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163417.7624 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163417.7638 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163417.7642 4gmlkhf30sdts6mk4fvlek1837 Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20230517@163417.7652 4gmlkhf30sdts6mk4fvlek1837 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163417.7664 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163417.7707 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163417.7864 4gmlkhf30sdts6mk4fvlek1837 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 ('aut6464f094686464f3f9bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464f194506464f3f987' ,35.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163417.8143 4gmlkhf30sdts6mk4fvlek1837 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163417.8165 4gmlkhf30sdts6mk4fvlek1837 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163417.8169 4gmlkhf30sdts6mk4fvlek1837 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f094686464f3f9bb','aut6464f194506464f3f987' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163417.8175 4gmlkhf30sdts6mk4fvlek1837 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f194506464f3f987','119230000300','wait',39,'ari17112337378,753000005')
20230517@163417.8242 4gmlkhf30sdts6mk4fvlek1837 Query : use flama_phc
20230517@163417.8261 4gmlkhf30sdts6mk4fvlek1837 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163417.8389 4gmlkhf30sdts6mk4fvlek1837 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='460';
20230517@163417.8450 4gmlkhf30sdts6mk4fvlek1837 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='460';
20230517@163417.8591 4gmlkhf30sdts6mk4fvlek1837 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='460';
20230517@163417.8742 4gmlkhf30sdts6mk4fvlek1837 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='460';
20230517@163417.9147 j5r3rv8b6fc5nsn8m01c52s7lr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163417.9173 j5r3rv8b6fc5nsn8m01c52s7lr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163417.9230 j5r3rv8b6fc5nsn8m01c52s7lr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='461';
20230517@163417.9301 j5r3rv8b6fc5nsn8m01c52s7lr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='461';
20230517@163417.9337 j5r3rv8b6fc5nsn8m01c52s7lr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='461';
20230517@163417.9414 j5r3rv8b6fc5nsn8m01c52s7lr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='461';
20230517@163417.9444 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163417.9451 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163417.9515 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163417.9599 j5r3rv8b6fc5nsn8m01c52s7lr Query : select no, estab,szadrsdesc from szadrs where u_coddest=3145
20230517@163417.9690 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20230517@163417.9747 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000302 and bi.ref ='324.4743.00.1' and bi.lordem =20000
20230517@163418.1840 j5r3rv8b6fc5nsn8m01c52s7lr 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 = 'evc23051756873,5050000-2 ' 
20230517@163418.7000 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.7050 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163418.7590 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.7620 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163418.8380 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.8600 j5r3rv8b6fc5nsn8m01c52s7lr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163418.9040 j5r3rv8b6fc5nsn8m01c52s7lr 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
20230517@163418.9720 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.9760 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230517@163418.1023 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.1062 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163418.1130 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.1133 j5r3rv8b6fc5nsn8m01c52s7lr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163418.1253 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.1258 j5r3rv8b6fc5nsn8m01c52s7lr Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - caldas da rainha'
20230517@163418.1270 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.1273 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from td where ndoc = 39
20230517@163418.1282 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163418.1292 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163418.1324 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163418.1491 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163418.1505 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163418.1551 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163418.1581 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163418.1599 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163418.1780 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163418.1789 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163418.1803 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163418.1812 j5r3rv8b6fc5nsn8m01c52s7lr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f901876464f3fa27' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163418.2077 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163418.2160 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163418.2186 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='744dea9a282a19e6714a8e '
20230517@163418.2299 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='744dea9a282a19e6714a8e '
20230517@163418.2405 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='744dea9a282a19e6714a8e '
20230517@163418.2515 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='744dea9a282a19e6714a8e '
20230517@163418.2617 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 bo.trab5 valor from bo where bo.bostamp='744dea9a282a19e6714a8e '
20230517@163418.2719 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 bo.serie valor from bo where bo.bostamp='744dea9a282a19e6714a8e '
20230517@163418.2816 j5r3rv8b6fc5nsn8m01c52s7lr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f901876464f3fa27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163418.3038 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163418.3053 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163418.3066 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163418.3083 j5r3rv8b6fc5nsn8m01c52s7lr 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 ('aut6464f901876464f3fa27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',342,101621,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163418.3385 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.3389 j5r3rv8b6fc5nsn8m01c52s7lr Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20230517@163418.3402 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20230517@163418.3413 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163418.3426 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163418.3449 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163418.3462 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163418.3466 j5r3rv8b6fc5nsn8m01c52s7lr Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20230517@163418.3476 j5r3rv8b6fc5nsn8m01c52s7lr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163418.3485 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163418.3499 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163418.3520 j5r3rv8b6fc5nsn8m01c52s7lr 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 ('aut6464f530196464f3fa55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464f901876464f3fa27' ,35.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163418.3790 j5r3rv8b6fc5nsn8m01c52s7lr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163418.3805 j5r3rv8b6fc5nsn8m01c52s7lr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163418.3810 j5r3rv8b6fc5nsn8m01c52s7lr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f530196464f3fa55','aut6464f901876464f3fa27' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163418.3815 j5r3rv8b6fc5nsn8m01c52s7lr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f901876464f3fa27','119230000302','wait',39,'ari17112337378,753000005')
20230517@163418.3836 j5r3rv8b6fc5nsn8m01c52s7lr Query : use flama_phc
20230517@163418.3839 j5r3rv8b6fc5nsn8m01c52s7lr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163418.3855 j5r3rv8b6fc5nsn8m01c52s7lr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='461';
20230517@163418.3872 j5r3rv8b6fc5nsn8m01c52s7lr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='461';
20230517@163418.3887 j5r3rv8b6fc5nsn8m01c52s7lr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='461';
20230517@163418.3902 j5r3rv8b6fc5nsn8m01c52s7lr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='461';
20230517@163418.5529 23avk72neqigomihr4vpnd14d3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163418.7173 23avk72neqigomihr4vpnd14d3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163418.7389 23avk72neqigomihr4vpnd14d3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='462';
20230517@163418.7920 23avk72neqigomihr4vpnd14d3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='462';
20230517@163418.8004 23avk72neqigomihr4vpnd14d3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='462';
20230517@163418.8296 23avk72neqigomihr4vpnd14d3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='462';
20230517@163418.8382 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163418.8424 23avk72neqigomihr4vpnd14d3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163418.8635 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163418.8675 23avk72neqigomihr4vpnd14d3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20230517@163418.9041 23avk72neqigomihr4vpnd14d3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20230517@163418.9407 23avk72neqigomihr4vpnd14d3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000303 and bi.ref ='324.4743.00.1' and bi.lordem =20000
20230517@163419.1109 23avk72neqigomihr4vpnd14d3 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 = 'evc23051756889,6750000-2 ' 
20230517@163419.2081 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163419.2124 23avk72neqigomihr4vpnd14d3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163419.2421 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163419.2462 23avk72neqigomihr4vpnd14d3 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163419.2683 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163419.2726 23avk72neqigomihr4vpnd14d3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163419.3261 23avk72neqigomihr4vpnd14d3 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
20230517@163419.3558 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163419.3599 23avk72neqigomihr4vpnd14d3 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230517@163419.4004 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163419.4088 23avk72neqigomihr4vpnd14d3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163419.4347 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163419.4395 23avk72neqigomihr4vpnd14d3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163419.4837 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163419.4923 23avk72neqigomihr4vpnd14d3 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - ovar'
20230517@163419.5763 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163419.5808 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from td where ndoc = 39
20230517@163419.6034 23avk72neqigomihr4vpnd14d3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163419.6377 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163419.6609 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163419.7125 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163419.7562 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163419.8812 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163419.9193 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163419.9255 23avk72neqigomihr4vpnd14d3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163419.9300 23avk72neqigomihr4vpnd14d3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163419.9500 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163419.9757 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163420.7800 23avk72neqigomihr4vpnd14d3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f856876464f3fbe1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163420.8940 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163420.2026 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163420.3138 23avk72neqigomihr4vpnd14d3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='83457bb358c633b90c94ca '
20230517@163420.3651 23avk72neqigomihr4vpnd14d3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='83457bb358c633b90c94ca '
20230517@163420.4257 23avk72neqigomihr4vpnd14d3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='83457bb358c633b90c94ca '
20230517@163420.4926 23avk72neqigomihr4vpnd14d3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='83457bb358c633b90c94ca '
20230517@163420.5588 23avk72neqigomihr4vpnd14d3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='83457bb358c633b90c94ca '
20230517@163420.6321 23avk72neqigomihr4vpnd14d3 Query : select top 1 bo.serie valor from bo where bo.bostamp='83457bb358c633b90c94ca '
20230517@163420.7045 23avk72neqigomihr4vpnd14d3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f856876464f3fbe1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163420.7895 23avk72neqigomihr4vpnd14d3 Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163420.8321 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163420.8750 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163420.9504 23avk72neqigomihr4vpnd14d3 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 ('aut6464f856876464f3fbe1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',343,101621,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163421.6250 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163421.6720 23avk72neqigomihr4vpnd14d3 Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20230517@163421.1040 23avk72neqigomihr4vpnd14d3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20230517@163421.1411 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163421.1811 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163421.2747 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163421.3085 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163421.3216 23avk72neqigomihr4vpnd14d3 Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20230517@163421.3485 23avk72neqigomihr4vpnd14d3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163421.3724 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163421.3980 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163421.4566 23avk72neqigomihr4vpnd14d3 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 ('aut6464f464666464f3fd5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464f856876464f3fbe1' ,35.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163421.5260 23avk72neqigomihr4vpnd14d3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163421.5696 23avk72neqigomihr4vpnd14d3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163421.5831 23avk72neqigomihr4vpnd14d3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f464666464f3fd5a','aut6464f856876464f3fbe1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163421.5920 23avk72neqigomihr4vpnd14d3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f856876464f3fbe1','119230000303','wait',39,'ari17112337378,753000005')
20230517@163421.6192 23avk72neqigomihr4vpnd14d3 Query : use flama_phc
20230517@163421.6235 23avk72neqigomihr4vpnd14d3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163421.6350 23avk72neqigomihr4vpnd14d3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='462';
20230517@163421.6962 23avk72neqigomihr4vpnd14d3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='462';
20230517@163421.7064 23avk72neqigomihr4vpnd14d3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='462';
20230517@163421.7513 23avk72neqigomihr4vpnd14d3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='462';
20230517@163421.7999 879kdk3hhfjviks2kt8a82fuhd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163421.8017 879kdk3hhfjviks2kt8a82fuhd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163421.8038 879kdk3hhfjviks2kt8a82fuhd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='463';
20230517@163421.8078 879kdk3hhfjviks2kt8a82fuhd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='463';
20230517@163421.8098 879kdk3hhfjviks2kt8a82fuhd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='463';
20230517@163421.8111 879kdk3hhfjviks2kt8a82fuhd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='463';
20230517@163421.8122 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.8127 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163421.8142 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.8145 879kdk3hhfjviks2kt8a82fuhd Query : select no, estab,szadrsdesc from szadrs where u_coddest=812
20230517@163421.8222 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20230517@163421.8234 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000304 and bi.ref ='324.4743.00.1' and bi.lordem =20000
20230517@163421.8682 879kdk3hhfjviks2kt8a82fuhd 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 = 'evc23051756905,7170000-2 ' 
20230517@163421.9072 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.9075 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163421.9089 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.9093 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163421.9103 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.9106 879kdk3hhfjviks2kt8a82fuhd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163421.9118 879kdk3hhfjviks2kt8a82fuhd 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
20230517@163421.9134 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.9138 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230517@163421.9148 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.9151 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163421.9165 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.9168 879kdk3hhfjviks2kt8a82fuhd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163421.9180 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.9183 879kdk3hhfjviks2kt8a82fuhd Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - santarem'
20230517@163421.9211 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163421.9216 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from td where ndoc = 39
20230517@163421.9226 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163421.9239 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163421.9274 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163421.9298 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163421.9313 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163421.9342 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163421.9356 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163421.9366 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163421.9413 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163421.9423 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163421.9438 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163421.9451 879kdk3hhfjviks2kt8a82fuhd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f382326464f3fde4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163421.9719 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163421.9798 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163421.9833 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='0144f5be1a270f0e13a236 '
20230517@163421.9947 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='0144f5be1a270f0e13a236 '
20230517@163422.5300 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='0144f5be1a270f0e13a236 '
20230517@163422.1530 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='0144f5be1a270f0e13a236 '
20230517@163422.2710 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 bo.trab5 valor from bo where bo.bostamp='0144f5be1a270f0e13a236 '
20230517@163422.3770 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 bo.serie valor from bo where bo.bostamp='0144f5be1a270f0e13a236 '
20230517@163422.4770 879kdk3hhfjviks2kt8a82fuhd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f382326464f3fde4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163422.7180 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163422.7440 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163422.7590 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163422.7800 879kdk3hhfjviks2kt8a82fuhd 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 ('aut6464f382326464f3fde4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',344,101621,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163422.1097 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163422.1102 879kdk3hhfjviks2kt8a82fuhd Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20230517@163422.1118 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20230517@163422.1132 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.1148 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163422.1173 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.1189 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163422.1193 879kdk3hhfjviks2kt8a82fuhd Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20230517@163422.1205 879kdk3hhfjviks2kt8a82fuhd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163422.1223 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.1236 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163422.1262 879kdk3hhfjviks2kt8a82fuhd 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 ('aut6464f264126464f3fe1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464f382326464f3fde4' ,35.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163422.1543 879kdk3hhfjviks2kt8a82fuhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.1558 879kdk3hhfjviks2kt8a82fuhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163422.1563 879kdk3hhfjviks2kt8a82fuhd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f264126464f3fe1d','aut6464f382326464f3fde4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163422.1568 879kdk3hhfjviks2kt8a82fuhd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f382326464f3fde4','119230000304','wait',39,'ari17112337378,753000005')
20230517@163422.1583 879kdk3hhfjviks2kt8a82fuhd Query : use flama_phc
20230517@163422.1587 879kdk3hhfjviks2kt8a82fuhd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163422.1600 879kdk3hhfjviks2kt8a82fuhd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='463';
20230517@163422.1618 879kdk3hhfjviks2kt8a82fuhd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='463';
20230517@163422.1630 879kdk3hhfjviks2kt8a82fuhd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='463';
20230517@163422.1643 879kdk3hhfjviks2kt8a82fuhd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='463';
20230517@163422.1958 pfgamla5rhqfjth2d1jg9eej8a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163422.1973 pfgamla5rhqfjth2d1jg9eej8a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163422.1999 pfgamla5rhqfjth2d1jg9eej8a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='464';
20230517@163422.2046 pfgamla5rhqfjth2d1jg9eej8a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='464';
20230517@163422.2060 pfgamla5rhqfjth2d1jg9eej8a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='464';
20230517@163422.2075 pfgamla5rhqfjth2d1jg9eej8a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='464';
20230517@163422.2087 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.2092 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163422.2106 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.2109 pfgamla5rhqfjth2d1jg9eej8a Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20230517@163422.2197 pfgamla5rhqfjth2d1jg9eej8a 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'
20230517@163422.2210 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000305 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230517@163422.2578 pfgamla5rhqfjth2d1jg9eej8a 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 = 'evc23051756928,4610000-2 ' 
20230517@163422.3048 pfgamla5rhqfjth2d1jg9eej8a 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'
20230517@163422.3061 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000305 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230517@163422.3074 pfgamla5rhqfjth2d1jg9eej8a 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 = 'evc23051756928,4610000-2 ' 
20230517@163422.3085 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.3089 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163422.3102 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.3105 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163422.3118 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.3121 pfgamla5rhqfjth2d1jg9eej8a Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163422.3133 pfgamla5rhqfjth2d1jg9eej8a 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
20230517@163422.3149 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.3152 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230517@163422.3279 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.3282 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163422.3295 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.3298 pfgamla5rhqfjth2d1jg9eej8a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163422.3309 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.3313 pfgamla5rhqfjth2d1jg9eej8a Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20230517@163422.3328 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.3331 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from td where ndoc = 39
20230517@163422.3343 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163422.3356 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163422.3371 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163422.3391 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163422.3406 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163422.3435 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163422.3449 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163422.3460 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163422.3510 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163422.3524 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163422.3543 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163422.3555 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f241136464f3fe54' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163422.3747 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163422.3771 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163422.3867 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051741872,709000001 '
20230517@163422.4159 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051741872,709000001 '
20230517@163422.4325 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051741872,709000001 '
20230517@163422.4442 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051741872,709000001 '
20230517@163422.4556 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051741872,709000001 '
20230517@163422.4660 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051741872,709000001 '
20230517@163422.4776 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f241136464f3fe54',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163422.5025 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163422.5049 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163422.5065 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163422.5088 pfgamla5rhqfjth2d1jg9eej8a 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 ('aut6464f241136464f3fe54',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',345,101900,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163422.5426 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.5431 pfgamla5rhqfjth2d1jg9eej8a Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230517@163422.5445 pfgamla5rhqfjth2d1jg9eej8a 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'
20230517@163422.5457 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.5479 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163422.5511 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.5526 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163422.5540 pfgamla5rhqfjth2d1jg9eej8a Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230736'
20230517@163422.5554 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163422.5568 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.5583 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163422.5613 pfgamla5rhqfjth2d1jg9eej8a 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 ('aut6464f231626464f3fe87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6464f241136464f3fe54' ,20.249000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163422.5903 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.5920 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163422.5928 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f231626464f3fe87','aut6464f241136464f3fe54' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163422.5934 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.5950 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163422.5981 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.5999 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163422.6004 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163422.6026 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.6039 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163422.6068 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464f551246464f3fe93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464f241136464f3fe54' ,0,0 ,2,23.00,20000,?,?,?)
20230517@163422.6476 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.6681 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163422.6689 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f551246464f3fe93','aut6464f241136464f3fe54' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163422.6694 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.6697 pfgamla5rhqfjth2d1jg9eej8a Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230517@163422.6708 pfgamla5rhqfjth2d1jg9eej8a 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'
20230517@163422.6720 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.6737 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163422.6767 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.6782 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163422.6788 pfgamla5rhqfjth2d1jg9eej8a Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230336'
20230517@163422.6808 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163422.6820 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.6834 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163422.6870 pfgamla5rhqfjth2d1jg9eej8a 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 ('aut6464f462916464f3fea6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6464f241136464f3fe54' ,20.249000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230517@163422.7168 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.7191 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163422.7196 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f462916464f3fea6','aut6464f241136464f3fe54' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163422.7201 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.7216 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163422.7247 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.7265 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163422.7270 pfgamla5rhqfjth2d1jg9eej8a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163422.7281 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163422.7295 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163422.7321 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464f496576464f3feb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464f241136464f3fe54' ,0,0 ,2,23.00,50000,?,?,?)
20230517@163422.7605 pfgamla5rhqfjth2d1jg9eej8a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163422.7633 pfgamla5rhqfjth2d1jg9eej8a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163422.7638 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f496576464f3feb1','aut6464f241136464f3fe54' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163422.7643 pfgamla5rhqfjth2d1jg9eej8a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f241136464f3fe54','119230000305','wait',39,'ari17112337378,753000005')
20230517@163422.7661 pfgamla5rhqfjth2d1jg9eej8a Query : use flama_phc
20230517@163422.7665 pfgamla5rhqfjth2d1jg9eej8a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163422.7676 pfgamla5rhqfjth2d1jg9eej8a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='464';
20230517@163422.7692 pfgamla5rhqfjth2d1jg9eej8a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='464';
20230517@163422.7705 pfgamla5rhqfjth2d1jg9eej8a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='464';
20230517@163422.7726 pfgamla5rhqfjth2d1jg9eej8a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='464';
20230517@163422.8059 5bu0bdhfd74tkgjh52uah1fph3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163422.8073 5bu0bdhfd74tkgjh52uah1fph3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163422.8101 5bu0bdhfd74tkgjh52uah1fph3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='465';
20230517@163422.8152 5bu0bdhfd74tkgjh52uah1fph3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='465';
20230517@163422.8166 5bu0bdhfd74tkgjh52uah1fph3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='465';
20230517@163422.8179 5bu0bdhfd74tkgjh52uah1fph3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='465';
20230517@163422.8191 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163422.8204 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163422.8219 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163422.8223 5bu0bdhfd74tkgjh52uah1fph3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20230517@163422.8304 5bu0bdhfd74tkgjh52uah1fph3 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'
20230517@163422.8317 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000306 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230517@163422.9971 5bu0bdhfd74tkgjh52uah1fph3 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 = 'evc23051756943,4230000-2 ' 
20230517@163423.3600 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.3640 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163423.3790 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.3840 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163423.3950 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.4350 5bu0bdhfd74tkgjh52uah1fph3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163423.4620 5bu0bdhfd74tkgjh52uah1fph3 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
20230517@163423.4760 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.4790 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230517@163423.5060 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.5090 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163423.5190 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.5220 5bu0bdhfd74tkgjh52uah1fph3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163423.5320 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.5350 5bu0bdhfd74tkgjh52uah1fph3 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20230517@163423.5470 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.5500 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from td where ndoc = 39
20230517@163423.5730 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163423.5840 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163423.5970 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163423.6130 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163423.6250 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163423.6500 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163423.6630 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163423.6720 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163423.7150 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163423.7250 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163423.7380 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163423.7470 5bu0bdhfd74tkgjh52uah1fph3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f082966464f3ff10' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163423.9340 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163423.9490 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163423.9780 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051741874,010000001 '
20230517@163423.1091 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051741874,010000001 '
20230517@163423.1182 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051741874,010000001 '
20230517@163423.1282 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051741874,010000001 '
20230517@163423.1378 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051741874,010000001 '
20230517@163423.1479 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051741874,010000001 '
20230517@163423.1581 5bu0bdhfd74tkgjh52uah1fph3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f082966464f3ff10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163423.1838 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163423.1926 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163423.1977 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163423.1996 5bu0bdhfd74tkgjh52uah1fph3 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 ('aut6464f082966464f3ff10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',346,101900,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163423.2394 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.2397 5bu0bdhfd74tkgjh52uah1fph3 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230517@163423.2409 5bu0bdhfd74tkgjh52uah1fph3 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'
20230517@163423.2420 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163423.2434 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163423.2473 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163423.2490 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163423.2495 5bu0bdhfd74tkgjh52uah1fph3 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230336'
20230517@163423.2506 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163423.2517 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163423.2531 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163423.2554 5bu0bdhfd74tkgjh52uah1fph3 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 ('aut6464f844566464f3ff3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6464f082966464f3ff10' ,20.249000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163423.2868 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163423.2892 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163423.2901 5bu0bdhfd74tkgjh52uah1fph3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f844566464f3ff3d','aut6464f082966464f3ff10' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163423.2906 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163423.2921 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163423.2946 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163423.2959 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163423.2970 5bu0bdhfd74tkgjh52uah1fph3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163423.2981 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163423.2996 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163423.3023 5bu0bdhfd74tkgjh52uah1fph3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6464f864446464f3ff48',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6464f082966464f3ff10' ,0,0 ,2,23.00,20000,?,?,?)
20230517@163423.3444 5bu0bdhfd74tkgjh52uah1fph3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163423.3509 5bu0bdhfd74tkgjh52uah1fph3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163423.3514 5bu0bdhfd74tkgjh52uah1fph3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f864446464f3ff48','aut6464f082966464f3ff10' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163423.3518 5bu0bdhfd74tkgjh52uah1fph3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f082966464f3ff10','119230000306','wait',39,'ari17112337378,753000005')
20230517@163423.3548 5bu0bdhfd74tkgjh52uah1fph3 Query : use flama_phc
20230517@163423.3552 5bu0bdhfd74tkgjh52uah1fph3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163423.3613 5bu0bdhfd74tkgjh52uah1fph3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='465';
20230517@163423.3649 5bu0bdhfd74tkgjh52uah1fph3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='465';
20230517@163423.3661 5bu0bdhfd74tkgjh52uah1fph3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='465';
20230517@163423.3748 5bu0bdhfd74tkgjh52uah1fph3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='465';
20230517@163423.4107 a4p0s2koksk5pd7tp0hjvnvqkj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@163423.4192 a4p0s2koksk5pd7tp0hjvnvqkj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@163423.4214 a4p0s2koksk5pd7tp0hjvnvqkj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='466';
20230517@163423.4260 a4p0s2koksk5pd7tp0hjvnvqkj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='466';
20230517@163423.4273 a4p0s2koksk5pd7tp0hjvnvqkj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='466';
20230517@163423.4284 a4p0s2koksk5pd7tp0hjvnvqkj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='466';
20230517@163423.4330 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163423.4380 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@163423.4591 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163423.4641 a4p0s2koksk5pd7tp0hjvnvqkj Query : select no, estab,szadrsdesc from szadrs where u_coddest=2797
20230517@163423.4968 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20230517@163423.5496 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000307 and bi.ref ='324.1803.00.1' and bi.lordem =20000
20230517@163423.6451 a4p0s2koksk5pd7tp0hjvnvqkj 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 = 'evc23051758291,6950000-2 ' 
20230517@163423.7432 a4p0s2koksk5pd7tp0hjvnvqkj 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'
20230517@163423.7644 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000307 and bi.ref ='324.1547.00.1' and bi.lordem =30000
20230517@163423.8530 a4p0s2koksk5pd7tp0hjvnvqkj 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 = 'evc23051758291,7190000-3 ' 
20230517@163423.9447 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163423.9491 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@163423.9709 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163423.9751 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 1 valor from td where td.ndoc = 39
20230517@163423.9968 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163424.1200 a4p0s2koksk5pd7tp0hjvnvqkj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@163424.2280 a4p0s2koksk5pd7tp0hjvnvqkj 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
20230517@163424.5330 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163424.5740 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 ~inactivo valor from cl where no = '101697' and estab = 0 order by inactivo desc
20230517@163424.9890 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163424.1031 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@163424.1247 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163424.1289 a4p0s2koksk5pd7tp0hjvnvqkj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@163424.1586 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163424.2922 a4p0s2koksk5pd7tp0hjvnvqkj Query : select szadrsstamp valor from szadrs where szadrsdesc='lacamÓvel - lda'
20230517@163424.3179 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163424.3223 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from td where ndoc = 39
20230517@163424.3438 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@163424.3695 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163424.3916 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@163424.4297 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163424.4516 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@163424.5160 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163424.5384 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@163424.5602 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163424.5848 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@163424.6065 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@163424.6288 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@163424.6496 a4p0s2koksk5pd7tp0hjvnvqkj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6464f253006464f40088' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@163424.6902 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@163424.7165 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@163424.7855 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='584539b0b08cff68d39b98 '
20230517@163424.8298 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='584539b0b08cff68d39b98 '
20230517@163424.8744 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='584539b0b08cff68d39b98 '
20230517@163424.9270 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='584539b0b08cff68d39b98 '
20230517@163424.9748 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 bo.trab5 valor from bo where bo.bostamp='584539b0b08cff68d39b98 '
20230517@163425.7090 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 bo.serie valor from bo where bo.bostamp='584539b0b08cff68d39b98 '
20230517@163425.1454 a4p0s2koksk5pd7tp0hjvnvqkj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6464f253006464f40088',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@163425.1951 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 fno valor from wsft039data order by fno desc
20230517@163425.2170 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@163425.2390 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@163425.2777 a4p0s2koksk5pd7tp0hjvnvqkj 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 ('aut6464f253006464f40088',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',347,101697,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','1704',?,?,?,?,?)
20230517@163425.3428 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163425.3477 a4p0s2koksk5pd7tp0hjvnvqkj Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20230517@163425.3688 a4p0s2koksk5pd7tp0hjvnvqkj 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.1803.00.1'
20230517@163425.4231 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163425.4451 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163425.5016 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163425.5242 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163425.5326 a4p0s2koksk5pd7tp0hjvnvqkj Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2200669200a'
20230517@163425.5546 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163425.5762 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163425.5985 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163425.6545 a4p0s2koksk5pd7tp0hjvnvqkj 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 ('aut6464f465426464f4018c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6464f253006464f40088' ,71.300000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@163425.7089 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163425.7303 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163425.7392 a4p0s2koksk5pd7tp0hjvnvqkj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f465426464f4018c','aut6464f253006464f40088' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163425.7436 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163425.7482 a4p0s2koksk5pd7tp0hjvnvqkj Query : select st.usalote valor from st where st.ref = '324.1547.00.1'
20230517@163425.7696 a4p0s2koksk5pd7tp0hjvnvqkj 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'
20230517@163425.7957 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163425.8394 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@163426.3260 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163426.6150 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@163426.6970 a4p0s2koksk5pd7tp0hjvnvqkj Query : select sestamp valor from se where ref ='324.1547.00.1' and lote = 'r2101114100a'
20230517@163426.9180 a4p0s2koksk5pd7tp0hjvnvqkj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@163426.1137 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@163426.1356 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@163426.1919 a4p0s2koksk5pd7tp0hjvnvqkj 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 ('aut6464f947616464f4021b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6464f253006464f40088' ,121.600000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230517@163426.2492 a4p0s2koksk5pd7tp0hjvnvqkj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@163426.2726 a4p0s2koksk5pd7tp0hjvnvqkj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@163426.2808 a4p0s2koksk5pd7tp0hjvnvqkj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6464f947616464f4021b','aut6464f253006464f40088' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@163426.2856 a4p0s2koksk5pd7tp0hjvnvqkj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6464f253006464f40088','119230000307','wait',39,'ari17112337378,753000005')
20230517@163426.3076 a4p0s2koksk5pd7tp0hjvnvqkj Query : use flama_phc
20230517@163426.3118 a4p0s2koksk5pd7tp0hjvnvqkj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@163426.3204 a4p0s2koksk5pd7tp0hjvnvqkj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='466';
20230517@163426.3430 a4p0s2koksk5pd7tp0hjvnvqkj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='466';
20230517@163426.3483 a4p0s2koksk5pd7tp0hjvnvqkj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='466';
20230517@163426.3699 a4p0s2koksk5pd7tp0hjvnvqkj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='466';
20230517@170007.7172 msp8988315gpe3cc4hb3djem58 Query : use flama_phc
20230517@170007.7198 msp8988315gpe3cc4hb3djem58 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@170007.7232 msp8988315gpe3cc4hb3djem58 Query : use flama_phc
20230517@170007.7247 msp8988315gpe3cc4hb3djem58 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@173011.2825 h1023jd18c383qc7hpdrcm0ro6 Query : use flama_phc
20230517@173011.2830 h1023jd18c383qc7hpdrcm0ro6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@173011.2849 h1023jd18c383qc7hpdrcm0ro6 Query : use flama_phc
20230517@173011.2852 h1023jd18c383qc7hpdrcm0ro6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@180008.8197 h5okrtufbri355icqd6a320kga Query : use flama_phc
20230517@180008.8203 h5okrtufbri355icqd6a320kga Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@180008.8222 h5okrtufbri355icqd6a320kga Query : use flama_phc
20230517@180008.8225 h5okrtufbri355icqd6a320kga Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@180055.3092 lpqp55b3qg75fu6fn4phaa1ph5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@180055.3121 lpqp55b3qg75fu6fn4phaa1ph5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@180055.3149 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='467';
20230517@180055.3611 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='467';
20230517@180055.3631 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='467';
20230517@180055.3858 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='467';
20230517@180055.3876 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.3880 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@180055.3896 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.3899 lpqp55b3qg75fu6fn4phaa1ph5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20230517@180055.3974 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230517@180055.4171 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230517@180055.4523 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0030000-2 ' 
20230517@180055.4861 lpqp55b3qg75fu6fn4phaa1ph5 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'
20230517@180055.5026 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='325.551.00.15' and bi.lordem =30000
20230517@180055.5365 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0370000-3 ' 
20230517@180055.5706 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@180055.5717 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.1670.00.1' and bi.lordem =40000
20230517@180055.6535 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0720000-4 ' 
20230517@180055.6865 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.6868 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@180055.6883 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.6886 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@180055.6896 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.6898 lpqp55b3qg75fu6fn4phaa1ph5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@180055.6909 lpqp55b3qg75fu6fn4phaa1ph5 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
20230517@180055.6925 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.6929 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20230517@180055.7037 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.7041 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@180055.7062 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.7065 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@180055.7078 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.7082 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20230517@180055.7095 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180055.7099 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -140
20230517@180055.7142 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='467';
20230517@180055.7157 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='467';
20230517@180140.6220 lpqp55b3qg75fu6fn4phaa1ph5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@180140.6360 lpqp55b3qg75fu6fn4phaa1ph5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@180140.6550 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='468';
20230517@180140.6950 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='468';
20230517@180140.7090 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='468';
20230517@180140.7230 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='468';
20230517@180140.7350 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.7400 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@180140.7550 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.7590 lpqp55b3qg75fu6fn4phaa1ph5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20230517@180140.7970 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230517@180140.8110 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230517@180140.8250 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0030000-2 ' 
20230517@180140.8380 lpqp55b3qg75fu6fn4phaa1ph5 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'
20230517@180140.8500 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='325.551.00.15' and bi.lordem =30000
20230517@180140.8640 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0370000-3 ' 
20230517@180140.8780 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@180140.8910 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.1670.00.1' and bi.lordem =40000
20230517@180140.9070 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0720000-4 ' 
20230517@180140.9210 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.9240 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@180140.9390 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.9430 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@180140.9540 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.9570 lpqp55b3qg75fu6fn4phaa1ph5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@180140.9690 lpqp55b3qg75fu6fn4phaa1ph5 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
20230517@180140.9840 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.9880 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20230517@180140.9980 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.1001 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@180140.1014 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.1018 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@180140.1029 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.1033 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20230517@180140.1121 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180140.1127 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -140
20230517@180140.1153 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='468';
20230517@180140.1271 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='468';
20230517@180258.9869 lpqp55b3qg75fu6fn4phaa1ph5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@180258.9885 lpqp55b3qg75fu6fn4phaa1ph5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@180258.9909 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='469';
20230517@180258.9969 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='469';
20230517@180258.9988 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='469';
20230517@180259.1200 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='469';
20230517@180259.3100 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.3700 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@180259.5500 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.5900 lpqp55b3qg75fu6fn4phaa1ph5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20230517@180259.1010 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230517@180259.1150 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230517@180259.1320 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0030000-2 ' 
20230517@180259.1440 lpqp55b3qg75fu6fn4phaa1ph5 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'
20230517@180259.1590 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='325.551.00.15' and bi.lordem =30000
20230517@180259.1750 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0370000-3 ' 
20230517@180259.1910 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@180259.2040 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.1670.00.1' and bi.lordem =40000
20230517@180259.2270 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0720000-4 ' 
20230517@180259.2420 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.2470 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@180259.2650 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.2690 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@180259.2830 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.2880 lpqp55b3qg75fu6fn4phaa1ph5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@180259.3020 lpqp55b3qg75fu6fn4phaa1ph5 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
20230517@180259.3250 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.3290 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20230517@180259.3490 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.3530 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@180259.3650 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.3690 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@180259.3820 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.3850 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20230517@180259.3970 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180259.4010 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -140
20230517@180259.4130 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='469';
20230517@180259.4290 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='469';
20230517@180410.3107 lpqp55b3qg75fu6fn4phaa1ph5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@180410.3121 lpqp55b3qg75fu6fn4phaa1ph5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@180410.3138 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='470';
20230517@180410.3179 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='470';
20230517@180410.3198 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='470';
20230517@180410.3212 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='470';
20230517@180410.3225 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3229 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@180410.3242 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3245 lpqp55b3qg75fu6fn4phaa1ph5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20230517@180410.3280 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230517@180410.3292 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230517@180410.3305 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0030000-2 ' 
20230517@180410.3316 lpqp55b3qg75fu6fn4phaa1ph5 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'
20230517@180410.3327 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='325.551.00.15' and bi.lordem =30000
20230517@180410.3339 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0370000-3 ' 
20230517@180410.3351 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@180410.3362 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.1670.00.1' and bi.lordem =40000
20230517@180410.3375 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0720000-4 ' 
20230517@180410.3386 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3389 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@180410.3404 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3407 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@180410.3418 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3422 lpqp55b3qg75fu6fn4phaa1ph5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@180410.3432 lpqp55b3qg75fu6fn4phaa1ph5 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
20230517@180410.3447 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3450 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20230517@180410.3461 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3464 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@180410.3475 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3478 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@180410.3488 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3491 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20230517@180410.3501 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180410.3504 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -140
20230517@180410.3515 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='470';
20230517@180410.3528 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='470';
20230517@180535.8796 lpqp55b3qg75fu6fn4phaa1ph5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@180535.8813 lpqp55b3qg75fu6fn4phaa1ph5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@180535.8832 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='471';
20230517@180535.8873 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='471';
20230517@180535.8887 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='471';
20230517@180535.8900 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='471';
20230517@180535.8914 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.8918 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@180535.8932 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.8936 lpqp55b3qg75fu6fn4phaa1ph5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20230517@180535.8972 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230517@180535.8984 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230517@180535.8999 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0030000-2 ' 
20230517@180535.9012 lpqp55b3qg75fu6fn4phaa1ph5 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'
20230517@180535.9024 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='325.551.00.15' and bi.lordem =30000
20230517@180535.9038 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0370000-3 ' 
20230517@180535.9051 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@180535.9064 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.1670.00.1' and bi.lordem =40000
20230517@180535.9078 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0720000-4 ' 
20230517@180535.9091 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.9095 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@180535.9123 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.9127 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@180535.9139 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.9142 lpqp55b3qg75fu6fn4phaa1ph5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@180535.9155 lpqp55b3qg75fu6fn4phaa1ph5 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
20230517@180535.9183 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.9186 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20230517@180535.9196 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.9199 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@180535.9211 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.9214 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@180535.9224 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.9227 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20230517@180535.9239 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180535.9242 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -140
20230517@180535.9253 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='471';
20230517@180535.9278 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='471';
20230517@180630.4678 lpqp55b3qg75fu6fn4phaa1ph5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@180630.4693 lpqp55b3qg75fu6fn4phaa1ph5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@180630.4713 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='472';
20230517@180630.4755 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='472';
20230517@180630.4769 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='472';
20230517@180630.4782 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='472';
20230517@180630.4795 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.4798 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@180630.4814 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.4817 lpqp55b3qg75fu6fn4phaa1ph5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20230517@180630.4854 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230517@180630.4867 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230517@180630.4882 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0030000-2 ' 
20230517@180630.4897 lpqp55b3qg75fu6fn4phaa1ph5 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'
20230517@180630.4909 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='325.551.00.15' and bi.lordem =30000
20230517@180630.4924 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0370000-3 ' 
20230517@180630.4940 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@180630.4955 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.1670.00.1' and bi.lordem =40000
20230517@180630.4970 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0720000-4 ' 
20230517@180630.4981 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.4986 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@180630.5001 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.5004 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@180630.5015 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.5019 lpqp55b3qg75fu6fn4phaa1ph5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@180630.5030 lpqp55b3qg75fu6fn4phaa1ph5 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
20230517@180630.5047 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.5052 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20230517@180630.5066 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.5071 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@180630.5083 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.5087 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@180630.5101 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.5105 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20230517@180630.5117 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180630.5121 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -140
20230517@180630.5151 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='472';
20230517@180630.5168 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='472';
20230517@180731.1226 lpqp55b3qg75fu6fn4phaa1ph5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@180731.1275 lpqp55b3qg75fu6fn4phaa1ph5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@180731.1327 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='473';
20230517@180731.1439 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='473';
20230517@180731.1455 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='473';
20230517@180731.1471 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='473';
20230517@180731.1483 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1487 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@180731.1501 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1504 lpqp55b3qg75fu6fn4phaa1ph5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20230517@180731.1539 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230517@180731.1551 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230517@180731.1566 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0030000-2 ' 
20230517@180731.1578 lpqp55b3qg75fu6fn4phaa1ph5 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'
20230517@180731.1590 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='325.551.00.15' and bi.lordem =30000
20230517@180731.1603 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0370000-3 ' 
20230517@180731.1616 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230517@180731.1633 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000295 and bi.ref ='324.1670.00.1' and bi.lordem =40000
20230517@180731.1647 lpqp55b3qg75fu6fn4phaa1ph5 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 = 'evc23051756512,0720000-4 ' 
20230517@180731.1659 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1662 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@180731.1677 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1680 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@180731.1692 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1695 lpqp55b3qg75fu6fn4phaa1ph5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@180731.1707 lpqp55b3qg75fu6fn4phaa1ph5 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
20230517@180731.1725 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1728 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20230517@180731.1740 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1743 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@180731.1755 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1758 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@180731.1770 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1773 lpqp55b3qg75fu6fn4phaa1ph5 Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20230517@180731.1787 lpqp55b3qg75fu6fn4phaa1ph5 Query : use flama_phc
20230517@180731.1791 lpqp55b3qg75fu6fn4phaa1ph5 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -140
20230517@180731.1802 lpqp55b3qg75fu6fn4phaa1ph5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='473';
20230517@180731.1815 lpqp55b3qg75fu6fn4phaa1ph5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='473';
20230517@183007.6476 0u8crtmsc30gghgtipr4p3jsk8 Query : use flama_phc
20230517@183007.6508 0u8crtmsc30gghgtipr4p3jsk8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@183007.6555 0u8crtmsc30gghgtipr4p3jsk8 Query : use flama_phc
20230517@183007.6562 0u8crtmsc30gghgtipr4p3jsk8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@190007.2357 6in2vd1svgukbfdjh1m7hv15uk Query : use flama_phc
20230517@190007.2392 6in2vd1svgukbfdjh1m7hv15uk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@190007.2433 6in2vd1svgukbfdjh1m7hv15uk Query : use flama_phc
20230517@190007.2438 6in2vd1svgukbfdjh1m7hv15uk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@193006.7952 u2gfalr8quqglkj4v68ho4u7fe Query : use flama_phc
20230517@193006.7957 u2gfalr8quqglkj4v68ho4u7fe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@193006.7975 u2gfalr8quqglkj4v68ho4u7fe Query : use flama_phc
20230517@193006.7985 u2gfalr8quqglkj4v68ho4u7fe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@200006.6316 8vcvm95rq38lckfkfoa0bh3g0v Query : use flama_phc
20230517@200006.6335 8vcvm95rq38lckfkfoa0bh3g0v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@200006.6353 8vcvm95rq38lckfkfoa0bh3g0v Query : use flama_phc
20230517@200006.6357 8vcvm95rq38lckfkfoa0bh3g0v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@200753.5269 p8h0ussju6m1m5flrmo6k7occ2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230517@200753.5289 p8h0ussju6m1m5flrmo6k7occ2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230517@200753.5311 p8h0ussju6m1m5flrmo6k7occ2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='493';
20230517@200753.5351 p8h0ussju6m1m5flrmo6k7occ2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='493';
20230517@200753.5366 p8h0ussju6m1m5flrmo6k7occ2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='493';
20230517@200753.5379 p8h0ussju6m1m5flrmo6k7occ2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='493';
20230517@200753.5393 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.5396 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230517@200753.5411 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.5415 p8h0ussju6m1m5flrmo6k7occ2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4463
20230517@200753.6038 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20230517@200753.6222 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000308 and bi.ref ='325.1290.1003' and bi.lordem =20000
20230517@200753.6567 p8h0ussju6m1m5flrmo6k7occ2 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 = 'evc23051763175,4270000-2 ' 
20230517@200753.6978 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.6981 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230517@200753.6998 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.7002 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 1 valor from td where td.ndoc = 39
20230517@200753.7013 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.7016 p8h0ussju6m1m5flrmo6k7occ2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230517@200753.7029 p8h0ussju6m1m5flrmo6k7occ2 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
20230517@200753.7045 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.7048 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230517@200753.7175 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.7179 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230517@200753.7192 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.7195 p8h0ussju6m1m5flrmo6k7occ2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230517@200753.7206 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.7209 p8h0ussju6m1m5flrmo6k7occ2 Query : select szadrsstamp valor from szadrs where szadrsdesc='pingo doce-distribuiÇÃo alimentar, s.a.- alcochete 5405'
20230517@200753.7224 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.7228 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from td where ndoc = 39
20230517@200753.7239 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230517@200753.7251 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@200753.7267 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230517@200753.7288 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@200753.7301 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230517@200753.7345 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@200753.7359 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230517@200753.7381 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@200753.7424 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230517@200753.7435 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230517@200753.7448 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230517@200753.7459 p8h0ussju6m1m5flrmo6k7occ2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut646524515064652609b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230517@200753.7634 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230517@200753.7648 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230517@200753.7684 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23050953950,614000001 '
20230517@200753.7784 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23050953950,614000001 '
20230517@200753.7869 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23050953950,614000001 '
20230517@200753.7953 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23050953950,614000001 '
20230517@200753.8028 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23050953950,614000001 '
20230517@200753.8109 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23050953950,614000001 '
20230517@200753.8190 p8h0ussju6m1m5flrmo6k7occ2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut646524515064652609b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230517@200753.8423 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 fno valor from wsft039data order by fno desc
20230517@200753.8960 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230517@200753.8976 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230517@200753.8997 p8h0ussju6m1m5flrmo6k7occ2 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 ('aut646524515064652609b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',349,101900,0,'2023-05-17',39,'euro',0,0,2023 ,'20230517','2037',?,?,?,?,?)
20230517@200753.9314 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.9317 p8h0ussju6m1m5flrmo6k7occ2 Query : select st.usalote valor from st where st.ref = '325.1290.1003'
20230517@200753.9331 p8h0ussju6m1m5flrmo6k7occ2 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.1290.1003'
20230517@200753.9481 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@200753.9496 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230517@200753.9523 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@200753.9537 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230517@200753.9542 p8h0ussju6m1m5flrmo6k7occ2 Query : select sestamp valor from se where ref ='325.1290.1003' and lote = 'r2200746200a'
20230517@200753.9554 p8h0ussju6m1m5flrmo6k7occ2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230517@200753.9565 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230517@200753.9579 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230517@200753.9606 p8h0ussju6m1m5flrmo6k7occ2 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 ('aut646521051564652609e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3672.000 ,'aut646524515064652609b4' ,2.260000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230517@200753.9852 p8h0ussju6m1m5flrmo6k7occ2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230517@200753.9867 p8h0ussju6m1m5flrmo6k7occ2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230517@200753.9874 p8h0ussju6m1m5flrmo6k7occ2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut646521051564652609e9','aut646524515064652609b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230517@200753.9879 p8h0ussju6m1m5flrmo6k7occ2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut646524515064652609b4','119230000308','wait',39,'ari17112337378,753000005')
20230517@200753.9911 p8h0ussju6m1m5flrmo6k7occ2 Query : use flama_phc
20230517@200753.9914 p8h0ussju6m1m5flrmo6k7occ2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@200753.9928 p8h0ussju6m1m5flrmo6k7occ2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='493';
20230517@200753.9944 p8h0ussju6m1m5flrmo6k7occ2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='493';
20230517@200753.9956 p8h0ussju6m1m5flrmo6k7occ2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='493';
20230517@200753.9970 p8h0ussju6m1m5flrmo6k7occ2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='493';
20230517@203007.1072 dv5vhlrouh10i6i302kjcqppmv Query : use flama_phc
20230517@203007.1079 dv5vhlrouh10i6i302kjcqppmv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@203007.1096 dv5vhlrouh10i6i302kjcqppmv Query : use flama_phc
20230517@203007.1102 dv5vhlrouh10i6i302kjcqppmv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@210006.7319 krop73k191m5taknaf8crdg5fp Query : use flama_phc
20230517@210006.7325 krop73k191m5taknaf8crdg5fp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@210006.7381 krop73k191m5taknaf8crdg5fp Query : use flama_phc
20230517@210006.7385 krop73k191m5taknaf8crdg5fp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@213007.2227 31bl4rvn8csradgf3m4c9q17ib Query : use flama_phc
20230517@213007.2231 31bl4rvn8csradgf3m4c9q17ib Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@213007.2249 31bl4rvn8csradgf3m4c9q17ib Query : use flama_phc
20230517@213007.2252 31bl4rvn8csradgf3m4c9q17ib Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@220006.9839 bps39j7r9mi2albhsib0qq9gcp Query : use flama_phc
20230517@220006.9849 bps39j7r9mi2albhsib0qq9gcp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@220006.9894 bps39j7r9mi2albhsib0qq9gcp Query : use flama_phc
20230517@220006.9905 bps39j7r9mi2albhsib0qq9gcp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@223007.1299 udmq1i7vmf6pgdtfh2i8e92gnr Query : use flama_phc
20230517@223007.1304 udmq1i7vmf6pgdtfh2i8e92gnr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@223007.1322 udmq1i7vmf6pgdtfh2i8e92gnr Query : use flama_phc
20230517@223007.1325 udmq1i7vmf6pgdtfh2i8e92gnr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@230010.8926 ot2n5823kqob4qr7maubefg7bb Query : use flama_phc
20230517@230010.8931 ot2n5823kqob4qr7maubefg7bb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@230010.8947 ot2n5823kqob4qr7maubefg7bb Query : use flama_phc
20230517@230010.8951 ot2n5823kqob4qr7maubefg7bb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@230012.8590 rfo8q85b58ldbejcvefnbmv0ta Query : use flama_phc
20230517@230012.8595 rfo8q85b58ldbejcvefnbmv0ta Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@230012.8621 rfo8q85b58ldbejcvefnbmv0ta Query : use flama_phc
20230517@230012.8626 rfo8q85b58ldbejcvefnbmv0ta Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230517@233007.7276 f1oo4374mlmjreais2lh3elk53 Query : use flama_phc
20230517@233007.7281 f1oo4374mlmjreais2lh3elk53 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230517@233007.7299 f1oo4374mlmjreais2lh3elk53 Query : use flama_phc
20230517@233007.7302 f1oo4374mlmjreais2lh3elk53 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@070006.7093 5ei44m1d84qrbbhkqgu1dgbd9r Query : use flama_phc
20230518@070006.7138 5ei44m1d84qrbbhkqgu1dgbd9r Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@070006.7652 5ei44m1d84qrbbhkqgu1dgbd9r Query : use flama_phc
20230518@070006.7696 5ei44m1d84qrbbhkqgu1dgbd9r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@073012.8123 vbi9odgaih8f1is00oevl8d8kp Query : use flama_phc
20230518@073012.8127 vbi9odgaih8f1is00oevl8d8kp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@073012.8142 vbi9odgaih8f1is00oevl8d8kp Query : use flama_phc
20230518@073012.8145 vbi9odgaih8f1is00oevl8d8kp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@073013.1818 51lqu0o6boid3gjpapjb19v3ge Query : use flama_phc
20230518@073013.1824 51lqu0o6boid3gjpapjb19v3ge Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@073013.1838 51lqu0o6boid3gjpapjb19v3ge Query : use flama_phc
20230518@073013.1841 51lqu0o6boid3gjpapjb19v3ge Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@080012.7050 9t53eo5af3atesg9mqdfd0fiu9 Query : use flama_phc
20230518@080012.7056 9t53eo5af3atesg9mqdfd0fiu9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@080012.7136 9t53eo5af3atesg9mqdfd0fiu9 Query : use flama_phc
20230518@080012.7155 9t53eo5af3atesg9mqdfd0fiu9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@083014.7496 qjqipk76c7mf904tfjqe6n4ghb Query : use flama_phc
20230518@083014.7503 qjqipk76c7mf904tfjqe6n4ghb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@083014.7553 qjqipk76c7mf904tfjqe6n4ghb Query : use flama_phc
20230518@083014.7556 qjqipk76c7mf904tfjqe6n4ghb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@083203.1648 6eg730qb89dqvb56cqsgjkr86n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230518@083203.1767 6eg730qb89dqvb56cqsgjkr86n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230518@083203.1993 6eg730qb89dqvb56cqsgjkr86n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='494';
20230518@083203.2232 6eg730qb89dqvb56cqsgjkr86n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='494';
20230518@083203.2332 6eg730qb89dqvb56cqsgjkr86n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='494';
20230518@083203.2543 6eg730qb89dqvb56cqsgjkr86n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='494';
20230518@083203.2628 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.2670 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230518@083203.2886 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.2890 6eg730qb89dqvb56cqsgjkr86n Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20230518@083203.3127 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.2'
20230518@083203.3574 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000289 and bi.ref ='324.1816.00.2' and bi.lordem =20000
20230518@083203.4121 6eg730qb89dqvb56cqsgjkr86n 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 = 'evc23051754704,7160000-2 ' 
20230518@083203.4512 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.2'
20230518@083203.4523 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000289 and bi.ref ='324.1816.00.2' and bi.lordem =20000
20230518@083203.4536 6eg730qb89dqvb56cqsgjkr86n 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 = 'evc23051754704,7160000-2 ' 
20230518@083203.4551 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.2'
20230518@083203.4561 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000289 and bi.ref ='324.1816.00.2' and bi.lordem =20000
20230518@083203.4576 6eg730qb89dqvb56cqsgjkr86n 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 = 'evc23051754704,7160000-2 ' 
20230518@083203.4587 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.2'
20230518@083203.4730 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000289 and bi.ref ='324.1816.00.2' and bi.lordem =20000
20230518@083203.4941 6eg730qb89dqvb56cqsgjkr86n 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 = 'evc23051754704,7160000-2 ' 
20230518@083203.4954 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.4958 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230518@083203.5169 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.5172 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 1 valor from td where td.ndoc = 39
20230518@083203.5247 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.5251 6eg730qb89dqvb56cqsgjkr86n Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230518@083203.5296 6eg730qb89dqvb56cqsgjkr86n 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
20230518@083203.5415 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.5420 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 ~inactivo valor from cl where no = '100800' and estab = 0 order by inactivo desc
20230518@083203.5568 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.5572 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230518@083203.5679 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.5682 6eg730qb89dqvb56cqsgjkr86n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230518@083203.5733 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.5736 6eg730qb89dqvb56cqsgjkr86n Query : select szadrsstamp valor from szadrs where szadrsdesc='100800 - modelo continente hipermercados, sa'
20230518@083203.5928 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083203.5931 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from td where ndoc = 39
20230518@083203.6012 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230518@083203.6085 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230518@083203.6552 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230518@083203.6594 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230518@083203.7037 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230518@083203.7315 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230518@083203.7600 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230518@083203.7645 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230518@083203.7836 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230518@083203.7914 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230518@083203.7929 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230518@083203.7972 6eg730qb89dqvb56cqsgjkr86n Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6465d844616465d473ba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230518@083203.8383 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230518@083203.8398 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230518@083203.8482 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051636405,102000001 '
20230518@083203.8581 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051636405,102000001 '
20230518@083203.8762 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051636405,102000001 '
20230518@083203.8887 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051636405,102000001 '
20230518@083203.9041 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051636405,102000001 '
20230518@083203.9463 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051636405,102000001 '
20230518@083203.9848 6eg730qb89dqvb56cqsgjkr86n Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6465d844616465d473ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230518@083204.8200 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 fno valor from wsft039data order by fno desc
20230518@083204.1161 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230518@083204.1411 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230518@083204.1875 6eg730qb89dqvb56cqsgjkr86n 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 ('aut6465d844616465d473ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',350,100800,0,'2023-05-18',39,'euro',0,0,2023 ,'20230518','0902',?,?,?,?,?)
20230518@083204.5009 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083204.5049 6eg730qb89dqvb56cqsgjkr86n Query : select st.usalote valor from st where st.ref = '324.1816.00.2'
20230518@083204.5449 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.2'
20230518@083204.5852 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@083204.6554 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230518@083204.6653 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230518@083204.7064 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230518@083204.7093 6eg730qb89dqvb56cqsgjkr86n Query : select sestamp valor from se where ref ='324.1816.00.2' and lote = 'r2200645200a'
20230518@083204.7154 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230518@083204.7209 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@083204.7248 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230518@083204.7308 6eg730qb89dqvb56cqsgjkr86n 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 ('aut6465d415966465d474b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6465d844616465d473ba' ,.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230518@083204.8114 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230518@083204.8355 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230518@083204.8385 6eg730qb89dqvb56cqsgjkr86n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6465d415966465d474b0','aut6465d844616465d473ba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230518@083204.8476 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@083204.8495 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230518@083204.8521 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230518@083204.8569 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230518@083204.8574 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230518@083204.8587 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@083204.8606 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230518@083204.8633 6eg730qb89dqvb56cqsgjkr86n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6465d516416465d474d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6465d844616465d473ba' ,0,0 ,2,23.00,20000,?,?,?)
20230518@083204.9022 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230518@083204.9039 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230518@083204.9196 6eg730qb89dqvb56cqsgjkr86n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6465d516416465d474d1','aut6465d844616465d473ba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230518@083204.9202 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083204.9206 6eg730qb89dqvb56cqsgjkr86n Query : select st.usalote valor from st where st.ref = '324.1816.00.2'
20230518@083204.9218 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.2'
20230518@083204.9315 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@083204.9611 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230518@083204.9684 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230518@083204.9703 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230518@083204.9709 6eg730qb89dqvb56cqsgjkr86n Query : select sestamp valor from se where ref ='324.1816.00.2' and lote = 'r2200647200a'
20230518@083204.9716 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230518@083204.9798 6eg730qb89dqvb56cqsgjkr86n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@083204.9974 6eg730qb89dqvb56cqsgjkr86n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230518@083205.6000 6eg730qb89dqvb56cqsgjkr86n 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 ('aut6465d353456465d474ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6465d844616465d473ba' ,.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230518@083205.2880 6eg730qb89dqvb56cqsgjkr86n Query : use flama_phc
20230518@083205.2920 6eg730qb89dqvb56cqsgjkr86n Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230518@083205.3440 6eg730qb89dqvb56cqsgjkr86n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='494';
20230518@083205.3590 6eg730qb89dqvb56cqsgjkr86n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='494';
20230518@090016.4048 fh6284kq3gujsk8i2krntjot4v Query : use flama_phc
20230518@090016.4085 fh6284kq3gujsk8i2krntjot4v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@090016.4533 fh6284kq3gujsk8i2krntjot4v Query : use flama_phc
20230518@090016.4539 fh6284kq3gujsk8i2krntjot4v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@093017.1003 q28thdvq28kudr890kgveofoif Query : use flama_phc
20230518@093017.1009 q28thdvq28kudr890kgveofoif Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@093017.1112 q28thdvq28kudr890kgveofoif Query : use flama_phc
20230518@093017.1115 q28thdvq28kudr890kgveofoif Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@100017.6658 2n8dv1v0g9orbt6sendr4ct613 Query : use flama_phc
20230518@100017.6687 2n8dv1v0g9orbt6sendr4ct613 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@100017.6836 2n8dv1v0g9orbt6sendr4ct613 Query : use flama_phc
20230518@100017.6852 2n8dv1v0g9orbt6sendr4ct613 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@103008.2962 qroujpo55nejot4t54kfilnnub Query : use flama_phc
20230518@103008.2967 qroujpo55nejot4t54kfilnnub Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@103008.3032 qroujpo55nejot4t54kfilnnub Query : use flama_phc
20230518@103008.3035 qroujpo55nejot4t54kfilnnub Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@104132.2456 4arb5resrs0emcs0mfpb3fdutv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230518@104132.2491 4arb5resrs0emcs0mfpb3fdutv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230518@104132.2579 4arb5resrs0emcs0mfpb3fdutv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='495';
20230518@104132.2617 4arb5resrs0emcs0mfpb3fdutv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='495';
20230518@104132.2645 4arb5resrs0emcs0mfpb3fdutv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='495';
20230518@104132.2657 4arb5resrs0emcs0mfpb3fdutv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='495';
20230518@104132.2669 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.2673 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230518@104132.2715 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.2719 4arb5resrs0emcs0mfpb3fdutv Query : select no, estab,szadrsdesc from szadrs where u_coddest=2679
20230518@104132.2800 4arb5resrs0emcs0mfpb3fdutv 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'
20230518@104132.2964 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000299 and bi.ref ='324.670.00.01' and bi.lordem =30000
20230518@104132.3803 4arb5resrs0emcs0mfpb3fdutv 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 = 'evc23051756738,1560000-3 ' 
20230518@104132.4233 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.4237 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230518@104132.5615 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.5679 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 1 valor from td where td.ndoc = 39
20230518@104132.5875 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.5879 4arb5resrs0emcs0mfpb3fdutv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230518@104132.6021 4arb5resrs0emcs0mfpb3fdutv 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
20230518@104132.6227 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.6230 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 ~inactivo valor from cl where no = '199525' and estab = 0 order by inactivo desc
20230518@104132.6335 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.6338 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230518@104132.6402 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.6405 4arb5resrs0emcs0mfpb3fdutv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230518@104132.6445 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.6448 4arb5resrs0emcs0mfpb3fdutv Query : select szadrsstamp valor from szadrs where szadrsdesc='euroilhas - soc.com.representaÇÕes,lda'
20230518@104132.6462 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104132.6465 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from td where ndoc = 39
20230518@104132.6527 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230518@104132.6581 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230518@104132.6883 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230518@104132.6936 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230518@104132.7311 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230518@104132.7373 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230518@104132.7700 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230518@104132.7744 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230518@104132.7920 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230518@104132.8072 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230518@104132.8105 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230518@104132.8150 4arb5resrs0emcs0mfpb3fdutv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6465f005896465f2ccbd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230518@104132.9128 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230518@104132.9144 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230518@104132.9195 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='9042a09167bd09c041cbf9 '
20230518@104132.9327 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='9042a09167bd09c041cbf9 '
20230518@104132.9431 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='9042a09167bd09c041cbf9 '
20230518@104132.9510 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='9042a09167bd09c041cbf9 '
20230518@104132.9587 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 bo.trab5 valor from bo where bo.bostamp='9042a09167bd09c041cbf9 '
20230518@104132.9676 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 bo.serie valor from bo where bo.bostamp='9042a09167bd09c041cbf9 '
20230518@104132.9754 4arb5resrs0emcs0mfpb3fdutv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6465f005896465f2ccbd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230518@104133.3640 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 fno valor from wsft039data order by fno desc
20230518@104133.4780 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230518@104133.4940 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230518@104133.5360 4arb5resrs0emcs0mfpb3fdutv 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 ('aut6465f005896465f2ccbd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',350,199525,0,'2023-05-18',39,'euro',0,0,2023 ,'20230518','1111',?,?,?,?,?)
20230518@104133.2703 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104133.2708 4arb5resrs0emcs0mfpb3fdutv Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230518@104133.2834 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.670.00.01'
20230518@104133.3042 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@104133.3341 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230518@104133.3401 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230518@104133.3886 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230518@104133.3911 4arb5resrs0emcs0mfpb3fdutv Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230518@104133.3978 4arb5resrs0emcs0mfpb3fdutv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230518@104133.4016 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@104133.4031 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230518@104133.4078 4arb5resrs0emcs0mfpb3fdutv 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 ('aut6465f740096465f2cd62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6465f005896465f2ccbd' ,75.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230518@104133.4582 4arb5resrs0emcs0mfpb3fdutv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230518@104133.4600 4arb5resrs0emcs0mfpb3fdutv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230518@104133.4626 4arb5resrs0emcs0mfpb3fdutv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6465f740096465f2cd62','aut6465f005896465f2ccbd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230518@104133.4678 4arb5resrs0emcs0mfpb3fdutv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6465f005896465f2ccbd','119230000299','wait',39,'ari17112337378,753000005')
20230518@104133.4707 4arb5resrs0emcs0mfpb3fdutv Query : use flama_phc
20230518@104133.4710 4arb5resrs0emcs0mfpb3fdutv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@104133.4721 4arb5resrs0emcs0mfpb3fdutv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='495';
20230518@104133.4930 4arb5resrs0emcs0mfpb3fdutv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='495';
20230518@104133.4961 4arb5resrs0emcs0mfpb3fdutv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='495';
20230518@104133.4975 4arb5resrs0emcs0mfpb3fdutv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='495';
20230518@110013.2720 3c130h4cva8ph0auag346vh3kq Query : use flama_phc
20230518@110013.2790 3c130h4cva8ph0auag346vh3kq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230518@110013.2990 3c130h4cva8ph0auag346vh3kq Query : use flama_phc
20230518@110013.3030 3c130h4cva8ph0auag346vh3kq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230518@112852.8671 7lmee9v4bi43b15o203kh2ph5r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230518@112852.8700 7lmee9v4bi43b15o203kh2ph5r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230518@112852.8766 7lmee9v4bi43b15o203kh2ph5r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='496';
20230518@112852.8803 7lmee9v4bi43b15o203kh2ph5r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='496';
20230518@112852.8828 7lmee9v4bi43b15o203kh2ph5r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='496';
20230518@112852.8839 7lmee9v4bi43b15o203kh2ph5r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='496';
20230518@112852.8851 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112852.8854 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230518@112852.8896 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112852.8899 7lmee9v4bi43b15o203kh2ph5r Query : select no, estab,szadrsdesc from szadrs where u_coddest=2364
20230518@112852.8978 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20230518@112852.9136 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1837.00.1' and bi.lordem =20000
20230518@112852.9467 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756841,7810000-2 ' 
20230518@112852.9807 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20230518@112852.9958 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1803.00.1' and bi.lordem =30000
20230518@112853.2900 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756841,8040000-3 ' 
20230518@112853.6110 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20230518@112853.7640 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1676.00.1' and bi.lordem =40000
20230518@112853.1689 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756841,8360000-4 ' 
20230518@112853.2050 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20230518@112853.2204 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.5347.00.1' and bi.lordem =50000
20230518@112853.2536 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756841,8590000-5 ' 
20230518@112853.2876 7lmee9v4bi43b15o203kh2ph5r 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'
20230518@112853.3029 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1824.00.1' and bi.lordem =90000
20230518@112853.3385 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756841,9690000-9 ' 
20230518@112853.3730 7lmee9v4bi43b15o203kh2ph5r 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'
20230518@112853.3741 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1824.00.1' and bi.lordem =90000
20230518@112853.3757 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756841,9690000-9 ' 
20230518@112853.3767 7lmee9v4bi43b15o203kh2ph5r 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'
20230518@112853.3776 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1824.00.1' and bi.lordem =100000
20230518@112853.4101 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756841,993000-10 ' 
20230518@112853.4432 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230518@112853.5516 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1816.00.1' and bi.lordem =110000
20230518@112853.5880 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756842,015000-11 ' 
20230518@112853.6239 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230518@112853.6252 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1816.00.1' and bi.lordem =120000
20230518@112853.7055 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756842,040000-12 ' 
20230518@112853.7415 7lmee9v4bi43b15o203kh2ph5r 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'
20230518@112853.7568 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1879.00.1' and bi.lordem =130000
20230518@112853.7899 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756842,231000-13 ' 
20230518@112853.8239 7lmee9v4bi43b15o203kh2ph5r 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'
20230518@112853.8251 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1879.00.1' and bi.lordem =140000
20230518@112853.8593 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756842,254000-14 ' 
20230518@112853.8999 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20230518@112853.9154 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000301 and bi.ref ='324.1705.00.1' and bi.lordem =150000
20230518@112853.9531 7lmee9v4bi43b15o203kh2ph5r 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 = 'evc23051756842,276000-15 ' 
20230518@112854.7300 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.7350 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230518@112854.9210 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.9250 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 1 valor from td where td.ndoc = 39
20230518@112854.9920 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.9960 7lmee9v4bi43b15o203kh2ph5r Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230518@112854.1037 7lmee9v4bi43b15o203kh2ph5r 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
20230518@112854.1133 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.1136 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 ~inactivo valor from cl where no = '102296' and estab = 0 order by inactivo desc
20230518@112854.1238 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.1242 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230518@112854.1300 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.1304 7lmee9v4bi43b15o203kh2ph5r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230518@112854.1348 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.1351 7lmee9v4bi43b15o203kh2ph5r Query : select szadrsstamp valor from szadrs where szadrsdesc='electro sacavÉm de antÓnio a maio, lda.'
20230518@112854.1364 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.1367 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from td where ndoc = 39
20230518@112854.1424 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230518@112854.1479 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230518@112854.1784 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230518@112854.1823 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230518@112854.2103 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230518@112854.2151 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230518@112854.2454 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230518@112854.2487 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230518@112854.2658 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230518@112854.2725 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230518@112854.2740 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230518@112854.2768 7lmee9v4bi43b15o203kh2ph5r Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6465f135836465fde63c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230518@112854.2940 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230518@112854.2954 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230518@112854.3008 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='e24af3991a2a15a0b4a008 '
20230518@112854.3111 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='e24af3991a2a15a0b4a008 '
20230518@112854.3195 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='e24af3991a2a15a0b4a008 '
20230518@112854.3277 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='e24af3991a2a15a0b4a008 '
20230518@112854.3354 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bo.trab5 valor from bo where bo.bostamp='e24af3991a2a15a0b4a008 '
20230518@112854.3430 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 bo.serie valor from bo where bo.bostamp='e24af3991a2a15a0b4a008 '
20230518@112854.3505 7lmee9v4bi43b15o203kh2ph5r Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6465f135836465fde63c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230518@112854.3731 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 fno valor from wsft039data order by fno desc
20230518@112854.3801 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230518@112854.3814 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230518@112854.3850 7lmee9v4bi43b15o203kh2ph5r 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 ('aut6465f135836465fde63c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',351,102296,0,'2023-05-18',39,'euro',0,0,2023 ,'20230518','1158',?,?,?,?,?)
20230518@112854.4527 7lmee9v4bi43b15o203kh2ph5r Query : use flama_phc
20230518@112854.4608 7lmee9v4bi43b15o203kh2ph5r Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20230518@112854.5025 7lmee9v4bi43b15o203kh2ph5r 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.1837.00.1'
20230518@112854.5263 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@112854.5536 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230518@112854.5580 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230518@112854.5851 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230518@112854.5873 7lmee9v4bi43b15o203kh2ph5r Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2200668100a'
20230518@112854.5929 7lmee9v4bi43b15o203kh2ph5r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230518@112854.5963 7lmee9v4bi43b15o203kh2ph5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230518@112854.5977 7lmee9v4bi43b15o203kh2ph5r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230518@112854.6020 7lmee9v4bi43b15o203kh2ph5r 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 ('aut6465f911516465fde691',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6465f135836465fde63c' ,86.300000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
