20230504@180634.7913 iop6rp3j5ph1drhl39i245rl5q INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20230504@180634.7912 iop6rp3j5ph1drhl39i245rl5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180634.7926 iop6rp3j5ph1drhl39i245rl5q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180634.7936 iop6rp3j5ph1drhl39i245rl5q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e046326453e61ac1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6453e509836453e61aa7' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230504@180634.8188 iop6rp3j5ph1drhl39i245rl5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180634.8202 iop6rp3j5ph1drhl39i245rl5q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180634.8207 iop6rp3j5ph1drhl39i245rl5q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e046326453e61ac1','aut6453e509836453e61aa7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180634.8211 iop6rp3j5ph1drhl39i245rl5q Query : use flama_phc
20230504@180634.8214 iop6rp3j5ph1drhl39i245rl5q Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230504@180634.8224 iop6rp3j5ph1drhl39i245rl5q 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'
20230504@180634.8235 iop6rp3j5ph1drhl39i245rl5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180634.8247 iop6rp3j5ph1drhl39i245rl5q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180634.8256 iop6rp3j5ph1drhl39i245rl5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180634.8268 iop6rp3j5ph1drhl39i245rl5q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180634.8272 iop6rp3j5ph1drhl39i245rl5q Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230504@180634.8282 iop6rp3j5ph1drhl39i245rl5q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180634.8292 iop6rp3j5ph1drhl39i245rl5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180634.8305 iop6rp3j5ph1drhl39i245rl5q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180634.8315 iop6rp3j5ph1drhl39i245rl5q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e231646453e61aca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6453e509836453e61aa7' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230504@180634.8572 iop6rp3j5ph1drhl39i245rl5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180634.8586 iop6rp3j5ph1drhl39i245rl5q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180634.8590 iop6rp3j5ph1drhl39i245rl5q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e231646453e61aca','aut6453e509836453e61aa7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180634.8595 iop6rp3j5ph1drhl39i245rl5q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e509836453e61aa7','','wait',39,'ari17112337378,753000005')
20230504@180634.8613 iop6rp3j5ph1drhl39i245rl5q Query : use flama_phc
20230504@180634.8618 iop6rp3j5ph1drhl39i245rl5q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180634.8634 iop6rp3j5ph1drhl39i245rl5q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='171';
20230504@180634.8661 iop6rp3j5ph1drhl39i245rl5q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='171';
20230504@180634.8672 iop6rp3j5ph1drhl39i245rl5q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='171';
20230504@180634.8682 iop6rp3j5ph1drhl39i245rl5q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='171';
20230504@180634.9001 05mubdnjolap8ut4h31q6opbhp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180634.9017 05mubdnjolap8ut4h31q6opbhp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180634.9031 05mubdnjolap8ut4h31q6opbhp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='172';
20230504@180634.9072 05mubdnjolap8ut4h31q6opbhp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='172';
20230504@180634.9084 05mubdnjolap8ut4h31q6opbhp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='172';
20230504@180634.9094 05mubdnjolap8ut4h31q6opbhp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='172';
20230504@180634.9105 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180634.9109 05mubdnjolap8ut4h31q6opbhp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180634.9123 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180634.9127 05mubdnjolap8ut4h31q6opbhp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20230504@180634.9196 05mubdnjolap8ut4h31q6opbhp 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'
20230504@180634.9298 05mubdnjolap8ut4h31q6opbhp 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 = 5 and bi.ref ='304.4320.00.1' and bi.lordem =20000
20230504@180634.9602 05mubdnjolap8ut4h31q6opbhp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20230504@180634.9615 05mubdnjolap8ut4h31q6opbhp 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 = 5 and bi.ref ='324.4751.00.1' and bi.lordem =30000
20230504@180634.9622 05mubdnjolap8ut4h31q6opbhp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20230504@180634.9636 05mubdnjolap8ut4h31q6opbhp 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 = 5 and bi.ref ='324.4751.00.1' and bi.lordem =30000
20230504@180634.9644 05mubdnjolap8ut4h31q6opbhp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230504@180634.9661 05mubdnjolap8ut4h31q6opbhp 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 = 5 and bi.ref ='304.422.00.07' and bi.lordem =40000
20230504@180635.3290 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.3520 05mubdnjolap8ut4h31q6opbhp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180635.7770 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.7820 05mubdnjolap8ut4h31q6opbhp Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180635.7950 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.7980 05mubdnjolap8ut4h31q6opbhp Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180635.8110 05mubdnjolap8ut4h31q6opbhp 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
20230504@180635.8250 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.8280 05mubdnjolap8ut4h31q6opbhp Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20230504@180635.9350 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.9380 05mubdnjolap8ut4h31q6opbhp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180635.9520 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.9560 05mubdnjolap8ut4h31q6opbhp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180635.9690 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.9710 05mubdnjolap8ut4h31q6opbhp Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20230504@180635.9870 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.9900 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from td where ndoc = 39
20230504@180635.1004 05mubdnjolap8ut4h31q6opbhp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180635.1020 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180635.1035 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180635.1058 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180635.1074 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180635.1079 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180635.1095 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180635.1108 05mubdnjolap8ut4h31q6opbhp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180635.1153 05mubdnjolap8ut4h31q6opbhp Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180635.1162 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180635.1173 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180635.1186 05mubdnjolap8ut4h31q6opbhp Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e985016453e61b1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180635.1382 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180635.1401 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180635.1407 05mubdnjolap8ut4h31q6opbhp Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e985016453e61b1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.1413 05mubdnjolap8ut4h31q6opbhp Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180635.1430 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180635.1446 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180635.1467 05mubdnjolap8ut4h31q6opbhp 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 ('aut6453e985016453e61b1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100,101987,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180635.1786 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.1791 05mubdnjolap8ut4h31q6opbhp Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230504@180635.1807 05mubdnjolap8ut4h31q6opbhp 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'
20230504@180635.1822 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.1841 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.1854 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.1867 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.1871 05mubdnjolap8ut4h31q6opbhp Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230504@180635.1881 05mubdnjolap8ut4h31q6opbhp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.1890 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.1902 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.1911 05mubdnjolap8ut4h31q6opbhp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e934676453e61b2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6453e985016453e61b1b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180635.2193 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.2214 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.2219 05mubdnjolap8ut4h31q6opbhp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e934676453e61b2e','aut6453e985016453e61b1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.2224 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.2228 05mubdnjolap8ut4h31q6opbhp Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230504@180635.2243 05mubdnjolap8ut4h31q6opbhp 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.4751.00.1'
20230504@180635.2261 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.2276 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.2288 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.2304 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.2309 05mubdnjolap8ut4h31q6opbhp Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230504@180635.2319 05mubdnjolap8ut4h31q6opbhp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.2329 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.2340 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.2350 05mubdnjolap8ut4h31q6opbhp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e666336453e61b38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6453e985016453e61b1b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230504@180635.2666 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.2716 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.2722 05mubdnjolap8ut4h31q6opbhp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e666336453e61b38','aut6453e985016453e61b1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.2729 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.2734 05mubdnjolap8ut4h31q6opbhp Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230504@180635.2749 05mubdnjolap8ut4h31q6opbhp 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.4751.00.1'
20230504@180635.2765 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.2778 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.2789 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.2803 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.2807 05mubdnjolap8ut4h31q6opbhp Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230504@180635.2817 05mubdnjolap8ut4h31q6opbhp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.2826 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.2838 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.2848 05mubdnjolap8ut4h31q6opbhp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e557846453e61b45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6453e985016453e61b1b' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230504@180635.3111 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.3126 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.3130 05mubdnjolap8ut4h31q6opbhp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e557846453e61b45','aut6453e985016453e61b1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.3134 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.3137 05mubdnjolap8ut4h31q6opbhp Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230504@180635.3147 05mubdnjolap8ut4h31q6opbhp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230504@180635.3159 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.3171 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.3192 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.3204 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.3208 05mubdnjolap8ut4h31q6opbhp Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230222'
20230504@180635.3224 05mubdnjolap8ut4h31q6opbhp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.3233 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.3244 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.3253 05mubdnjolap8ut4h31q6opbhp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e979416453e61b4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6453e985016453e61b1b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180635.3508 05mubdnjolap8ut4h31q6opbhp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.3522 05mubdnjolap8ut4h31q6opbhp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.3527 05mubdnjolap8ut4h31q6opbhp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e979416453e61b4e','aut6453e985016453e61b1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.3532 05mubdnjolap8ut4h31q6opbhp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e985016453e61b1b','','wait',39,'ari17112337378,753000005')
20230504@180635.3549 05mubdnjolap8ut4h31q6opbhp Query : use flama_phc
20230504@180635.3557 05mubdnjolap8ut4h31q6opbhp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180635.3568 05mubdnjolap8ut4h31q6opbhp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='172';
20230504@180635.3580 05mubdnjolap8ut4h31q6opbhp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='172';
20230504@180635.3595 05mubdnjolap8ut4h31q6opbhp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='172';
20230504@180635.3612 05mubdnjolap8ut4h31q6opbhp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='172';
20230504@180635.3944 eo13b7d982ip3rrbek3vipkonc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180635.3956 eo13b7d982ip3rrbek3vipkonc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180635.3980 eo13b7d982ip3rrbek3vipkonc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='173';
20230504@180635.4024 eo13b7d982ip3rrbek3vipkonc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='173';
20230504@180635.4038 eo13b7d982ip3rrbek3vipkonc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='173';
20230504@180635.4048 eo13b7d982ip3rrbek3vipkonc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='173';
20230504@180635.4059 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.4062 eo13b7d982ip3rrbek3vipkonc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180635.4074 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.4077 eo13b7d982ip3rrbek3vipkonc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4783
20230504@180635.4111 eo13b7d982ip3rrbek3vipkonc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230504@180635.4121 eo13b7d982ip3rrbek3vipkonc 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 = 6 and bi.ref ='304.422.00.07' and bi.lordem =20000
20230504@180635.4429 eo13b7d982ip3rrbek3vipkonc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20230504@180635.4440 eo13b7d982ip3rrbek3vipkonc 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 = 6 and bi.ref ='324.4751.00.1' and bi.lordem =30000
20230504@180635.4740 eo13b7d982ip3rrbek3vipkonc 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'
20230504@180635.4752 eo13b7d982ip3rrbek3vipkonc 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 = 6 and bi.ref ='304.4320.00.1' and bi.lordem =40000
20230504@180635.5103 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5107 eo13b7d982ip3rrbek3vipkonc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180635.5120 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5123 eo13b7d982ip3rrbek3vipkonc Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180635.5139 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5142 eo13b7d982ip3rrbek3vipkonc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180635.5152 eo13b7d982ip3rrbek3vipkonc 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
20230504@180635.5169 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5172 eo13b7d982ip3rrbek3vipkonc Query : select top 1 ~inactivo valor from cl where no = '102011' and estab = 0 order by inactivo desc
20230504@180635.5182 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5185 eo13b7d982ip3rrbek3vipkonc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180635.5194 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5197 eo13b7d982ip3rrbek3vipkonc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180635.5212 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5215 eo13b7d982ip3rrbek3vipkonc Query : select szadrsstamp valor from szadrs where szadrsdesc='102011 - media markt alfragide, lda.'
20230504@180635.5225 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5228 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from td where ndoc = 39
20230504@180635.5237 eo13b7d982ip3rrbek3vipkonc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180635.5250 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180635.5263 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180635.5281 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180635.5294 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180635.5298 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180635.5310 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180635.5321 eo13b7d982ip3rrbek3vipkonc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180635.5366 eo13b7d982ip3rrbek3vipkonc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180635.5375 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180635.5387 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180635.5396 eo13b7d982ip3rrbek3vipkonc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e473536453e61b81' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180635.5573 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180635.5588 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180635.5592 eo13b7d982ip3rrbek3vipkonc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e473536453e61b81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.5597 eo13b7d982ip3rrbek3vipkonc Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180635.5608 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180635.5621 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180635.5637 eo13b7d982ip3rrbek3vipkonc 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 ('aut6453e473536453e61b81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',101,102011,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180635.5922 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.5926 eo13b7d982ip3rrbek3vipkonc Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230504@180635.5949 eo13b7d982ip3rrbek3vipkonc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230504@180635.5960 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.5972 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.5988 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.6002 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.6006 eo13b7d982ip3rrbek3vipkonc Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230222'
20230504@180635.6015 eo13b7d982ip3rrbek3vipkonc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.6024 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.6055 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.6064 eo13b7d982ip3rrbek3vipkonc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e017916453e61b93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6453e473536453e61b81' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180635.6330 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.6344 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.6348 eo13b7d982ip3rrbek3vipkonc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e017916453e61b93','aut6453e473536453e61b81' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.6352 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.6355 eo13b7d982ip3rrbek3vipkonc Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230504@180635.6366 eo13b7d982ip3rrbek3vipkonc 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.4751.00.1'
20230504@180635.6377 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.6395 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.6406 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.6419 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.6423 eo13b7d982ip3rrbek3vipkonc Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230504@180635.6434 eo13b7d982ip3rrbek3vipkonc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.6444 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.6461 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.6472 eo13b7d982ip3rrbek3vipkonc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e939196453e61b9d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6453e473536453e61b81' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230504@180635.6741 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.6756 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.6760 eo13b7d982ip3rrbek3vipkonc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e939196453e61b9d','aut6453e473536453e61b81' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.6764 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.6767 eo13b7d982ip3rrbek3vipkonc Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230504@180635.6778 eo13b7d982ip3rrbek3vipkonc 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'
20230504@180635.6789 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.6802 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.6813 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.6826 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.6830 eo13b7d982ip3rrbek3vipkonc Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230504@180635.6845 eo13b7d982ip3rrbek3vipkonc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.6854 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.6866 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.6875 eo13b7d982ip3rrbek3vipkonc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e335896453e61ba7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6453e473536453e61b81' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230504@180635.7129 eo13b7d982ip3rrbek3vipkonc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.7155 eo13b7d982ip3rrbek3vipkonc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.7159 eo13b7d982ip3rrbek3vipkonc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e335896453e61ba7','aut6453e473536453e61b81' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.7163 eo13b7d982ip3rrbek3vipkonc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e473536453e61b81','','wait',39,'ari17112337378,753000005')
20230504@180635.7184 eo13b7d982ip3rrbek3vipkonc Query : use flama_phc
20230504@180635.7187 eo13b7d982ip3rrbek3vipkonc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180635.7198 eo13b7d982ip3rrbek3vipkonc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='173';
20230504@180635.7211 eo13b7d982ip3rrbek3vipkonc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='173';
20230504@180635.7224 eo13b7d982ip3rrbek3vipkonc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='173';
20230504@180635.7239 eo13b7d982ip3rrbek3vipkonc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='173';
20230504@180635.7569 601se4qp0khkp2otfdali734it Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180635.7587 601se4qp0khkp2otfdali734it Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180635.7602 601se4qp0khkp2otfdali734it Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='174';
20230504@180635.7644 601se4qp0khkp2otfdali734it Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='174';
20230504@180635.7655 601se4qp0khkp2otfdali734it Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='174';
20230504@180635.7665 601se4qp0khkp2otfdali734it Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='174';
20230504@180635.7683 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.7686 601se4qp0khkp2otfdali734it Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180635.7699 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.7702 601se4qp0khkp2otfdali734it Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20230504@180635.7780 601se4qp0khkp2otfdali734it 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'
20230504@180635.7790 601se4qp0khkp2otfdali734it 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 = 7 and bi.ref ='304.4320.00.1' and bi.lordem =20000
20230504@180635.7796 601se4qp0khkp2otfdali734it Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20230504@180635.7827 601se4qp0khkp2otfdali734it 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 = 7 and bi.ref ='324.4751.00.1' and bi.lordem =30000
20230504@180635.7833 601se4qp0khkp2otfdali734it Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20230504@180635.7845 601se4qp0khkp2otfdali734it 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 = 7 and bi.ref ='324.4751.00.1' and bi.lordem =30000
20230504@180635.7851 601se4qp0khkp2otfdali734it Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230504@180635.7864 601se4qp0khkp2otfdali734it 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 = 7 and bi.ref ='304.422.00.07' and bi.lordem =40000
20230504@180635.7869 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.7872 601se4qp0khkp2otfdali734it Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180635.7884 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.7889 601se4qp0khkp2otfdali734it Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180635.7900 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.7907 601se4qp0khkp2otfdali734it Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180635.7916 601se4qp0khkp2otfdali734it 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
20230504@180635.7929 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.7932 601se4qp0khkp2otfdali734it Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20230504@180635.8060 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.8063 601se4qp0khkp2otfdali734it Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180635.8074 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.8078 601se4qp0khkp2otfdali734it Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180635.8089 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.8121 601se4qp0khkp2otfdali734it Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20230504@180635.8138 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.8140 601se4qp0khkp2otfdali734it Query : select 1 valor from td where ndoc = 39
20230504@180635.8151 601se4qp0khkp2otfdali734it Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180635.8161 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180635.8174 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180635.8190 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180635.8203 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180635.8207 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180635.8219 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180635.8229 601se4qp0khkp2otfdali734it Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180635.8271 601se4qp0khkp2otfdali734it Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180635.8282 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180635.8293 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180635.8303 601se4qp0khkp2otfdali734it Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e017556453e61bc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180635.8477 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180635.8490 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180635.8494 601se4qp0khkp2otfdali734it Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e017556453e61bc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.8499 601se4qp0khkp2otfdali734it Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180635.8510 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180635.8522 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180635.8538 601se4qp0khkp2otfdali734it 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 ('aut6453e017556453e61bc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',102,102040,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180635.8837 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.8841 601se4qp0khkp2otfdali734it Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230504@180635.8853 601se4qp0khkp2otfdali734it 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'
20230504@180635.8875 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.8888 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.8900 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.8920 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.8924 601se4qp0khkp2otfdali734it Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230504@180635.8934 601se4qp0khkp2otfdali734it Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.8943 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.8955 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.8965 601se4qp0khkp2otfdali734it Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e801806453e61bda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6453e017556453e61bc8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180635.9224 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.9239 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.9261 601se4qp0khkp2otfdali734it Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e801806453e61bda','aut6453e017556453e61bc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.9265 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.9268 601se4qp0khkp2otfdali734it Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230504@180635.9279 601se4qp0khkp2otfdali734it 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.4751.00.1'
20230504@180635.9290 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.9303 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.9314 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.9328 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.9333 601se4qp0khkp2otfdali734it Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230504@180635.9343 601se4qp0khkp2otfdali734it Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.9353 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.9366 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.9377 601se4qp0khkp2otfdali734it Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e950176453e61be4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6453e017556453e61bc8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230504@180635.9634 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.9649 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180635.9654 601se4qp0khkp2otfdali734it Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e950176453e61be4','aut6453e017556453e61bc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180635.9658 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180635.9660 601se4qp0khkp2otfdali734it Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230504@180635.9675 601se4qp0khkp2otfdali734it 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.4751.00.1'
20230504@180635.9686 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.9698 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180635.9708 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180635.9720 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180635.9725 601se4qp0khkp2otfdali734it Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230504@180635.9735 601se4qp0khkp2otfdali734it Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180635.9755 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180635.9766 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180635.9775 601se4qp0khkp2otfdali734it Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e583216453e61bee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6453e017556453e61bc8' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230504@180636.3600 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.5100 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180636.5500 601se4qp0khkp2otfdali734it Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e583216453e61bee','aut6453e017556453e61bc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.6000 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180636.6300 601se4qp0khkp2otfdali734it Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230504@180636.7300 601se4qp0khkp2otfdali734it Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230504@180636.1003 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.1017 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180636.1027 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.1039 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180636.1043 601se4qp0khkp2otfdali734it Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230222'
20230504@180636.1054 601se4qp0khkp2otfdali734it Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180636.1063 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.1074 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180636.1083 601se4qp0khkp2otfdali734it Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e011706453e61c19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6453e017556453e61bc8' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180636.1351 601se4qp0khkp2otfdali734it Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.1371 601se4qp0khkp2otfdali734it Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180636.1376 601se4qp0khkp2otfdali734it Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e011706453e61c19','aut6453e017556453e61bc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.1380 601se4qp0khkp2otfdali734it Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e017556453e61bc8','','wait',39,'ari17112337378,753000005')
20230504@180636.1400 601se4qp0khkp2otfdali734it Query : use flama_phc
20230504@180636.1403 601se4qp0khkp2otfdali734it Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180636.1428 601se4qp0khkp2otfdali734it Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='174';
20230504@180636.1440 601se4qp0khkp2otfdali734it Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='174';
20230504@180636.1455 601se4qp0khkp2otfdali734it Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='174';
20230504@180636.1465 601se4qp0khkp2otfdali734it Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='174';
20230504@180636.1855 tkiclgb3g931helk0c9r55mkap Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180636.1868 tkiclgb3g931helk0c9r55mkap Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180636.1881 tkiclgb3g931helk0c9r55mkap Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='175';
20230504@180636.1919 tkiclgb3g931helk0c9r55mkap Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='175';
20230504@180636.1934 tkiclgb3g931helk0c9r55mkap Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='175';
20230504@180636.1946 tkiclgb3g931helk0c9r55mkap Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='175';
20230504@180636.1959 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.1962 tkiclgb3g931helk0c9r55mkap Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180636.1976 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.1979 tkiclgb3g931helk0c9r55mkap Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20230504@180636.2053 tkiclgb3g931helk0c9r55mkap 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'
20230504@180636.2197 tkiclgb3g931helk0c9r55mkap 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 = 8 and bi.ref ='324.5347.00.1' and bi.lordem =20000
20230504@180636.2513 tkiclgb3g931helk0c9r55mkap Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20230504@180636.2638 tkiclgb3g931helk0c9r55mkap 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 = 8 and bi.ref ='324.4421.00.1' and bi.lordem =30000
20230504@180636.2943 tkiclgb3g931helk0c9r55mkap Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20230504@180636.3063 tkiclgb3g931helk0c9r55mkap 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 = 8 and bi.ref ='324.4990.00.1' and bi.lordem =40000
20230504@180636.3449 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.3453 tkiclgb3g931helk0c9r55mkap Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180636.3466 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.3469 tkiclgb3g931helk0c9r55mkap Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180636.3479 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.3482 tkiclgb3g931helk0c9r55mkap Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180636.3493 tkiclgb3g931helk0c9r55mkap 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
20230504@180636.3506 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.3509 tkiclgb3g931helk0c9r55mkap Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20230504@180636.3519 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.3522 tkiclgb3g931helk0c9r55mkap Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180636.3533 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.3535 tkiclgb3g931helk0c9r55mkap Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180636.3546 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.3549 tkiclgb3g931helk0c9r55mkap Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20230504@180636.3561 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.3564 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from td where ndoc = 39
20230504@180636.3574 tkiclgb3g931helk0c9r55mkap Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180636.3585 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180636.3599 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180636.3619 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180636.3632 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180636.3636 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180636.3649 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180636.3659 tkiclgb3g931helk0c9r55mkap Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180636.3700 tkiclgb3g931helk0c9r55mkap Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180636.3709 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180636.3721 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180636.3731 tkiclgb3g931helk0c9r55mkap Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e918316453e61c59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180636.3904 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180636.3918 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180636.3923 tkiclgb3g931helk0c9r55mkap Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e918316453e61c59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.3927 tkiclgb3g931helk0c9r55mkap Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180636.3939 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180636.3952 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180636.3969 tkiclgb3g931helk0c9r55mkap 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 ('aut6453e918316453e61c59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',103,102199,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180636.4257 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.4262 tkiclgb3g931helk0c9r55mkap Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20230504@180636.4274 tkiclgb3g931helk0c9r55mkap 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.5347.00.1'
20230504@180636.4403 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.4418 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180636.4428 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.4441 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180636.4445 tkiclgb3g931helk0c9r55mkap Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2200658100a'
20230504@180636.4457 tkiclgb3g931helk0c9r55mkap Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180636.4466 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.4479 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180636.4488 tkiclgb3g931helk0c9r55mkap Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e294736453e61c6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6453e918316453e61c59' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180636.4756 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.4771 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180636.4776 tkiclgb3g931helk0c9r55mkap Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e294736453e61c6d','aut6453e918316453e61c59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.4781 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.4806 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180636.4817 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.4830 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180636.4835 tkiclgb3g931helk0c9r55mkap Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180636.4846 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.4859 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180636.4871 tkiclgb3g931helk0c9r55mkap Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e991536453e61c76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e918316453e61c59' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180636.5156 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.5186 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180636.5190 tkiclgb3g931helk0c9r55mkap Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e991536453e61c76','aut6453e918316453e61c59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.5194 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.5197 tkiclgb3g931helk0c9r55mkap Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20230504@180636.5208 tkiclgb3g931helk0c9r55mkap 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.4421.00.1'
20230504@180636.5334 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.5347 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180636.5358 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.5370 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180636.5374 tkiclgb3g931helk0c9r55mkap Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20230504@180636.5385 tkiclgb3g931helk0c9r55mkap Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180636.5395 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.5407 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180636.5418 tkiclgb3g931helk0c9r55mkap Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e172496453e61c83',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6453e918316453e61c59' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180636.5677 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.5692 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180636.5696 tkiclgb3g931helk0c9r55mkap Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e172496453e61c83','aut6453e918316453e61c59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.5700 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.5703 tkiclgb3g931helk0c9r55mkap Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20230504@180636.5715 tkiclgb3g931helk0c9r55mkap 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.4990.00.1'
20230504@180636.5848 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.5863 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180636.5873 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.5886 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180636.5891 tkiclgb3g931helk0c9r55mkap Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20230504@180636.5902 tkiclgb3g931helk0c9r55mkap Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180636.5911 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.5923 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180636.5932 tkiclgb3g931helk0c9r55mkap Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e215906453e61c90',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e918316453e61c59' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230504@180636.6196 tkiclgb3g931helk0c9r55mkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.6214 tkiclgb3g931helk0c9r55mkap Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180636.6218 tkiclgb3g931helk0c9r55mkap Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e215906453e61c90','aut6453e918316453e61c59' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.6222 tkiclgb3g931helk0c9r55mkap Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e918316453e61c59','','wait',39,'ari17112337378,753000005')
20230504@180636.6240 tkiclgb3g931helk0c9r55mkap Query : use flama_phc
20230504@180636.6243 tkiclgb3g931helk0c9r55mkap Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180636.6254 tkiclgb3g931helk0c9r55mkap Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='175';
20230504@180636.6265 tkiclgb3g931helk0c9r55mkap Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='175';
20230504@180636.6277 tkiclgb3g931helk0c9r55mkap Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='175';
20230504@180636.6287 tkiclgb3g931helk0c9r55mkap Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='175';
20230504@180636.6713 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180636.6728 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180636.6742 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='176';
20230504@180636.6779 5hnmil7ntrtu5aq7ksie7ui0a6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='176';
20230504@180636.6798 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='176';
20230504@180636.6809 5hnmil7ntrtu5aq7ksie7ui0a6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='176';
20230504@180636.6823 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.6826 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180636.6841 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.6844 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4784
20230504@180636.6876 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230504@180636.6886 5hnmil7ntrtu5aq7ksie7ui0a6 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 = 9 and bi.ref ='304.422.00.07' and bi.lordem =20000
20230504@180636.7416 5hnmil7ntrtu5aq7ksie7ui0a6 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'
20230504@180636.7427 5hnmil7ntrtu5aq7ksie7ui0a6 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 = 9 and bi.ref ='304.4320.00.1' and bi.lordem =30000
20230504@180636.7814 5hnmil7ntrtu5aq7ksie7ui0a6 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'
20230504@180636.7827 5hnmil7ntrtu5aq7ksie7ui0a6 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 = 9 and bi.ref ='304.4320.00.1' and bi.lordem =30000
20230504@180636.7834 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20230504@180636.7846 5hnmil7ntrtu5aq7ksie7ui0a6 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 = 9 and bi.ref ='324.4751.00.1' and bi.lordem =40000
20230504@180636.8151 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8156 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180636.8169 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8172 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180636.8182 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8184 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180636.8194 5hnmil7ntrtu5aq7ksie7ui0a6 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
20230504@180636.8209 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8212 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 ~inactivo valor from cl where no = '102410' and estab = 0 order by inactivo desc
20230504@180636.8221 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8224 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180636.8233 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8236 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180636.8247 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8250 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select szadrsstamp valor from szadrs where szadrsdesc='102410 - media markt matosinhos - prod inform e el'
20230504@180636.8261 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8264 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from td where ndoc = 39
20230504@180636.8274 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180636.8285 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180636.8300 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180636.8316 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180636.8328 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180636.8332 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180636.8344 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180636.8353 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180636.8393 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180636.8405 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180636.8417 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180636.8428 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e145966453e61ccb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180636.8606 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180636.8622 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180636.8626 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e145966453e61ccb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.8631 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180636.8643 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180636.8655 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180636.8672 5hnmil7ntrtu5aq7ksie7ui0a6 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 ('aut6453e145966453e61ccb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',104,102410,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180636.8949 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.8953 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230504@180636.8964 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230504@180636.8975 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.8990 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180636.9000 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.9013 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180636.9027 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230222'
20230504@180636.9037 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180636.9047 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.9059 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180636.9068 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e664326453e61cdc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6453e145966453e61ccb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180636.9328 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.9344 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180636.9348 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e664326453e61cdc','aut6453e145966453e61ccb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.9353 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.9356 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230504@180636.9367 5hnmil7ntrtu5aq7ksie7ui0a6 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'
20230504@180636.9378 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.9391 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180636.9400 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.9413 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180636.9418 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230504@180636.9427 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180636.9437 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180636.9449 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180636.9458 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e171806453e61ce6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6453e145966453e61ccb' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230504@180636.9838 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180636.9950 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180636.9982 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e171806453e61ce6','aut6453e145966453e61ccb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180636.9988 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180636.9992 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230504@180637.3000 5hnmil7ntrtu5aq7ksie7ui0a6 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'
20230504@180637.1500 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.3100 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180637.4200 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.5500 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180637.5900 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230004'
20230504@180637.7800 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180637.8900 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.1010 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180637.1110 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e747866453e61d02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6453e145966453e61ccb' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230504@180637.3760 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.4070 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180637.4120 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e747866453e61d02','aut6453e145966453e61ccb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.4160 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180637.4200 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230504@180637.4310 5hnmil7ntrtu5aq7ksie7ui0a6 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.4751.00.1'
20230504@180637.4440 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.4570 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180637.4670 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.4790 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180637.4830 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230504@180637.4940 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180637.5040 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.5160 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180637.5260 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e224756453e61d0c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6453e145966453e61ccb' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180637.7860 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.8020 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180637.8070 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e224756453e61d0c','aut6453e145966453e61ccb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.8130 5hnmil7ntrtu5aq7ksie7ui0a6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e145966453e61ccb','','wait',39,'ari17112337378,753000005')
20230504@180637.8330 5hnmil7ntrtu5aq7ksie7ui0a6 Query : use flama_phc
20230504@180637.8370 5hnmil7ntrtu5aq7ksie7ui0a6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180637.8510 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='176';
20230504@180637.8750 5hnmil7ntrtu5aq7ksie7ui0a6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='176';
20230504@180637.8900 5hnmil7ntrtu5aq7ksie7ui0a6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='176';
20230504@180637.9010 5hnmil7ntrtu5aq7ksie7ui0a6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='176';
20230504@180637.1443 pfe89u3rifasbsku02b3bsoim8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180637.2380 pfe89u3rifasbsku02b3bsoim8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180637.2395 pfe89u3rifasbsku02b3bsoim8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='177';
20230504@180637.2434 pfe89u3rifasbsku02b3bsoim8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='177';
20230504@180637.2448 pfe89u3rifasbsku02b3bsoim8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='177';
20230504@180637.2458 pfe89u3rifasbsku02b3bsoim8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='177';
20230504@180637.2469 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.2472 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180637.2484 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.2487 pfe89u3rifasbsku02b3bsoim8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3883
20230504@180637.2520 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.2665 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.4902.00.1' and bi.lordem =20000
20230504@180637.2966 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.2977 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.4902.00.1' and bi.lordem =20000
20230504@180637.2982 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.3099 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.4970.00.1' and bi.lordem =30000
20230504@180637.3424 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.3435 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.4970.00.1' and bi.lordem =30000
20230504@180637.3441 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230504@180637.3562 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.1690.00.1' and bi.lordem =40000
20230504@180637.3863 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230504@180637.3873 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.1690.00.1' and bi.lordem =40000
20230504@180637.3878 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1528.00.1'
20230504@180637.4028 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.1528.00.1' and bi.lordem =50000
20230504@180637.4355 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230504@180637.4366 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='304.422.00.07' and bi.lordem =60000
20230504@180637.4663 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230504@180637.4674 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='304.422.00.07' and bi.lordem =60000
20230504@180637.4680 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20230504@180637.4808 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.1470.00.1' and bi.lordem =70000
20230504@180637.5128 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.5139 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='304.4320.00.1' and bi.lordem =80000
20230504@180637.5432 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.5443 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='304.4320.00.1' and bi.lordem =80000
20230504@180637.5448 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20230504@180637.5458 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.4751.00.1' and bi.lordem =90000
20230504@180637.5772 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20230504@180637.5783 pfe89u3rifasbsku02b3bsoim8 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 = 0 and bi.ref ='324.4751.00.1' and bi.lordem =90000
20230504@180637.5788 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.5793 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180637.5815 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.5818 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180637.5828 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.5831 pfe89u3rifasbsku02b3bsoim8 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180637.5842 pfe89u3rifasbsku02b3bsoim8 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
20230504@180637.5856 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.5859 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230504@180637.5869 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.5871 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180637.5882 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.5885 pfe89u3rifasbsku02b3bsoim8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180637.5896 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.5899 pfe89u3rifasbsku02b3bsoim8 Query : select szadrsstamp valor from szadrs where szadrsdesc='pll- plataformalogistica lisboa norte'
20230504@180637.5911 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.5913 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from td where ndoc = 39
20230504@180637.5925 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180637.5938 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180637.5961 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180637.5977 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180637.5990 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180637.5994 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180637.6008 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180637.6018 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180637.6057 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180637.6067 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180637.6080 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180637.6091 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180637.6274 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180637.6288 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180637.6293 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e311476453e61d92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.6297 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180637.6309 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180637.6322 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180637.6339 pfe89u3rifasbsku02b3bsoim8 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 ('aut6453e311476453e61d92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',105,101597,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180637.6627 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.6631 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230504@180637.6643 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.6765 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.6779 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180637.6789 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.6804 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180637.6809 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230504@180637.6820 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180637.6830 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.6843 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180637.6854 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e266306453e61da6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180637.7106 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.7122 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180637.7126 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e266306453e61da6','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.7131 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.7145 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180637.7155 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.7167 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180637.7171 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180637.7180 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.7192 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180637.7201 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e596376453e61daf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180637.7454 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.7469 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180637.7474 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e596376453e61daf','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.7478 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.7481 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230504@180637.7493 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.7505 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.7517 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180637.7527 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.7539 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180637.7543 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230504@180637.7553 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180637.7562 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.7574 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180637.7583 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e524136453e61db8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180637.7847 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.7863 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180637.7867 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e524136453e61db8','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.7872 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.7884 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180637.7894 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.7906 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180637.7910 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180637.7919 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.7930 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180637.7940 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e705326453e61dc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,50000,?,?,?)
20230504@180637.8203 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.8218 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180637.8223 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e705326453e61dc1','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.8227 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.8231 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230504@180637.8242 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.8371 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.8384 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180637.8393 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.8405 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180637.8409 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230504@180637.8419 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180637.8427 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.8439 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180637.8448 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e499906453e61dcd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230504@180637.8706 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.8721 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180637.8726 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e499906453e61dcd','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.8730 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.8733 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230504@180637.8744 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180637.8754 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.8770 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180637.8779 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.8791 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180637.8795 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230504@180637.8805 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180637.8814 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180637.8826 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180637.8835 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e306686453e61dd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20230504@180637.9303 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180637.9892 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180637.9898 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e306686453e61dd7','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180637.9903 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180637.9907 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230504@180637.9919 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1690.00.1'
20230504@180638.5000 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.6500 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.7500 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.8800 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.9300 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100238200a'
20230504@180638.1040 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.1140 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.1260 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.1360 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e136536453e61e02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20230504@180638.3920 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.6670 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.6730 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e136536453e61e02','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.6790 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.6930 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.7030 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.7150 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.7190 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.7290 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.7590 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.7690 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e885196453e61e11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,100000,?,?,?)
20230504@180638.1241 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.1256 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.1261 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e885196453e61e11','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.1267 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.1270 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230504@180638.1280 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1690.00.1'
20230504@180638.1290 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.1302 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.1311 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.1324 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.1328 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100238200a'
20230504@180638.1337 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.1346 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.1357 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.1367 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e727716453e61e20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20230504@180638.1650 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.1665 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.1670 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e727716453e61e20','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.1675 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.1689 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.1699 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.1711 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.1716 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.1727 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.1739 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.1749 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e826986453e61e2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,130000,?,?,?)
20230504@180638.1996 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.2011 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.2015 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e826986453e61e2a','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.2020 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.2023 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.1528.00.1'
20230504@180638.2034 pfe89u3rifasbsku02b3bsoim8 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.1528.00.1'
20230504@180638.2161 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.2174 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.2184 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.2197 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.2201 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.1528.00.1' and lote = 'r2200263100a'
20230504@180638.2211 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.2221 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.2232 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.2241 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e713596453e61e36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20230504@180638.2498 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.2514 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.2519 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e713596453e61e36','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.2523 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.2527 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230504@180638.2538 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230504@180638.2549 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.2563 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.2573 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.2585 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.2590 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230222'
20230504@180638.2601 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.2611 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.2623 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.2646 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e928096453e61e3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20230504@180638.2905 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.2922 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.2926 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e928096453e61e3f','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.2931 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.2936 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230504@180638.2947 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230504@180638.2959 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.2973 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.2983 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.2995 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.3000 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230222'
20230504@180638.3010 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.3020 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.3032 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.3042 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e772066453e61e49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20230504@180638.3294 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.3311 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.3315 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e772066453e61e49','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.3320 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.3323 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20230504@180638.3335 pfe89u3rifasbsku02b3bsoim8 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.1470.00.1'
20230504@180638.3461 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.3476 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.3486 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.3499 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.3504 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20230504@180638.3515 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.3525 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.3537 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.3547 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e134446453e61e56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20230504@180638.3854 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.4090 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.4095 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e134446453e61e56','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.4100 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.4104 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230504@180638.4114 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180638.4125 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.4369 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.4380 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.4393 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.4397 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230504@180638.4407 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.4469 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.4708 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.4718 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e713656453e61e6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20230504@180638.4996 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.5012 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.5016 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e713656453e61e6d','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.5021 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.5024 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230504@180638.5034 pfe89u3rifasbsku02b3bsoim8 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'
20230504@180638.5044 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.5057 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.5066 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.5077 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.5081 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230504@180638.5091 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.5100 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.5112 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.5121 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e906856453e61e7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20230504@180638.5382 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.5397 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.5402 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e906856453e61e7c','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.5406 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.5409 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230504@180638.5420 pfe89u3rifasbsku02b3bsoim8 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.4751.00.1'
20230504@180638.5430 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.5443 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.5452 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.5463 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.5468 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230504@180638.5477 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.5486 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.5498 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.5508 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e129446453e61e85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20230504@180638.5808 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.5823 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.5828 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e129446453e61e85','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.5832 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.5835 pfe89u3rifasbsku02b3bsoim8 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230504@180638.5845 pfe89u3rifasbsku02b3bsoim8 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.4751.00.1'
20230504@180638.5857 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.5869 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.5879 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.5891 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.5895 pfe89u3rifasbsku02b3bsoim8 Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230504@180638.5917 pfe89u3rifasbsku02b3bsoim8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.5926 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.5939 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.5948 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e785566453e61e90',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6453e311476453e61d92' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20230504@180638.6210 pfe89u3rifasbsku02b3bsoim8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.6225 pfe89u3rifasbsku02b3bsoim8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.6230 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e785566453e61e90','aut6453e311476453e61d92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.6234 pfe89u3rifasbsku02b3bsoim8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e311476453e61d92','','wait',39,'ari17112337378,753000005')
20230504@180638.6252 pfe89u3rifasbsku02b3bsoim8 Query : use flama_phc
20230504@180638.6255 pfe89u3rifasbsku02b3bsoim8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180638.6267 pfe89u3rifasbsku02b3bsoim8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='177';
20230504@180638.6279 pfe89u3rifasbsku02b3bsoim8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='177';
20230504@180638.6302 pfe89u3rifasbsku02b3bsoim8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='177';
20230504@180638.6312 pfe89u3rifasbsku02b3bsoim8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='177';
20230504@180638.6659 ftg6dbidgovi7o9jfo8b92b67a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180638.6677 ftg6dbidgovi7o9jfo8b92b67a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180638.6691 ftg6dbidgovi7o9jfo8b92b67a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='178';
20230504@180638.6731 ftg6dbidgovi7o9jfo8b92b67a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='178';
20230504@180638.6753 ftg6dbidgovi7o9jfo8b92b67a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='178';
20230504@180638.6764 ftg6dbidgovi7o9jfo8b92b67a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='178';
20230504@180638.6774 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.6777 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180638.6790 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.6793 ftg6dbidgovi7o9jfo8b92b67a Query : select no, estab,szadrsdesc from szadrs where u_coddest=4920
20230504@180638.6830 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20230504@180638.6840 ftg6dbidgovi7o9jfo8b92b67a 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 = 1 and bi.ref ='324.4990.00.1' and bi.lordem =20000
20230504@180638.7288 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.959.00.01'
20230504@180638.7414 ftg6dbidgovi7o9jfo8b92b67a 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 = 1 and bi.ref ='324.959.00.01' and bi.lordem =30000
20230504@180638.7708 ftg6dbidgovi7o9jfo8b92b67a 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'
20230504@180638.7719 ftg6dbidgovi7o9jfo8b92b67a 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 = 1 and bi.ref ='324.4970.00.1' and bi.lordem =40000
20230504@180638.8591 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.8752 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180638.8767 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.8770 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180638.8779 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.8782 ftg6dbidgovi7o9jfo8b92b67a Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180638.8792 ftg6dbidgovi7o9jfo8b92b67a 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
20230504@180638.8806 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.8808 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 ~inactivo valor from cl where no = '101711' and estab = 0 order by inactivo desc
20230504@180638.8818 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.8820 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180638.8830 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.8833 ftg6dbidgovi7o9jfo8b92b67a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180638.8842 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.8845 ftg6dbidgovi7o9jfo8b92b67a Query : select szadrsstamp valor from szadrs where szadrsdesc='101711 - media markt benfica -prod.inf.elect., lda'
20230504@180638.8856 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.8859 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from td where ndoc = 39
20230504@180638.8869 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180638.8880 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180638.8893 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180638.8910 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180638.8923 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180638.8927 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180638.8940 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180638.8949 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180638.8988 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180638.8997 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180638.9009 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180638.9018 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e864736453e61eda' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180638.9187 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180638.9201 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180638.9205 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e864736453e61eda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.9210 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180638.9222 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180638.9234 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180638.9251 ftg6dbidgovi7o9jfo8b92b67a 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 ('aut6453e864736453e61eda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',106,101711,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180638.9528 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.9532 ftg6dbidgovi7o9jfo8b92b67a Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20230504@180638.9543 ftg6dbidgovi7o9jfo8b92b67a 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.4990.00.1'
20230504@180638.9554 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.9567 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180638.9577 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.9590 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180638.9594 ftg6dbidgovi7o9jfo8b92b67a Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20230504@180638.9603 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180638.9612 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180638.9624 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180638.9633 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e983986453e61eea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e864736453e61eda' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180638.9907 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180638.9921 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180638.9925 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e983986453e61eea','aut6453e864736453e61eda' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180638.9930 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180638.9932 ftg6dbidgovi7o9jfo8b92b67a Query : select st.usalote valor from st where st.ref = '324.959.00.01'
20230504@180638.9944 ftg6dbidgovi7o9jfo8b92b67a 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.959.00.01'
20230504@180639.7100 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.8500 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.9500 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.1070 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.1110 ftg6dbidgovi7o9jfo8b92b67a Query : select sestamp valor from se where ref ='324.959.00.01' and lote = 'r2100174200a'
20230504@180639.1310 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.1400 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.1520 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.1610 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e577086453e61f03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6453e864736453e61eda' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230504@180639.4620 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.6430 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.6490 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e577086453e61f03','aut6453e864736453e61eda' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.6540 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180639.6570 ftg6dbidgovi7o9jfo8b92b67a Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230504@180639.6670 ftg6dbidgovi7o9jfo8b92b67a 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'
20230504@180639.6770 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.7250 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.7350 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.7470 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.7510 ftg6dbidgovi7o9jfo8b92b67a Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230504@180639.7600 ftg6dbidgovi7o9jfo8b92b67a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.7690 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.7800 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.7890 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e966986453e61f12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6453e864736453e61eda' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230504@180639.1042 ftg6dbidgovi7o9jfo8b92b67a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.1056 ftg6dbidgovi7o9jfo8b92b67a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.1060 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e966986453e61f12','aut6453e864736453e61eda' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.1065 ftg6dbidgovi7o9jfo8b92b67a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e864736453e61eda','','wait',39,'ari17112337378,753000005')
20230504@180639.1087 ftg6dbidgovi7o9jfo8b92b67a Query : use flama_phc
20230504@180639.1090 ftg6dbidgovi7o9jfo8b92b67a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180639.1107 ftg6dbidgovi7o9jfo8b92b67a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='178';
20230504@180639.1121 ftg6dbidgovi7o9jfo8b92b67a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='178';
20230504@180639.1138 ftg6dbidgovi7o9jfo8b92b67a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='178';
20230504@180639.1147 ftg6dbidgovi7o9jfo8b92b67a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='178';
20230504@180639.1446 1ouilhuv8n326kd1lv4mk0o6a5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180639.1465 1ouilhuv8n326kd1lv4mk0o6a5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180639.1499 1ouilhuv8n326kd1lv4mk0o6a5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='179';
20230504@180639.1538 1ouilhuv8n326kd1lv4mk0o6a5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='179';
20230504@180639.1551 1ouilhuv8n326kd1lv4mk0o6a5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='179';
20230504@180639.1563 1ouilhuv8n326kd1lv4mk0o6a5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='179';
20230504@180639.1575 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.1578 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180639.1591 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.1594 1ouilhuv8n326kd1lv4mk0o6a5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4786
20230504@180639.1627 1ouilhuv8n326kd1lv4mk0o6a5 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'
20230504@180639.1638 1ouilhuv8n326kd1lv4mk0o6a5 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 = 2 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180639.1941 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.1945 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180639.1959 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.1962 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180639.1973 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.1976 1ouilhuv8n326kd1lv4mk0o6a5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180639.1989 1ouilhuv8n326kd1lv4mk0o6a5 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
20230504@180639.2005 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.2008 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 ~inactivo valor from cl where no = '101847' and estab = 0 order by inactivo desc
20230504@180639.2018 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.2021 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180639.2031 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.2034 1ouilhuv8n326kd1lv4mk0o6a5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180639.2045 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.2048 1ouilhuv8n326kd1lv4mk0o6a5 Query : select szadrsstamp valor from szadrs where szadrsdesc='101847 - media markt aveiro-prod.inf.e elect.,lda'
20230504@180639.2059 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.2062 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from td where ndoc = 39
20230504@180639.2071 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180639.2082 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180639.2095 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180639.2111 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180639.2125 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180639.2138 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180639.2150 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180639.2161 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180639.2203 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180639.2212 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180639.2224 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180639.2234 1ouilhuv8n326kd1lv4mk0o6a5 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e827326453e61f34' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180639.2407 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180639.2421 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180639.2425 1ouilhuv8n326kd1lv4mk0o6a5 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e827326453e61f34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.2430 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180639.2441 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180639.2455 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180639.2473 1ouilhuv8n326kd1lv4mk0o6a5 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 ('aut6453e827326453e61f34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',107,101847,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180639.2757 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.2761 1ouilhuv8n326kd1lv4mk0o6a5 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180639.2773 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180639.2784 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.2797 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.2807 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.2819 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.2824 1ouilhuv8n326kd1lv4mk0o6a5 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180639.2833 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.2843 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.2855 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.2864 1ouilhuv8n326kd1lv4mk0o6a5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e593486453e61f45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6453e827326453e61f34' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180639.3207 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.4012 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.4017 1ouilhuv8n326kd1lv4mk0o6a5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e593486453e61f45','aut6453e827326453e61f34' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.4022 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.4035 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.4045 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.4058 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.4063 1ouilhuv8n326kd1lv4mk0o6a5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.4072 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.4084 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.4094 1ouilhuv8n326kd1lv4mk0o6a5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e663256453e61f63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e827326453e61f34' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180639.4388 1ouilhuv8n326kd1lv4mk0o6a5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.4411 1ouilhuv8n326kd1lv4mk0o6a5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.4415 1ouilhuv8n326kd1lv4mk0o6a5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e663256453e61f63','aut6453e827326453e61f34' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.4420 1ouilhuv8n326kd1lv4mk0o6a5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e827326453e61f34','','wait',39,'ari17112337378,753000005')
20230504@180639.4450 1ouilhuv8n326kd1lv4mk0o6a5 Query : use flama_phc
20230504@180639.4453 1ouilhuv8n326kd1lv4mk0o6a5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180639.4476 1ouilhuv8n326kd1lv4mk0o6a5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='179';
20230504@180639.4488 1ouilhuv8n326kd1lv4mk0o6a5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='179';
20230504@180639.4500 1ouilhuv8n326kd1lv4mk0o6a5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='179';
20230504@180639.4511 1ouilhuv8n326kd1lv4mk0o6a5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='179';
20230504@180639.4828 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180639.4842 h2u58gpc2vh6tkpvkic6m9que5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180639.4856 h2u58gpc2vh6tkpvkic6m9que5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='180';
20230504@180639.4898 h2u58gpc2vh6tkpvkic6m9que5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='180';
20230504@180639.4913 h2u58gpc2vh6tkpvkic6m9que5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='180';
20230504@180639.4923 h2u58gpc2vh6tkpvkic6m9que5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='180';
20230504@180639.4934 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.4937 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180639.4949 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.4952 h2u58gpc2vh6tkpvkic6m9que5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4782
20230504@180639.4986 h2u58gpc2vh6tkpvkic6m9que5 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'
20230504@180639.4997 h2u58gpc2vh6tkpvkic6m9que5 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 = 3 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180639.5312 h2u58gpc2vh6tkpvkic6m9que5 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'
20230504@180639.5324 h2u58gpc2vh6tkpvkic6m9que5 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 = 3 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180639.5329 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.5333 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180639.5346 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.5349 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180639.5360 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.5363 h2u58gpc2vh6tkpvkic6m9que5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180639.5374 h2u58gpc2vh6tkpvkic6m9que5 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
20230504@180639.5389 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.5392 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 ~inactivo valor from cl where no = '101848' and estab = 0 order by inactivo desc
20230504@180639.5403 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.5406 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180639.5428 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.5431 h2u58gpc2vh6tkpvkic6m9que5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180639.5442 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.5444 h2u58gpc2vh6tkpvkic6m9que5 Query : select szadrsstamp valor from szadrs where szadrsdesc='101848 - media markt braga-prod.inf.e eelect.,lda'
20230504@180639.5456 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.5459 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from td where ndoc = 39
20230504@180639.5469 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180639.5480 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180639.5493 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180639.5510 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180639.5523 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180639.5527 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180639.5539 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180639.5550 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180639.5591 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180639.5600 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180639.5613 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180639.5623 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e118846453e61f87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180639.5797 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180639.5812 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180639.5816 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e118846453e61f87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.5821 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180639.5832 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180639.5845 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180639.5862 h2u58gpc2vh6tkpvkic6m9que5 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 ('aut6453e118846453e61f87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108,101848,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180639.6155 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.6160 h2u58gpc2vh6tkpvkic6m9que5 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180639.6171 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180639.6183 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.6197 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.6208 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.6222 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.6227 h2u58gpc2vh6tkpvkic6m9que5 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180639.6237 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.6248 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.6261 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.6271 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e406816453e61f98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e118846453e61f87' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180639.6530 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.6547 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.6552 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e406816453e61f98','aut6453e118846453e61f87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.6558 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.6572 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.6583 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.6596 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.6612 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.6622 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.6635 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.6645 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e711586453e61fa1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e118846453e61f87' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180639.6940 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.6971 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.6977 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e711586453e61fa1','aut6453e118846453e61f87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.6982 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.6986 h2u58gpc2vh6tkpvkic6m9que5 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180639.6998 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180639.7010 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.7023 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.7034 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.7047 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.7052 h2u58gpc2vh6tkpvkic6m9que5 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180639.7063 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.7073 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.7086 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.7097 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e382896453e61fac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6453e118846453e61f87' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180639.7351 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.7370 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.7375 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e382896453e61fac','aut6453e118846453e61f87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.7381 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.7394 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.7405 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.7418 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.7422 h2u58gpc2vh6tkpvkic6m9que5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.7433 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.7445 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.7456 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e375126453e61fb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e118846453e61f87' ,0,0 ,2,23.00,50000,?,?,?)
20230504@180639.7715 h2u58gpc2vh6tkpvkic6m9que5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.7730 h2u58gpc2vh6tkpvkic6m9que5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.7735 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e375126453e61fb5','aut6453e118846453e61f87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.7740 h2u58gpc2vh6tkpvkic6m9que5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e118846453e61f87','','wait',39,'ari17112337378,753000005')
20230504@180639.7757 h2u58gpc2vh6tkpvkic6m9que5 Query : use flama_phc
20230504@180639.7761 h2u58gpc2vh6tkpvkic6m9que5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180639.7772 h2u58gpc2vh6tkpvkic6m9que5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='180';
20230504@180639.7785 h2u58gpc2vh6tkpvkic6m9que5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='180';
20230504@180639.7796 h2u58gpc2vh6tkpvkic6m9que5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='180';
20230504@180639.7809 h2u58gpc2vh6tkpvkic6m9que5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='180';
20230504@180639.8132 3hbk3ithn9158qiajjjp18v4hd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180639.8147 3hbk3ithn9158qiajjjp18v4hd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180639.8164 3hbk3ithn9158qiajjjp18v4hd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='181';
20230504@180639.8205 3hbk3ithn9158qiajjjp18v4hd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='181';
20230504@180639.8372 3hbk3ithn9158qiajjjp18v4hd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='181';
20230504@180639.8385 3hbk3ithn9158qiajjjp18v4hd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='181';
20230504@180639.8398 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8401 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180639.8415 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8418 3hbk3ithn9158qiajjjp18v4hd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20230504@180639.8451 3hbk3ithn9158qiajjjp18v4hd 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'
20230504@180639.8462 3hbk3ithn9158qiajjjp18v4hd 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 = 4 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180639.8777 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8781 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180639.8795 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8799 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180639.8810 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8813 3hbk3ithn9158qiajjjp18v4hd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180639.8824 3hbk3ithn9158qiajjjp18v4hd 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
20230504@180639.8840 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8843 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20230504@180639.8854 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8857 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180639.8868 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8871 3hbk3ithn9158qiajjjp18v4hd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180639.8881 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8884 3hbk3ithn9158qiajjjp18v4hd Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20230504@180639.8896 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.8899 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from td where ndoc = 39
20230504@180639.8909 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180639.8922 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180639.8936 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180639.8952 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180639.8965 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180639.8970 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180639.8983 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180639.8993 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180639.9034 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180639.9044 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180639.9056 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180639.9066 3hbk3ithn9158qiajjjp18v4hd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e798756453e61fdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180639.9236 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180639.9250 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180639.9255 3hbk3ithn9158qiajjjp18v4hd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e798756453e61fdb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.9260 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180639.9277 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180639.9291 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180639.9309 3hbk3ithn9158qiajjjp18v4hd 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 ('aut6453e798756453e61fdb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',109,101987,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180639.9611 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180639.9614 3hbk3ithn9158qiajjjp18v4hd Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180639.9625 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180639.9636 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.9650 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180639.9661 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.9674 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180639.9678 3hbk3ithn9158qiajjjp18v4hd Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180639.9688 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180639.9697 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180639.9709 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180639.9718 3hbk3ithn9158qiajjjp18v4hd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e442756453e61fec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6453e798756453e61fdb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180639.9969 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180639.9984 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180639.9991 3hbk3ithn9158qiajjjp18v4hd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e442756453e61fec','aut6453e798756453e61fdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180639.9996 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.9000 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180640.1900 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.3000 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180640.3500 3hbk3ithn9158qiajjjp18v4hd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180640.4400 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.5600 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180640.6600 3hbk3ithn9158qiajjjp18v4hd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e442676453e62001',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e798756453e61fdb' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180640.4050 3hbk3ithn9158qiajjjp18v4hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.4290 3hbk3ithn9158qiajjjp18v4hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180640.4350 3hbk3ithn9158qiajjjp18v4hd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e442676453e62001','aut6453e798756453e61fdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.4440 3hbk3ithn9158qiajjjp18v4hd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e798756453e61fdb','','wait',39,'ari17112337378,753000005')
20230504@180640.4630 3hbk3ithn9158qiajjjp18v4hd Query : use flama_phc
20230504@180640.4690 3hbk3ithn9158qiajjjp18v4hd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180640.4940 3hbk3ithn9158qiajjjp18v4hd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='181';
20230504@180640.5100 3hbk3ithn9158qiajjjp18v4hd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='181';
20230504@180640.5220 3hbk3ithn9158qiajjjp18v4hd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='181';
20230504@180640.5750 3hbk3ithn9158qiajjjp18v4hd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='181';
20230504@180640.9010 ppo8j8b9osc3kl56nan8pmfm1q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180640.9170 ppo8j8b9osc3kl56nan8pmfm1q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180640.9310 ppo8j8b9osc3kl56nan8pmfm1q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='182';
20230504@180640.9740 ppo8j8b9osc3kl56nan8pmfm1q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='182';
20230504@180640.9880 ppo8j8b9osc3kl56nan8pmfm1q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='182';
20230504@180640.9990 ppo8j8b9osc3kl56nan8pmfm1q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='182';
20230504@180640.1010 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1013 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180640.1026 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1029 ppo8j8b9osc3kl56nan8pmfm1q Query : select no, estab,szadrsdesc from szadrs where u_coddest=4783
20230504@180640.1061 ppo8j8b9osc3kl56nan8pmfm1q 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'
20230504@180640.1072 ppo8j8b9osc3kl56nan8pmfm1q 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 = 5 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180640.1376 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1380 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180640.1394 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1397 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180640.1410 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1413 ppo8j8b9osc3kl56nan8pmfm1q Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180640.1424 ppo8j8b9osc3kl56nan8pmfm1q 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
20230504@180640.1440 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1443 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 ~inactivo valor from cl where no = '102011' and estab = 0 order by inactivo desc
20230504@180640.1454 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1457 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180640.1467 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1470 ppo8j8b9osc3kl56nan8pmfm1q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180640.1481 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1484 ppo8j8b9osc3kl56nan8pmfm1q Query : select szadrsstamp valor from szadrs where szadrsdesc='102011 - media markt alfragide, lda.'
20230504@180640.1496 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.1499 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from td where ndoc = 39
20230504@180640.1509 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180640.1520 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180640.1534 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180640.1556 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180640.1579 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180640.1583 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180640.1597 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180640.1608 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180640.1649 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180640.1664 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180640.1676 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180640.1686 ppo8j8b9osc3kl56nan8pmfm1q Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e002046453e62027' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180640.1851 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180640.1866 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180640.1871 ppo8j8b9osc3kl56nan8pmfm1q Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e002046453e62027',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.1876 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180640.1889 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180640.1902 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180640.1920 ppo8j8b9osc3kl56nan8pmfm1q 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 ('aut6453e002046453e62027',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',110,102011,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180640.2202 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.2206 ppo8j8b9osc3kl56nan8pmfm1q Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180640.2217 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180640.2229 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.2261 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180640.2271 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.2284 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180640.2289 ppo8j8b9osc3kl56nan8pmfm1q Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180640.2298 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180640.2308 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.2320 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180640.2330 ppo8j8b9osc3kl56nan8pmfm1q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e046886453e62038',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e002046453e62027' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180640.2583 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.2599 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180640.2604 ppo8j8b9osc3kl56nan8pmfm1q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e046886453e62038','aut6453e002046453e62027' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.2610 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.2624 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180640.2634 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.2647 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180640.2652 ppo8j8b9osc3kl56nan8pmfm1q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180640.2662 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.2675 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180640.2685 ppo8j8b9osc3kl56nan8pmfm1q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e511106453e62040',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e002046453e62027' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180640.2942 ppo8j8b9osc3kl56nan8pmfm1q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.2957 ppo8j8b9osc3kl56nan8pmfm1q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180640.2963 ppo8j8b9osc3kl56nan8pmfm1q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e511106453e62040','aut6453e002046453e62027' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.2968 ppo8j8b9osc3kl56nan8pmfm1q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e002046453e62027','','wait',39,'ari17112337378,753000005')
20230504@180640.2986 ppo8j8b9osc3kl56nan8pmfm1q Query : use flama_phc
20230504@180640.2989 ppo8j8b9osc3kl56nan8pmfm1q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180640.3004 ppo8j8b9osc3kl56nan8pmfm1q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='182';
20230504@180640.3016 ppo8j8b9osc3kl56nan8pmfm1q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='182';
20230504@180640.3064 ppo8j8b9osc3kl56nan8pmfm1q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='182';
20230504@180640.3971 ppo8j8b9osc3kl56nan8pmfm1q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='182';
20230504@180640.4311 jf7p5vnecqqr0kk984a99i56qa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180640.4325 jf7p5vnecqqr0kk984a99i56qa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180640.4338 jf7p5vnecqqr0kk984a99i56qa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='183';
20230504@180640.4394 jf7p5vnecqqr0kk984a99i56qa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='183';
20230504@180640.4409 jf7p5vnecqqr0kk984a99i56qa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='183';
20230504@180640.4419 jf7p5vnecqqr0kk984a99i56qa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='183';
20230504@180640.4430 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4433 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180640.4445 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4447 jf7p5vnecqqr0kk984a99i56qa Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20230504@180640.4479 jf7p5vnecqqr0kk984a99i56qa 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'
20230504@180640.4490 jf7p5vnecqqr0kk984a99i56qa 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 = 6 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180640.4496 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4499 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180640.4511 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4514 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180640.4524 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4527 jf7p5vnecqqr0kk984a99i56qa Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180640.4537 jf7p5vnecqqr0kk984a99i56qa 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
20230504@180640.4550 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4553 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20230504@180640.4563 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4565 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180640.4575 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4578 jf7p5vnecqqr0kk984a99i56qa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180640.4589 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4591 jf7p5vnecqqr0kk984a99i56qa Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20230504@180640.4604 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.4606 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from td where ndoc = 39
20230504@180640.4615 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180640.4627 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180640.4642 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180640.4659 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180640.4673 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180640.4676 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180640.4690 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180640.4700 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180640.4739 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180640.4749 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180640.4761 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180640.4771 jf7p5vnecqqr0kk984a99i56qa Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e556286453e62072' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180640.4953 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180640.4970 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180640.4974 jf7p5vnecqqr0kk984a99i56qa Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e556286453e62072',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.4979 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180640.4992 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180640.5005 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180640.5022 jf7p5vnecqqr0kk984a99i56qa 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 ('aut6453e556286453e62072',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',111,102040,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180640.5432 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.5437 jf7p5vnecqqr0kk984a99i56qa Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180640.5448 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180640.5460 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.5475 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180640.5487 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.5501 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180640.5506 jf7p5vnecqqr0kk984a99i56qa Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180640.5517 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180640.5528 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.5540 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180640.5550 jf7p5vnecqqr0kk984a99i56qa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e375246453e62086',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6453e556286453e62072' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180640.5807 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.5822 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180640.5826 jf7p5vnecqqr0kk984a99i56qa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e375246453e62086','aut6453e556286453e62072' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.5831 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.5845 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180640.5856 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.5868 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180640.5873 jf7p5vnecqqr0kk984a99i56qa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180640.5883 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.5895 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180640.5910 jf7p5vnecqqr0kk984a99i56qa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e270516453e6208f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e556286453e62072' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180640.6163 jf7p5vnecqqr0kk984a99i56qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.6177 jf7p5vnecqqr0kk984a99i56qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180640.6182 jf7p5vnecqqr0kk984a99i56qa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e270516453e6208f','aut6453e556286453e62072' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.6187 jf7p5vnecqqr0kk984a99i56qa Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e556286453e62072','','wait',39,'ari17112337378,753000005')
20230504@180640.6208 jf7p5vnecqqr0kk984a99i56qa Query : use flama_phc
20230504@180640.6211 jf7p5vnecqqr0kk984a99i56qa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180640.6223 jf7p5vnecqqr0kk984a99i56qa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='183';
20230504@180640.6235 jf7p5vnecqqr0kk984a99i56qa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='183';
20230504@180640.6247 jf7p5vnecqqr0kk984a99i56qa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='183';
20230504@180640.6259 jf7p5vnecqqr0kk984a99i56qa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='183';
20230504@180640.6600 ustt18k2djf1il1fonuuiglu7m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180640.6621 ustt18k2djf1il1fonuuiglu7m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180640.6635 ustt18k2djf1il1fonuuiglu7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='184';
20230504@180640.6789 ustt18k2djf1il1fonuuiglu7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='184';
20230504@180640.6804 ustt18k2djf1il1fonuuiglu7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='184';
20230504@180640.6816 ustt18k2djf1il1fonuuiglu7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='184';
20230504@180640.6830 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.6833 ustt18k2djf1il1fonuuiglu7m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180640.6848 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.6851 ustt18k2djf1il1fonuuiglu7m Query : select no, estab,szadrsdesc from szadrs where u_coddest=4788
20230504@180640.6885 ustt18k2djf1il1fonuuiglu7m 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'
20230504@180640.6896 ustt18k2djf1il1fonuuiglu7m 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 = 7 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180640.7225 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.7229 ustt18k2djf1il1fonuuiglu7m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180640.7242 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.7245 ustt18k2djf1il1fonuuiglu7m Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180640.7255 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.7258 ustt18k2djf1il1fonuuiglu7m Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180640.7269 ustt18k2djf1il1fonuuiglu7m 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
20230504@180640.7283 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.7286 ustt18k2djf1il1fonuuiglu7m Query : select top 1 ~inactivo valor from cl where no = '102044' and estab = 0 order by inactivo desc
20230504@180640.7296 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.7299 ustt18k2djf1il1fonuuiglu7m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180640.8227 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.8234 ustt18k2djf1il1fonuuiglu7m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180640.8248 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.8251 ustt18k2djf1il1fonuuiglu7m Query : select szadrsstamp valor from szadrs where szadrsdesc='102044 - media markt leiria-prod.inf.e electrÓnicos,lda'
20230504@180640.8263 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.8266 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from td where ndoc = 39
20230504@180640.8276 ustt18k2djf1il1fonuuiglu7m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180640.8288 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180640.8304 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180640.8323 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180640.8337 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180640.8342 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180640.8355 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180640.8366 ustt18k2djf1il1fonuuiglu7m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180640.8408 ustt18k2djf1il1fonuuiglu7m Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180640.8419 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180640.8432 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180640.8442 ustt18k2djf1il1fonuuiglu7m Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e102826453e620cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180640.8620 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180640.8635 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180640.8639 ustt18k2djf1il1fonuuiglu7m Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e102826453e620cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.8644 ustt18k2djf1il1fonuuiglu7m Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180640.8656 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180640.8668 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180640.8685 ustt18k2djf1il1fonuuiglu7m 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 ('aut6453e102826453e620cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',112,102044,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180640.9019 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.9023 ustt18k2djf1il1fonuuiglu7m Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180640.9034 ustt18k2djf1il1fonuuiglu7m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180640.9044 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.9058 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180640.9067 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.9080 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180640.9084 ustt18k2djf1il1fonuuiglu7m Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180640.9094 ustt18k2djf1il1fonuuiglu7m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180640.9104 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.9115 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180640.9125 ustt18k2djf1il1fonuuiglu7m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e031736453e620de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e102826453e620cc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180640.9381 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.9395 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180640.9400 ustt18k2djf1il1fonuuiglu7m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e031736453e620de','aut6453e102826453e620cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.9405 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.9418 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180640.9428 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.9440 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180640.9444 ustt18k2djf1il1fonuuiglu7m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180640.9453 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180640.9465 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180640.9478 ustt18k2djf1il1fonuuiglu7m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e869076453e620e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e102826453e620cc' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180640.9725 ustt18k2djf1il1fonuuiglu7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180640.9741 ustt18k2djf1il1fonuuiglu7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180640.9745 ustt18k2djf1il1fonuuiglu7m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e869076453e620e6','aut6453e102826453e620cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180640.9750 ustt18k2djf1il1fonuuiglu7m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e102826453e620cc','','wait',39,'ari17112337378,753000005')
20230504@180640.9769 ustt18k2djf1il1fonuuiglu7m Query : use flama_phc
20230504@180640.9772 ustt18k2djf1il1fonuuiglu7m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180640.9794 ustt18k2djf1il1fonuuiglu7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='184';
20230504@180640.9807 ustt18k2djf1il1fonuuiglu7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='184';
20230504@180640.9819 ustt18k2djf1il1fonuuiglu7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='184';
20230504@180640.9829 ustt18k2djf1il1fonuuiglu7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='184';
20230504@180641.1440 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180641.1600 7qu6q3rvrdu6rt7ce18mt5kded Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180641.1740 7qu6q3rvrdu6rt7ce18mt5kded Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='185';
20230504@180641.2130 7qu6q3rvrdu6rt7ce18mt5kded Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='185';
20230504@180641.2260 7qu6q3rvrdu6rt7ce18mt5kded Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='185';
20230504@180641.2380 7qu6q3rvrdu6rt7ce18mt5kded Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='185';
20230504@180641.2510 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.2540 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180641.2670 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.2700 7qu6q3rvrdu6rt7ce18mt5kded Query : select no, estab,szadrsdesc from szadrs where u_coddest=4784
20230504@180641.3800 7qu6q3rvrdu6rt7ce18mt5kded 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'
20230504@180641.3910 7qu6q3rvrdu6rt7ce18mt5kded 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 = 8 and bi.ref ='324.5347.00.1' and bi.lordem =20000
20230504@180641.3980 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20230504@180641.4080 7qu6q3rvrdu6rt7ce18mt5kded 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 = 8 and bi.ref ='324.4990.00.1' and bi.lordem =30000
20230504@180641.8350 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.8390 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180641.8530 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.8560 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180641.8680 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.8710 7qu6q3rvrdu6rt7ce18mt5kded Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180641.8840 7qu6q3rvrdu6rt7ce18mt5kded 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
20230504@180641.9090 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.9120 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 ~inactivo valor from cl where no = '102410' and estab = 0 order by inactivo desc
20230504@180641.9220 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.9250 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180641.9360 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.9380 7qu6q3rvrdu6rt7ce18mt5kded Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180641.9490 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.9510 7qu6q3rvrdu6rt7ce18mt5kded Query : select szadrsstamp valor from szadrs where szadrsdesc='102410 - media markt matosinhos - prod inform e el'
20230504@180641.9620 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.9650 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from td where ndoc = 39
20230504@180641.9750 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180641.9870 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180641.1002 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180641.1019 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180641.1033 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180641.1038 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180641.1052 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180641.1062 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180641.1104 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180641.1114 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180641.1129 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180641.1139 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e077806453e62119' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180641.1330 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180641.1345 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180641.1350 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e077806453e62119',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.1355 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180641.1366 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180641.1382 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180641.1400 7qu6q3rvrdu6rt7ce18mt5kded 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 ('aut6453e077806453e62119',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',113,102410,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180641.1717 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.1722 7qu6q3rvrdu6rt7ce18mt5kded Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20230504@180641.1733 7qu6q3rvrdu6rt7ce18mt5kded 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.5347.00.1'
20230504@180641.1746 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.1761 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.1782 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.1795 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.1800 7qu6q3rvrdu6rt7ce18mt5kded Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2200658100a'
20230504@180641.1811 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.1821 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.1833 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.1842 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e208926453e6212c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6453e077806453e62119' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180641.2108 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.2125 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.2131 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e208926453e6212c','aut6453e077806453e62119' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.2137 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.2151 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.2161 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.2174 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.2178 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.2189 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.2213 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.2223 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e222206453e62135',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e077806453e62119' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180641.2484 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.2501 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.2507 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e222206453e62135','aut6453e077806453e62119' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.2512 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.2516 7qu6q3rvrdu6rt7ce18mt5kded Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20230504@180641.2547 7qu6q3rvrdu6rt7ce18mt5kded 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.4990.00.1'
20230504@180641.2560 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.2575 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.2586 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.2601 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.2605 7qu6q3rvrdu6rt7ce18mt5kded Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20230504@180641.2615 7qu6q3rvrdu6rt7ce18mt5kded Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.2626 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.2640 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.2650 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e678256453e62140',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e077806453e62119' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180641.2976 7qu6q3rvrdu6rt7ce18mt5kded Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.2990 7qu6q3rvrdu6rt7ce18mt5kded Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.2995 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e678256453e62140','aut6453e077806453e62119' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.2999 7qu6q3rvrdu6rt7ce18mt5kded Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e077806453e62119','','wait',39,'ari17112337378,753000005')
20230504@180641.3015 7qu6q3rvrdu6rt7ce18mt5kded Query : use flama_phc
20230504@180641.3018 7qu6q3rvrdu6rt7ce18mt5kded Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180641.3035 7qu6q3rvrdu6rt7ce18mt5kded Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='185';
20230504@180641.3048 7qu6q3rvrdu6rt7ce18mt5kded Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='185';
20230504@180641.3062 7qu6q3rvrdu6rt7ce18mt5kded Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='185';
20230504@180641.3073 7qu6q3rvrdu6rt7ce18mt5kded Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='185';
20230504@180641.3392 is4mioi927gr1akshem8q7u9k3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180641.3404 is4mioi927gr1akshem8q7u9k3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180641.3418 is4mioi927gr1akshem8q7u9k3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='186';
20230504@180641.3458 is4mioi927gr1akshem8q7u9k3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='186';
20230504@180641.3470 is4mioi927gr1akshem8q7u9k3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='186';
20230504@180641.3481 is4mioi927gr1akshem8q7u9k3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='186';
20230504@180641.3492 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.3495 is4mioi927gr1akshem8q7u9k3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180641.3508 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.3511 is4mioi927gr1akshem8q7u9k3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3883
20230504@180641.3543 is4mioi927gr1akshem8q7u9k3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230504@180641.3677 is4mioi927gr1akshem8q7u9k3 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 = 9 and bi.ref ='324.1684.00.1' and bi.lordem =20000
20230504@180641.3996 is4mioi927gr1akshem8q7u9k3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230504@180641.4009 is4mioi927gr1akshem8q7u9k3 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 = 9 and bi.ref ='324.1684.00.1' and bi.lordem =20000
20230504@180641.4015 is4mioi927gr1akshem8q7u9k3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230504@180641.4026 is4mioi927gr1akshem8q7u9k3 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 = 9 and bi.ref ='324.1684.00.1' and bi.lordem =20000
20230504@180641.4032 is4mioi927gr1akshem8q7u9k3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230504@180641.4044 is4mioi927gr1akshem8q7u9k3 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 = 9 and bi.ref ='324.1684.00.1' and bi.lordem =20000
20230504@180641.4050 is4mioi927gr1akshem8q7u9k3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230504@180641.4064 is4mioi927gr1akshem8q7u9k3 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 = 9 and bi.ref ='324.1684.00.1' and bi.lordem =20000
20230504@180641.4070 is4mioi927gr1akshem8q7u9k3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230504@180641.4081 is4mioi927gr1akshem8q7u9k3 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 = 9 and bi.ref ='324.1684.00.1' and bi.lordem =20000
20230504@180641.4086 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.4090 is4mioi927gr1akshem8q7u9k3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180641.4104 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.4107 is4mioi927gr1akshem8q7u9k3 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180641.4117 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.4120 is4mioi927gr1akshem8q7u9k3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180641.4131 is4mioi927gr1akshem8q7u9k3 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
20230504@180641.4146 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.4149 is4mioi927gr1akshem8q7u9k3 Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230504@180641.4161 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.4165 is4mioi927gr1akshem8q7u9k3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180641.4176 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.4179 is4mioi927gr1akshem8q7u9k3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180641.4191 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.4194 is4mioi927gr1akshem8q7u9k3 Query : select szadrsstamp valor from szadrs where szadrsdesc='pll- plataformalogistica lisboa norte'
20230504@180641.4207 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.4210 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from td where ndoc = 39
20230504@180641.4221 is4mioi927gr1akshem8q7u9k3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180641.4234 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180641.4248 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180641.4267 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180641.4281 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180641.4285 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180641.4299 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180641.4309 is4mioi927gr1akshem8q7u9k3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180641.4351 is4mioi927gr1akshem8q7u9k3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180641.4363 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180641.4376 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180641.4386 is4mioi927gr1akshem8q7u9k3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e788586453e62169' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180641.4635 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180641.4806 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180641.4838 is4mioi927gr1akshem8q7u9k3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e788586453e62169',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.4845 is4mioi927gr1akshem8q7u9k3 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180641.4857 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180641.4982 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180641.5138 is4mioi927gr1akshem8q7u9k3 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 ('aut6453e788586453e62169',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',114,101597,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180641.5439 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.5445 is4mioi927gr1akshem8q7u9k3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230504@180641.5477 is4mioi927gr1akshem8q7u9k3 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.1684.00.1'
20230504@180641.5738 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.5753 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.5762 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.5775 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.5779 is4mioi927gr1akshem8q7u9k3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = '100682100a'
20230504@180641.5799 is4mioi927gr1akshem8q7u9k3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.5809 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.5821 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.5830 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e912846453e6218d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6453e788586453e62169' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180641.6275 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.6911 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.6916 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e912846453e6218d','aut6453e788586453e62169' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.6921 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.6924 is4mioi927gr1akshem8q7u9k3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230504@180641.6935 is4mioi927gr1akshem8q7u9k3 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.1684.00.1'
20230504@180641.6946 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.6962 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.6972 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.6986 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.6990 is4mioi927gr1akshem8q7u9k3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230504@180641.7008 is4mioi927gr1akshem8q7u9k3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.7017 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.7030 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.7041 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e818286453e621ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6453e788586453e62169' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230504@180641.7312 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.7327 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.7331 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e818286453e621ab','aut6453e788586453e62169' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.7336 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.7340 is4mioi927gr1akshem8q7u9k3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230504@180641.7351 is4mioi927gr1akshem8q7u9k3 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.1684.00.1'
20230504@180641.7362 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.7378 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.7389 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.7400 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.7405 is4mioi927gr1akshem8q7u9k3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230504@180641.7414 is4mioi927gr1akshem8q7u9k3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.7423 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.7435 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.7444 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e331556453e621b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6453e788586453e62169' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230504@180641.7708 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.7723 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.7727 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e331556453e621b5','aut6453e788586453e62169' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.7731 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.7734 is4mioi927gr1akshem8q7u9k3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230504@180641.7744 is4mioi927gr1akshem8q7u9k3 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.1684.00.1'
20230504@180641.7757 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.7771 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.7781 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.7795 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.7799 is4mioi927gr1akshem8q7u9k3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230504@180641.7809 is4mioi927gr1akshem8q7u9k3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.7820 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.7833 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.7844 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e241276453e621be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6453e788586453e62169' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180641.8108 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.8132 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.8136 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e241276453e621be','aut6453e788586453e62169' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.8140 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.8143 is4mioi927gr1akshem8q7u9k3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230504@180641.8155 is4mioi927gr1akshem8q7u9k3 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.1684.00.1'
20230504@180641.8167 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.8180 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.8189 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.8202 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.8206 is4mioi927gr1akshem8q7u9k3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230504@180641.8216 is4mioi927gr1akshem8q7u9k3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.8226 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.8238 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.8247 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e223536453e621c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6453e788586453e62169' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230504@180641.8757 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.8895 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.8901 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e223536453e621c8','aut6453e788586453e62169' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.8906 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.8909 is4mioi927gr1akshem8q7u9k3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230504@180641.8920 is4mioi927gr1akshem8q7u9k3 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.1684.00.1'
20230504@180641.8931 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.8945 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180641.8957 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.8972 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180641.8976 is4mioi927gr1akshem8q7u9k3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230504@180641.8987 is4mioi927gr1akshem8q7u9k3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180641.8997 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180641.9009 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180641.9019 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e206376453e621db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6453e788586453e62169' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230504@180641.9325 is4mioi927gr1akshem8q7u9k3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180641.9372 is4mioi927gr1akshem8q7u9k3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180641.9377 is4mioi927gr1akshem8q7u9k3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e206376453e621db','aut6453e788586453e62169' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180641.9381 is4mioi927gr1akshem8q7u9k3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e788586453e62169','','wait',39,'ari17112337378,753000005')
20230504@180641.9398 is4mioi927gr1akshem8q7u9k3 Query : use flama_phc
20230504@180641.9401 is4mioi927gr1akshem8q7u9k3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180641.9413 is4mioi927gr1akshem8q7u9k3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='186';
20230504@180641.9425 is4mioi927gr1akshem8q7u9k3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='186';
20230504@180641.9438 is4mioi927gr1akshem8q7u9k3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='186';
20230504@180641.9449 is4mioi927gr1akshem8q7u9k3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='186';
20230504@180641.9752 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180641.9765 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180641.9778 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='187';
20230504@180641.9818 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='187';
20230504@180641.9833 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='187';
20230504@180641.9844 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='187';
20230504@180641.9854 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180641.9857 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180641.9873 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180641.9876 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4920
20230504@180641.9919 gjo6lc5jrjt2k6cg9ns9p0jtc8 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'
20230504@180641.9929 gjo6lc5jrjt2k6cg9ns9p0jtc8 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 = 0 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180642.2440 gjo6lc5jrjt2k6cg9ns9p0jtc8 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'
20230504@180642.2560 gjo6lc5jrjt2k6cg9ns9p0jtc8 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 = 0 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180642.2620 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.2650 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180642.2770 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.2800 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180642.2900 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.2930 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180642.3030 gjo6lc5jrjt2k6cg9ns9p0jtc8 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
20230504@180642.3180 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.3310 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 ~inactivo valor from cl where no = '101711' and estab = 0 order by inactivo desc
20230504@180642.3410 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.3430 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180642.3530 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.3570 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180642.3670 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.3700 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select szadrsstamp valor from szadrs where szadrsdesc='101711 - media markt benfica -prod.inf.elect., lda'
20230504@180642.3810 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.3830 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from td where ndoc = 39
20230504@180642.3930 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180642.4030 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180642.4160 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180642.4340 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180642.4460 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180642.4510 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180642.4630 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180642.4730 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180642.5150 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180642.5240 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180642.5360 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180642.5460 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e698616453e6220b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180642.7120 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180642.7260 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180642.7300 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e698616453e6220b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.7350 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180642.7450 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180642.7580 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180642.7750 gjo6lc5jrjt2k6cg9ns9p0jtc8 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 ('aut6453e698616453e6220b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',115,101711,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180642.1123 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.1166 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180642.1223 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180642.1235 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.1249 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.1272 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.1286 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.1290 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180642.1300 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.1310 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.1321 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.1330 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e597956453e6221f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6453e698616453e6220b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180642.1592 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.1607 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.1611 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e597956453e6221f','aut6453e698616453e6220b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.1616 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.1630 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.1640 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.1653 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.1658 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.1668 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.1680 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.1690 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e816716453e62228',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e698616453e6220b' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180642.1978 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.1995 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.2000 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e816716453e62228','aut6453e698616453e6220b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.2004 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.2008 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180642.2018 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180642.2029 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.2043 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.2053 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.2066 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.2070 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200670200a'
20230504@180642.2081 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.2090 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.2103 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.2112 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e355966453e62233',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6453e698616453e6220b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180642.2384 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.2399 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.2403 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e355966453e62233','aut6453e698616453e6220b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.2408 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.2421 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.2431 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.2442 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.2446 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.2456 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.2468 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.2477 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e181896453e6223b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e698616453e6220b' ,0,0 ,2,23.00,50000,?,?,?)
20230504@180642.2739 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.2754 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.2758 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e181896453e6223b','aut6453e698616453e6220b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.2763 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e698616453e6220b','','wait',39,'ari17112337378,753000005')
20230504@180642.2781 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : use flama_phc
20230504@180642.2783 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180642.2798 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='187';
20230504@180642.2812 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='187';
20230504@180642.2823 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='187';
20230504@180642.2833 gjo6lc5jrjt2k6cg9ns9p0jtc8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='187';
20230504@180642.3149 vnmfmc67dtumcph9fid0o72r6g Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180642.3163 vnmfmc67dtumcph9fid0o72r6g Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180642.3176 vnmfmc67dtumcph9fid0o72r6g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='188';
20230504@180642.3216 vnmfmc67dtumcph9fid0o72r6g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='188';
20230504@180642.3234 vnmfmc67dtumcph9fid0o72r6g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='188';
20230504@180642.3244 vnmfmc67dtumcph9fid0o72r6g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='188';
20230504@180642.3257 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3260 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180642.3273 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3276 vnmfmc67dtumcph9fid0o72r6g Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20230504@180642.3309 vnmfmc67dtumcph9fid0o72r6g 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'
20230504@180642.3319 vnmfmc67dtumcph9fid0o72r6g 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 = 1 and bi.ref ='324.1879.00.1' and bi.lordem =20000
20230504@180642.3326 vnmfmc67dtumcph9fid0o72r6g 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'
20230504@180642.3335 vnmfmc67dtumcph9fid0o72r6g 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 = 1 and bi.ref ='324.1879.00.1' and bi.lordem =20000
20230504@180642.3340 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3343 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180642.3355 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3357 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180642.3368 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3370 vnmfmc67dtumcph9fid0o72r6g Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180642.3380 vnmfmc67dtumcph9fid0o72r6g 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
20230504@180642.3393 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3396 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20230504@180642.3406 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3409 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180642.3419 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3422 vnmfmc67dtumcph9fid0o72r6g Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180642.3433 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3435 vnmfmc67dtumcph9fid0o72r6g Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20230504@180642.3446 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.3449 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from td where ndoc = 39
20230504@180642.3459 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180642.3470 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180642.3484 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180642.3499 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180642.3512 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180642.3516 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180642.3528 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180642.3538 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180642.3578 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180642.3587 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180642.3601 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180642.3612 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e431056453e62256' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180642.3789 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180642.3804 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180642.3808 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e431056453e62256',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.3812 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180642.3823 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180642.3835 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180642.3852 vnmfmc67dtumcph9fid0o72r6g 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 ('aut6453e431056453e62256',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',116,101846,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180642.4137 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.4142 vnmfmc67dtumcph9fid0o72r6g Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230504@180642.4153 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230504@180642.4164 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.4177 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.4187 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.4199 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.4204 vnmfmc67dtumcph9fid0o72r6g Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230504@180642.4214 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.4224 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.4236 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.4247 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e255296453e62267',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6453e431056453e62256' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180642.4522 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.4537 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.4541 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e255296453e62267','aut6453e431056453e62256' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.4546 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.4631 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.4641 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.4653 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.4657 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.4666 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.4678 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.4688 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e885866453e62271',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e431056453e62256' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180642.4980 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.4996 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.5000 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e885866453e62271','aut6453e431056453e62256' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.5005 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.5008 vnmfmc67dtumcph9fid0o72r6g Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230504@180642.5018 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230504@180642.5028 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.5041 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.5050 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.5062 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.5066 vnmfmc67dtumcph9fid0o72r6g Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230504@180642.5075 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.5085 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.5097 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.5107 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e671986453e6227c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e431056453e62256' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180642.5366 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.5380 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.5384 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e671986453e6227c','aut6453e431056453e62256' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.5389 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.5402 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.5413 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.5424 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.5428 vnmfmc67dtumcph9fid0o72r6g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.5438 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.5450 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.5460 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e519456453e62284',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e431056453e62256' ,0,0 ,2,23.00,50000,?,?,?)
20230504@180642.5722 vnmfmc67dtumcph9fid0o72r6g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.5750 vnmfmc67dtumcph9fid0o72r6g Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.5754 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e519456453e62284','aut6453e431056453e62256' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.5760 vnmfmc67dtumcph9fid0o72r6g Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e431056453e62256','','wait',39,'ari17112337378,753000005')
20230504@180642.5780 vnmfmc67dtumcph9fid0o72r6g Query : use flama_phc
20230504@180642.5783 vnmfmc67dtumcph9fid0o72r6g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180642.5805 vnmfmc67dtumcph9fid0o72r6g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='188';
20230504@180642.5817 vnmfmc67dtumcph9fid0o72r6g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='188';
20230504@180642.5829 vnmfmc67dtumcph9fid0o72r6g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='188';
20230504@180642.5839 vnmfmc67dtumcph9fid0o72r6g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='188';
20230504@180642.6125 pbmtfe4525gn8e5tcnagmpdqqg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180642.6141 pbmtfe4525gn8e5tcnagmpdqqg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180642.6154 pbmtfe4525gn8e5tcnagmpdqqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='189';
20230504@180642.6193 pbmtfe4525gn8e5tcnagmpdqqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='189';
20230504@180642.6206 pbmtfe4525gn8e5tcnagmpdqqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='189';
20230504@180642.6216 pbmtfe4525gn8e5tcnagmpdqqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='189';
20230504@180642.6229 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.6234 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180642.6246 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.6249 pbmtfe4525gn8e5tcnagmpdqqg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20230504@180642.6282 pbmtfe4525gn8e5tcnagmpdqqg 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'
20230504@180642.6292 pbmtfe4525gn8e5tcnagmpdqqg 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 = 2 and bi.ref ='324.1879.00.1' and bi.lordem =20000
20230504@180642.6618 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.6623 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180642.6635 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.6638 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180642.6648 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.6651 pbmtfe4525gn8e5tcnagmpdqqg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180642.6661 pbmtfe4525gn8e5tcnagmpdqqg 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
20230504@180642.6676 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.6842 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20230504@180642.7654 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.7658 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180642.7669 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.7672 pbmtfe4525gn8e5tcnagmpdqqg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180642.7683 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.7685 pbmtfe4525gn8e5tcnagmpdqqg Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20230504@180642.7696 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.7699 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from td where ndoc = 39
20230504@180642.7709 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180642.7721 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180642.7735 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180642.7752 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180642.7765 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180642.7769 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180642.7782 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180642.7793 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180642.7837 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180642.7846 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180642.7858 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180642.7867 pbmtfe4525gn8e5tcnagmpdqqg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e726746453e622be' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180642.8054 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180642.8068 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180642.8073 pbmtfe4525gn8e5tcnagmpdqqg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e726746453e622be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.8078 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180642.8089 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180642.8102 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180642.8120 pbmtfe4525gn8e5tcnagmpdqqg 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 ('aut6453e726746453e622be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',117,101987,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180642.8433 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.8437 pbmtfe4525gn8e5tcnagmpdqqg Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230504@180642.8450 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230504@180642.8463 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.8476 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.8486 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.8500 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.8504 pbmtfe4525gn8e5tcnagmpdqqg Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230504@180642.8514 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.8524 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.8536 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.8557 pbmtfe4525gn8e5tcnagmpdqqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e662066453e622d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6453e726746453e622be' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180642.8837 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.8856 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.8862 pbmtfe4525gn8e5tcnagmpdqqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e662066453e622d0','aut6453e726746453e622be' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.8870 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.8885 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180642.8894 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.8907 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180642.8912 pbmtfe4525gn8e5tcnagmpdqqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180642.8922 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180642.8934 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180642.8944 pbmtfe4525gn8e5tcnagmpdqqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e259756453e622d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e726746453e622be' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180642.9222 pbmtfe4525gn8e5tcnagmpdqqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180642.9240 pbmtfe4525gn8e5tcnagmpdqqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180642.9245 pbmtfe4525gn8e5tcnagmpdqqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e259756453e622d9','aut6453e726746453e622be' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180642.9251 pbmtfe4525gn8e5tcnagmpdqqg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e726746453e622be','','wait',39,'ari17112337378,753000005')
20230504@180642.9269 pbmtfe4525gn8e5tcnagmpdqqg Query : use flama_phc
20230504@180642.9273 pbmtfe4525gn8e5tcnagmpdqqg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180642.9286 pbmtfe4525gn8e5tcnagmpdqqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='189';
20230504@180642.9298 pbmtfe4525gn8e5tcnagmpdqqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='189';
20230504@180642.9309 pbmtfe4525gn8e5tcnagmpdqqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='189';
20230504@180642.9320 pbmtfe4525gn8e5tcnagmpdqqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='189';
20230504@180642.9623 f1chna1j8jpkoe890ids0q62g7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180642.9635 f1chna1j8jpkoe890ids0q62g7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180642.9648 f1chna1j8jpkoe890ids0q62g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='190';
20230504@180642.9685 f1chna1j8jpkoe890ids0q62g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='190';
20230504@180642.9709 f1chna1j8jpkoe890ids0q62g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='190';
20230504@180642.9719 f1chna1j8jpkoe890ids0q62g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='190';
20230504@180642.9732 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180642.9735 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180642.9746 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180642.9750 f1chna1j8jpkoe890ids0q62g7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20230504@180642.9784 f1chna1j8jpkoe890ids0q62g7 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'
20230504@180642.9794 f1chna1j8jpkoe890ids0q62g7 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 = 3 and bi.ref ='324.1879.00.1' and bi.lordem =20000
20230504@180643.1170 f1chna1j8jpkoe890ids0q62g7 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'
20230504@180643.1290 f1chna1j8jpkoe890ids0q62g7 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 = 3 and bi.ref ='324.1879.00.1' and bi.lordem =20000
20230504@180643.1370 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.1410 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180643.1540 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.1570 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180643.1690 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.1720 f1chna1j8jpkoe890ids0q62g7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180643.1830 f1chna1j8jpkoe890ids0q62g7 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
20230504@180643.1990 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.2020 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20230504@180643.2130 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.2160 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180643.2260 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.2290 f1chna1j8jpkoe890ids0q62g7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180643.2390 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.2430 f1chna1j8jpkoe890ids0q62g7 Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20230504@180643.2550 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.2580 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from td where ndoc = 39
20230504@180643.2790 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180643.2910 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180643.3050 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180643.3220 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180643.3360 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180643.3400 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180643.3530 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180643.3630 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180643.4030 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180643.4120 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180643.4240 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180643.4340 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e545266453e62308' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180643.6160 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180643.6320 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180643.6370 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e545266453e62308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.6410 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180643.6530 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180643.6690 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180643.6870 f1chna1j8jpkoe890ids0q62g7 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 ('aut6453e545266453e62308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',118,102040,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180643.9730 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.9860 f1chna1j8jpkoe890ids0q62g7 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230504@180643.9970 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230504@180643.1009 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.1022 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180643.1032 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.1045 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180643.1049 f1chna1j8jpkoe890ids0q62g7 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230504@180643.1059 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180643.1068 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.1079 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180643.1088 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e342706453e6231a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6453e545266453e62308' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180643.1401 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.1415 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180643.1420 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e342706453e6231a','aut6453e545266453e62308' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.1425 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.1438 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180643.1448 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.1460 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180643.1464 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180643.1474 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.1487 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180643.1496 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e421036453e62323',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e545266453e62308' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180643.1761 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.1777 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180643.1782 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e421036453e62323','aut6453e545266453e62308' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.1787 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.1791 f1chna1j8jpkoe890ids0q62g7 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230504@180643.1802 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230504@180643.1815 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.1828 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180643.1839 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.1851 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180643.1856 f1chna1j8jpkoe890ids0q62g7 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230504@180643.1866 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180643.1879 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.1892 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180643.1902 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e560896453e6232d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6453e545266453e62308' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180643.2185 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.2209 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180643.2214 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e560896453e6232d','aut6453e545266453e62308' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.2219 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.2234 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180643.2244 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.2257 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180643.2262 f1chna1j8jpkoe890ids0q62g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180643.2273 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.2287 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180643.2297 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e324896453e62337',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e545266453e62308' ,0,0 ,2,23.00,50000,?,?,?)
20230504@180643.2579 f1chna1j8jpkoe890ids0q62g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.2601 f1chna1j8jpkoe890ids0q62g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180643.2606 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e324896453e62337','aut6453e545266453e62308' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.2612 f1chna1j8jpkoe890ids0q62g7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e545266453e62308','','wait',39,'ari17112337378,753000005')
20230504@180643.2631 f1chna1j8jpkoe890ids0q62g7 Query : use flama_phc
20230504@180643.2634 f1chna1j8jpkoe890ids0q62g7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180643.2665 f1chna1j8jpkoe890ids0q62g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='190';
20230504@180643.2678 f1chna1j8jpkoe890ids0q62g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='190';
20230504@180643.2695 f1chna1j8jpkoe890ids0q62g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='190';
20230504@180643.2706 f1chna1j8jpkoe890ids0q62g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='190';
20230504@180643.3018 fp5pdqc050e48d17v07e25vft8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180643.3039 fp5pdqc050e48d17v07e25vft8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180643.3053 fp5pdqc050e48d17v07e25vft8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='191';
20230504@180643.3091 fp5pdqc050e48d17v07e25vft8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='191';
20230504@180643.3111 fp5pdqc050e48d17v07e25vft8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='191';
20230504@180643.3124 fp5pdqc050e48d17v07e25vft8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='191';
20230504@180643.3140 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3143 fp5pdqc050e48d17v07e25vft8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180643.3155 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3158 fp5pdqc050e48d17v07e25vft8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4788
20230504@180643.3191 fp5pdqc050e48d17v07e25vft8 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'
20230504@180643.3201 fp5pdqc050e48d17v07e25vft8 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 = 4 and bi.ref ='324.1879.00.1' and bi.lordem =20000
20230504@180643.3519 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3523 fp5pdqc050e48d17v07e25vft8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180643.3536 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3538 fp5pdqc050e48d17v07e25vft8 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180643.3549 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3552 fp5pdqc050e48d17v07e25vft8 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180643.3562 fp5pdqc050e48d17v07e25vft8 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
20230504@180643.3576 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3579 fp5pdqc050e48d17v07e25vft8 Query : select top 1 ~inactivo valor from cl where no = '102044' and estab = 0 order by inactivo desc
20230504@180643.3590 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3593 fp5pdqc050e48d17v07e25vft8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180643.3603 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3605 fp5pdqc050e48d17v07e25vft8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180643.3616 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3621 fp5pdqc050e48d17v07e25vft8 Query : select szadrsstamp valor from szadrs where szadrsdesc='102044 - media markt leiria-prod.inf.e electrÓnicos,lda'
20230504@180643.3632 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.3635 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from td where ndoc = 39
20230504@180643.3644 fp5pdqc050e48d17v07e25vft8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180643.3656 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180643.3669 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180643.3686 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180643.3698 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180643.3702 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180643.3715 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180643.3724 fp5pdqc050e48d17v07e25vft8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180643.3766 fp5pdqc050e48d17v07e25vft8 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180643.3775 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180643.3786 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180643.3796 fp5pdqc050e48d17v07e25vft8 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e710286453e6235a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180643.3970 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180643.3983 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180643.3987 fp5pdqc050e48d17v07e25vft8 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e710286453e6235a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.3992 fp5pdqc050e48d17v07e25vft8 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180643.4003 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180643.4016 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180643.4033 fp5pdqc050e48d17v07e25vft8 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 ('aut6453e710286453e6235a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',119,102044,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180643.4327 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.4331 fp5pdqc050e48d17v07e25vft8 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230504@180643.4342 fp5pdqc050e48d17v07e25vft8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230504@180643.4353 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.4365 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180643.4375 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.4387 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180643.4392 fp5pdqc050e48d17v07e25vft8 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230504@180643.4402 fp5pdqc050e48d17v07e25vft8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180643.4412 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.4424 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180643.4434 fp5pdqc050e48d17v07e25vft8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e409636453e6236b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6453e710286453e6235a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180643.4698 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.4722 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180643.4726 fp5pdqc050e48d17v07e25vft8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e409636453e6236b','aut6453e710286453e6235a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.4731 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.4745 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180643.4756 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.4769 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180643.4773 fp5pdqc050e48d17v07e25vft8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180643.4783 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.4796 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180643.4805 fp5pdqc050e48d17v07e25vft8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e560856453e62374',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e710286453e6235a' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180643.5074 fp5pdqc050e48d17v07e25vft8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.5089 fp5pdqc050e48d17v07e25vft8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180643.5093 fp5pdqc050e48d17v07e25vft8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e560856453e62374','aut6453e710286453e6235a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.5098 fp5pdqc050e48d17v07e25vft8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e710286453e6235a','','wait',39,'ari17112337378,753000005')
20230504@180643.5115 fp5pdqc050e48d17v07e25vft8 Query : use flama_phc
20230504@180643.5118 fp5pdqc050e48d17v07e25vft8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180643.5130 fp5pdqc050e48d17v07e25vft8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='191';
20230504@180643.5142 fp5pdqc050e48d17v07e25vft8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='191';
20230504@180643.5161 fp5pdqc050e48d17v07e25vft8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='191';
20230504@180643.5171 fp5pdqc050e48d17v07e25vft8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='191';
20230504@180643.6221 qd68fjt2lbg1knnr15fmvlbf7l Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180643.6235 qd68fjt2lbg1knnr15fmvlbf7l Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180643.6249 qd68fjt2lbg1knnr15fmvlbf7l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='192';
20230504@180643.6290 qd68fjt2lbg1knnr15fmvlbf7l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='192';
20230504@180643.6302 qd68fjt2lbg1knnr15fmvlbf7l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='192';
20230504@180643.6313 qd68fjt2lbg1knnr15fmvlbf7l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='192';
20230504@180643.6324 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6327 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180643.6339 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6342 qd68fjt2lbg1knnr15fmvlbf7l Query : select no, estab,szadrsdesc from szadrs where u_coddest=4784
20230504@180643.6375 qd68fjt2lbg1knnr15fmvlbf7l 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'
20230504@180643.6386 qd68fjt2lbg1knnr15fmvlbf7l 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 = 5 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180643.6392 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6395 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180643.6407 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6409 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180643.6419 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6421 qd68fjt2lbg1knnr15fmvlbf7l Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180643.6431 qd68fjt2lbg1knnr15fmvlbf7l 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
20230504@180643.6447 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6450 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 ~inactivo valor from cl where no = '102410' and estab = 0 order by inactivo desc
20230504@180643.6461 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6464 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180643.6476 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6479 qd68fjt2lbg1knnr15fmvlbf7l Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180643.6491 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6494 qd68fjt2lbg1knnr15fmvlbf7l Query : select szadrsstamp valor from szadrs where szadrsdesc='102410 - media markt matosinhos - prod inform e el'
20230504@180643.6508 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.6511 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from td where ndoc = 39
20230504@180643.6521 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180643.6531 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180643.6544 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180643.6560 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180643.6572 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180643.6575 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180643.6588 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180643.6598 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180643.6641 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180643.6650 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180643.6663 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180643.6671 qd68fjt2lbg1knnr15fmvlbf7l Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e076606453e623a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180643.6851 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180643.7150 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180643.7162 qd68fjt2lbg1knnr15fmvlbf7l Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e076606453e623a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.7170 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180643.7184 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180643.7199 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180643.7218 qd68fjt2lbg1knnr15fmvlbf7l 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 ('aut6453e076606453e623a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120,102410,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180643.7573 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.7615 qd68fjt2lbg1knnr15fmvlbf7l Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180643.7794 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180643.7807 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.7822 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180643.7832 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.7845 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180643.7849 qd68fjt2lbg1knnr15fmvlbf7l Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180643.7861 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180643.7872 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.7884 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180643.7893 qd68fjt2lbg1knnr15fmvlbf7l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e840436453e623c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6453e076606453e623a1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180643.8158 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.8173 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180643.8177 qd68fjt2lbg1knnr15fmvlbf7l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e840436453e623c0','aut6453e076606453e623a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.8183 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.8206 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180643.8216 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.8227 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180643.8233 qd68fjt2lbg1knnr15fmvlbf7l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180643.8243 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180643.8255 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180643.8264 qd68fjt2lbg1knnr15fmvlbf7l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e933196453e623c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e076606453e623a1' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180643.8533 qd68fjt2lbg1knnr15fmvlbf7l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180643.8548 qd68fjt2lbg1knnr15fmvlbf7l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180643.8553 qd68fjt2lbg1knnr15fmvlbf7l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e933196453e623c9','aut6453e076606453e623a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180643.8558 qd68fjt2lbg1knnr15fmvlbf7l Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e076606453e623a1','','wait',39,'ari17112337378,753000005')
20230504@180643.8593 qd68fjt2lbg1knnr15fmvlbf7l Query : use flama_phc
20230504@180643.8596 qd68fjt2lbg1knnr15fmvlbf7l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180643.8615 qd68fjt2lbg1knnr15fmvlbf7l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='192';
20230504@180643.8633 qd68fjt2lbg1knnr15fmvlbf7l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='192';
20230504@180643.8645 qd68fjt2lbg1knnr15fmvlbf7l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='192';
20230504@180643.8655 qd68fjt2lbg1knnr15fmvlbf7l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='192';
20230504@180643.8976 jea9igptlmqrth8qi747ougu66 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180643.8992 jea9igptlmqrth8qi747ougu66 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180643.9006 jea9igptlmqrth8qi747ougu66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='193';
20230504@180643.9044 jea9igptlmqrth8qi747ougu66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='193';
20230504@180643.9057 jea9igptlmqrth8qi747ougu66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='193';
20230504@180643.9068 jea9igptlmqrth8qi747ougu66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='193';
20230504@180643.9092 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180643.9096 jea9igptlmqrth8qi747ougu66 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180643.9107 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180643.9110 jea9igptlmqrth8qi747ougu66 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3883
20230504@180643.9143 jea9igptlmqrth8qi747ougu66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2211.00.1'
20230504@180643.9269 jea9igptlmqrth8qi747ougu66 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 = 6 and bi.ref ='324.2211.00.1' and bi.lordem =20000
20230504@180643.9574 jea9igptlmqrth8qi747ougu66 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230504@180643.9691 jea9igptlmqrth8qi747ougu66 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 = 6 and bi.ref ='324.2212.00.1' and bi.lordem =30000
20230504@180643.9998 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.2000 jea9igptlmqrth8qi747ougu66 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180644.1500 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.1800 jea9igptlmqrth8qi747ougu66 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180644.2800 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.3100 jea9igptlmqrth8qi747ougu66 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180644.4100 jea9igptlmqrth8qi747ougu66 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
20230504@180644.5600 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.5900 jea9igptlmqrth8qi747ougu66 Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230504@180644.7000 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.7300 jea9igptlmqrth8qi747ougu66 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180644.8400 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.8700 jea9igptlmqrth8qi747ougu66 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180644.9700 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.1000 jea9igptlmqrth8qi747ougu66 Query : select szadrsstamp valor from szadrs where szadrsdesc='pll- plataformalogistica lisboa norte'
20230504@180644.1130 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.1160 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from td where ndoc = 39
20230504@180644.1260 jea9igptlmqrth8qi747ougu66 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180644.1380 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180644.1510 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180644.1670 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180644.1790 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180644.1830 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180644.1960 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180644.2070 jea9igptlmqrth8qi747ougu66 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180644.2590 jea9igptlmqrth8qi747ougu66 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180644.2680 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180644.2800 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180644.2910 jea9igptlmqrth8qi747ougu66 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e798656453e62405' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180644.5180 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180644.7430 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180644.7480 jea9igptlmqrth8qi747ougu66 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e798656453e62405',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.7540 jea9igptlmqrth8qi747ougu66 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180644.7660 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180644.7780 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180644.7950 jea9igptlmqrth8qi747ougu66 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 ('aut6453e798656453e62405',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',121,101597,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180644.1128 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.1195 jea9igptlmqrth8qi747ougu66 Query : select st.usalote valor from st where st.ref = '324.2211.00.1'
20230504@180644.1339 jea9igptlmqrth8qi747ougu66 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.2211.00.1'
20230504@180644.1496 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.1510 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180644.1521 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.1535 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180644.1539 jea9igptlmqrth8qi747ougu66 Query : select sestamp valor from se where ref ='324.2211.00.1' and lote = 'r2100703100a'
20230504@180644.1549 jea9igptlmqrth8qi747ougu66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180644.1559 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.1570 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180644.1579 jea9igptlmqrth8qi747ougu66 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e549776453e62426',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6453e798656453e62405' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180644.1845 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.1868 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180644.1872 jea9igptlmqrth8qi747ougu66 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e549776453e62426','aut6453e798656453e62405' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.1876 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.1879 jea9igptlmqrth8qi747ougu66 Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230504@180644.1890 jea9igptlmqrth8qi747ougu66 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.2212.00.1'
20230504@180644.2239 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.2257 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180644.2268 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.2283 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180644.2288 jea9igptlmqrth8qi747ougu66 Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230504@180644.2301 jea9igptlmqrth8qi747ougu66 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180644.2313 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.2328 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180644.2339 jea9igptlmqrth8qi747ougu66 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e596356453e62438',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6453e798656453e62405' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230504@180644.2616 jea9igptlmqrth8qi747ougu66 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.2633 jea9igptlmqrth8qi747ougu66 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180644.2638 jea9igptlmqrth8qi747ougu66 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e596356453e62438','aut6453e798656453e62405' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.2644 jea9igptlmqrth8qi747ougu66 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e798656453e62405','','wait',39,'ari17112337378,753000005')
20230504@180644.2661 jea9igptlmqrth8qi747ougu66 Query : use flama_phc
20230504@180644.2664 jea9igptlmqrth8qi747ougu66 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180644.2677 jea9igptlmqrth8qi747ougu66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='193';
20230504@180644.2691 jea9igptlmqrth8qi747ougu66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='193';
20230504@180644.2704 jea9igptlmqrth8qi747ougu66 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='193';
20230504@180644.2716 jea9igptlmqrth8qi747ougu66 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='193';
20230504@180644.3054 dmb7kn0d11t6vehqadhibof5cj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180644.3075 dmb7kn0d11t6vehqadhibof5cj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180644.3093 dmb7kn0d11t6vehqadhibof5cj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='194';
20230504@180644.3143 dmb7kn0d11t6vehqadhibof5cj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='194';
20230504@180644.3155 dmb7kn0d11t6vehqadhibof5cj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='194';
20230504@180644.3166 dmb7kn0d11t6vehqadhibof5cj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='194';
20230504@180644.3183 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3186 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180644.3198 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3201 dmb7kn0d11t6vehqadhibof5cj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4920
20230504@180644.3233 dmb7kn0d11t6vehqadhibof5cj 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'
20230504@180644.3245 dmb7kn0d11t6vehqadhibof5cj 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 = 7 and bi.ref ='324.5347.00.1' and bi.lordem =20000
20230504@180644.3570 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3574 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180644.3587 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3590 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180644.3600 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3604 dmb7kn0d11t6vehqadhibof5cj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180644.3615 dmb7kn0d11t6vehqadhibof5cj 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
20230504@180644.3632 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3636 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 ~inactivo valor from cl where no = '101711' and estab = 0 order by inactivo desc
20230504@180644.3645 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3648 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180644.3658 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3661 dmb7kn0d11t6vehqadhibof5cj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180644.3671 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3673 dmb7kn0d11t6vehqadhibof5cj Query : select szadrsstamp valor from szadrs where szadrsdesc='101711 - media markt benfica -prod.inf.elect., lda'
20230504@180644.3686 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.3689 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from td where ndoc = 39
20230504@180644.3698 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180644.3710 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180644.3725 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180644.3741 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180644.3756 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180644.3760 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180644.3774 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180644.3783 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180644.3825 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180644.3835 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180644.3846 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180644.3856 dmb7kn0d11t6vehqadhibof5cj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e602376453e6245c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180644.4029 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180644.4043 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180644.4048 dmb7kn0d11t6vehqadhibof5cj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e602376453e6245c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.4053 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180644.4065 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180644.4078 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180644.4095 dmb7kn0d11t6vehqadhibof5cj 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 ('aut6453e602376453e6245c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',122,101711,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180644.4374 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.4378 dmb7kn0d11t6vehqadhibof5cj Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20230504@180644.4391 dmb7kn0d11t6vehqadhibof5cj 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.5347.00.1'
20230504@180644.4403 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.4417 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180644.4428 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.4440 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180644.4445 dmb7kn0d11t6vehqadhibof5cj Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2200658100a'
20230504@180644.4456 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180644.4467 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.4480 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180644.4490 dmb7kn0d11t6vehqadhibof5cj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e733686453e6246d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6453e602376453e6245c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180644.4770 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.4894 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180644.4966 dmb7kn0d11t6vehqadhibof5cj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e733686453e6246d','aut6453e602376453e6245c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.4973 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.4987 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180644.4997 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.5010 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180644.5014 dmb7kn0d11t6vehqadhibof5cj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180644.5026 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.5037 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180644.5048 dmb7kn0d11t6vehqadhibof5cj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e122796453e6247a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e602376453e6245c' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180644.5318 dmb7kn0d11t6vehqadhibof5cj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.5333 dmb7kn0d11t6vehqadhibof5cj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180644.5337 dmb7kn0d11t6vehqadhibof5cj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e122796453e6247a','aut6453e602376453e6245c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.5342 dmb7kn0d11t6vehqadhibof5cj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e602376453e6245c','','wait',39,'ari17112337378,753000005')
20230504@180644.5363 dmb7kn0d11t6vehqadhibof5cj Query : use flama_phc
20230504@180644.5366 dmb7kn0d11t6vehqadhibof5cj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180644.5381 dmb7kn0d11t6vehqadhibof5cj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='194';
20230504@180644.5393 dmb7kn0d11t6vehqadhibof5cj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='194';
20230504@180644.5405 dmb7kn0d11t6vehqadhibof5cj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='194';
20230504@180644.5415 dmb7kn0d11t6vehqadhibof5cj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='194';
20230504@180644.5738 j812vtikmpenbplft23a6qqsct Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180644.5751 j812vtikmpenbplft23a6qqsct Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180644.5764 j812vtikmpenbplft23a6qqsct Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='195';
20230504@180644.5803 j812vtikmpenbplft23a6qqsct Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='195';
20230504@180644.5815 j812vtikmpenbplft23a6qqsct Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='195';
20230504@180644.5826 j812vtikmpenbplft23a6qqsct Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='195';
20230504@180644.5837 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.5841 j812vtikmpenbplft23a6qqsct Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180644.5854 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.5857 j812vtikmpenbplft23a6qqsct Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20230504@180644.5906 j812vtikmpenbplft23a6qqsct 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'
20230504@180644.5916 j812vtikmpenbplft23a6qqsct 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 = 8 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180644.6232 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.6235 j812vtikmpenbplft23a6qqsct Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180644.6248 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.6251 j812vtikmpenbplft23a6qqsct Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180644.6262 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.6265 j812vtikmpenbplft23a6qqsct Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180644.6275 j812vtikmpenbplft23a6qqsct 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
20230504@180644.6289 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.6292 j812vtikmpenbplft23a6qqsct Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20230504@180644.6302 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.6304 j812vtikmpenbplft23a6qqsct Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180644.6314 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.6317 j812vtikmpenbplft23a6qqsct Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180644.6327 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.6330 j812vtikmpenbplft23a6qqsct Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20230504@180644.6342 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.6344 j812vtikmpenbplft23a6qqsct Query : select 1 valor from td where ndoc = 39
20230504@180644.6354 j812vtikmpenbplft23a6qqsct Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180644.6367 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180644.6381 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180644.6398 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180644.6411 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180644.6415 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180644.6428 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180644.6438 j812vtikmpenbplft23a6qqsct Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180644.6478 j812vtikmpenbplft23a6qqsct Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180644.6488 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180644.6500 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180644.6510 j812vtikmpenbplft23a6qqsct Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e539136453e6249d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180644.6683 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180644.6707 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180644.6712 j812vtikmpenbplft23a6qqsct Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e539136453e6249d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.6716 j812vtikmpenbplft23a6qqsct Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180644.6729 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180644.6742 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180644.6759 j812vtikmpenbplft23a6qqsct 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 ('aut6453e539136453e6249d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',123,101846,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180644.7052 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.7056 j812vtikmpenbplft23a6qqsct Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180644.7067 j812vtikmpenbplft23a6qqsct Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180644.7088 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.7104 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180644.7113 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.7127 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180644.7131 j812vtikmpenbplft23a6qqsct Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180644.7141 j812vtikmpenbplft23a6qqsct Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180644.7150 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.7162 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180644.7171 j812vtikmpenbplft23a6qqsct Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e808696453e624ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11.000 ,'aut6453e539136453e6249d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180644.7443 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.7466 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180644.7471 j812vtikmpenbplft23a6qqsct Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e808696453e624ae','aut6453e539136453e6249d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.7475 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.7489 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180644.7499 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.7511 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180644.7515 j812vtikmpenbplft23a6qqsct Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180644.7524 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180644.7537 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180644.7546 j812vtikmpenbplft23a6qqsct Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e663136453e624b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e539136453e6249d' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180644.7810 j812vtikmpenbplft23a6qqsct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180644.7834 j812vtikmpenbplft23a6qqsct Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180644.7838 j812vtikmpenbplft23a6qqsct Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e663136453e624b7','aut6453e539136453e6249d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180644.7843 j812vtikmpenbplft23a6qqsct Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e539136453e6249d','','wait',39,'ari17112337378,753000005')
20230504@180644.7862 j812vtikmpenbplft23a6qqsct Query : use flama_phc
20230504@180644.7873 j812vtikmpenbplft23a6qqsct Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180644.7895 j812vtikmpenbplft23a6qqsct Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='195';
20230504@180644.8004 j812vtikmpenbplft23a6qqsct Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='195';
20230504@180644.8151 j812vtikmpenbplft23a6qqsct Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='195';
20230504@180644.8166 j812vtikmpenbplft23a6qqsct Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='195';
20230504@180644.8490 1ud4r606ak2e9r59foeerf6pf0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180644.8505 1ud4r606ak2e9r59foeerf6pf0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180644.8519 1ud4r606ak2e9r59foeerf6pf0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='196';
20230504@180644.8557 1ud4r606ak2e9r59foeerf6pf0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='196';
20230504@180644.8580 1ud4r606ak2e9r59foeerf6pf0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='196';
20230504@180644.8591 1ud4r606ak2e9r59foeerf6pf0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='196';
20230504@180644.8602 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.8605 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180644.8619 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.8622 1ud4r606ak2e9r59foeerf6pf0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20230504@180644.8654 1ud4r606ak2e9r59foeerf6pf0 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'
20230504@180644.8666 1ud4r606ak2e9r59foeerf6pf0 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 = 9 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180644.9158 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.9242 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180644.9891 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.9895 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180644.9906 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.9909 1ud4r606ak2e9r59foeerf6pf0 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180644.9919 1ud4r606ak2e9r59foeerf6pf0 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
20230504@180644.9933 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.9936 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20230504@180644.9946 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.9949 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180644.9958 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.9961 1ud4r606ak2e9r59foeerf6pf0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180644.9971 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.9974 1ud4r606ak2e9r59foeerf6pf0 Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20230504@180644.9987 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180644.9990 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from td where ndoc = 39
20230504@180645.0000 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180645.1100 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180645.2400 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180645.4000 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180645.5200 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180645.5600 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180645.6800 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180645.7700 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180645.1170 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180645.1260 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180645.1380 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180645.1470 1ud4r606ak2e9r59foeerf6pf0 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e699406453e62501' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180645.3180 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180645.3310 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180645.3360 1ud4r606ak2e9r59foeerf6pf0 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e699406453e62501',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180645.3410 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180645.3530 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180645.3660 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180645.3850 1ud4r606ak2e9r59foeerf6pf0 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 ('aut6453e699406453e62501',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',124,101987,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180645.6840 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180645.6870 1ud4r606ak2e9r59foeerf6pf0 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180645.6990 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180645.7100 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.7230 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180645.7340 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.7460 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180645.7510 1ud4r606ak2e9r59foeerf6pf0 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180645.7610 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180645.7700 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.7820 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180645.7930 1ud4r606ak2e9r59foeerf6pf0 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e786086453e62512',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6453e699406453e62501' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180645.1053 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.1075 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180645.1079 1ud4r606ak2e9r59foeerf6pf0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e786086453e62512','aut6453e699406453e62501' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180645.1084 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.1098 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180645.1109 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.1124 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180645.1128 1ud4r606ak2e9r59foeerf6pf0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180645.1138 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.1151 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180645.1161 1ud4r606ak2e9r59foeerf6pf0 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e915116453e6251b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e699406453e62501' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180645.1419 1ud4r606ak2e9r59foeerf6pf0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.1434 1ud4r606ak2e9r59foeerf6pf0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180645.1438 1ud4r606ak2e9r59foeerf6pf0 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e915116453e6251b','aut6453e699406453e62501' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180645.1443 1ud4r606ak2e9r59foeerf6pf0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6453e699406453e62501','','wait',39,'ari17112337378,753000005')
20230504@180645.1463 1ud4r606ak2e9r59foeerf6pf0 Query : use flama_phc
20230504@180645.1466 1ud4r606ak2e9r59foeerf6pf0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230504@180645.1479 1ud4r606ak2e9r59foeerf6pf0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='196';
20230504@180645.1491 1ud4r606ak2e9r59foeerf6pf0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='196';
20230504@180645.1502 1ud4r606ak2e9r59foeerf6pf0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='196';
20230504@180645.1519 1ud4r606ak2e9r59foeerf6pf0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='196';
20230504@180645.1838 ao1gcf8otg44br2hf6um2hir3j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230504@180645.1851 ao1gcf8otg44br2hf6um2hir3j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230504@180645.1864 ao1gcf8otg44br2hf6um2hir3j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='197';
20230504@180645.1902 ao1gcf8otg44br2hf6um2hir3j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='197';
20230504@180645.1931 ao1gcf8otg44br2hf6um2hir3j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='197';
20230504@180645.1942 ao1gcf8otg44br2hf6um2hir3j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='197';
20230504@180645.1954 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.1957 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230504@180645.1969 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.1971 ao1gcf8otg44br2hf6um2hir3j Query : select no, estab,szadrsdesc from szadrs where u_coddest=4783
20230504@180645.2002 ao1gcf8otg44br2hf6um2hir3j 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'
20230504@180645.2012 ao1gcf8otg44br2hf6um2hir3j 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 = 0 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180645.2018 ao1gcf8otg44br2hf6um2hir3j 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'
20230504@180645.2027 ao1gcf8otg44br2hf6um2hir3j 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 = 0 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230504@180645.2032 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2035 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230504@180645.2046 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2049 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 1 valor from td where td.ndoc = 39
20230504@180645.2058 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2061 ao1gcf8otg44br2hf6um2hir3j Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230504@180645.2071 ao1gcf8otg44br2hf6um2hir3j 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
20230504@180645.2084 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2087 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 ~inactivo valor from cl where no = '102011' and estab = 0 order by inactivo desc
20230504@180645.2096 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2098 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230504@180645.2108 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2111 ao1gcf8otg44br2hf6um2hir3j Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230504@180645.2120 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2123 ao1gcf8otg44br2hf6um2hir3j Query : select szadrsstamp valor from szadrs where szadrsdesc='102011 - media markt alfragide, lda.'
20230504@180645.2134 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2137 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from td where ndoc = 39
20230504@180645.2145 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230504@180645.2156 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180645.2170 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230504@180645.2186 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180645.2198 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230504@180645.2202 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180645.2214 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230504@180645.2224 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180645.2263 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230504@180645.2272 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230504@180645.2285 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230504@180645.2295 ao1gcf8otg44br2hf6um2hir3j Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6453e162456453e62536' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230504@180645.2467 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230504@180645.2482 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230504@180645.2486 ao1gcf8otg44br2hf6um2hir3j Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e162456453e62536',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180645.2492 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 fno valor from wsft039data order by fno desc
20230504@180645.2504 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230504@180645.2517 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230504@180645.2535 ao1gcf8otg44br2hf6um2hir3j 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 ('aut6453e162456453e62536',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',125,102011,0,'2023-05-04',39,'euro',0,0,2023 ,'20230504','1836',?,?,?,?,?)
20230504@180645.2819 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.2824 ao1gcf8otg44br2hf6um2hir3j Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180645.2839 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180645.2851 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.2864 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180645.2875 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.2888 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180645.2892 ao1gcf8otg44br2hf6um2hir3j Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180645.2902 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180645.2912 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.2926 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180645.2937 ao1gcf8otg44br2hf6um2hir3j Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e168006453e62547',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6453e162456453e62536' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230504@180645.3229 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.3244 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180645.3250 ao1gcf8otg44br2hf6um2hir3j Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e168006453e62547','aut6453e162456453e62536' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180645.3256 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.3270 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180645.3281 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.3294 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180645.3299 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180645.3309 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.3321 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180645.3330 ao1gcf8otg44br2hf6um2hir3j Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6453e840396453e62550',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6453e162456453e62536' ,0,0 ,2,23.00,20000,?,?,?)
20230504@180645.3578 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.3592 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180645.3597 ao1gcf8otg44br2hf6um2hir3j Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e840396453e62550','aut6453e162456453e62536' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180645.3601 ao1gcf8otg44br2hf6um2hir3j Query : use flama_phc
20230504@180645.3605 ao1gcf8otg44br2hf6um2hir3j Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230504@180645.3618 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230504@180645.3631 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.3644 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180645.3654 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.3668 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180645.3673 ao1gcf8otg44br2hf6um2hir3j Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230504@180645.3683 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230504@180645.3692 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.3705 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230504@180645.3715 ao1gcf8otg44br2hf6um2hir3j Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6453e713706453e6255a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6453e162456453e62536' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230504@180645.3957 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.3969 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230504@180645.3973 ao1gcf8otg44br2hf6um2hir3j Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6453e713706453e6255a','aut6453e162456453e62536' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230504@180645.3978 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230504@180645.3990 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230504@180645.3998 ao1gcf8otg44br2hf6um2hir3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230504@180645.4011 ao1gcf8otg44br2hf6um2hir3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230504@180645.4015 ao1gcf8otg44br2hf6um2hir3j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
