20230424@180728.1346 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180728.1350 3li028c4k492i1k5o3jps6cj5v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b876416446b75014','aut6446b060196446b74fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.1355 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180728.1359 3li028c4k492i1k5o3jps6cj5v Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20230424@180728.1368 3li028c4k492i1k5o3jps6cj5v 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.1462.00.1'
20230424@180728.1378 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.1391 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180728.1400 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.1412 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180728.1416 3li028c4k492i1k5o3jps6cj5v Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20230424@180728.1425 3li028c4k492i1k5o3jps6cj5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180728.1435 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.1448 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180728.1458 3li028c4k492i1k5o3jps6cj5v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b050246446b75023',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut6446b060196446b74fe2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230424@180728.1683 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.1698 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180728.1703 3li028c4k492i1k5o3jps6cj5v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b050246446b75023','aut6446b060196446b74fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.1707 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180728.1711 3li028c4k492i1k5o3jps6cj5v Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230424@180728.1724 3li028c4k492i1k5o3jps6cj5v 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'
20230424@180728.1865 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.1878 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180728.1888 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.1906 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180728.1910 3li028c4k492i1k5o3jps6cj5v Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230424@180728.1921 3li028c4k492i1k5o3jps6cj5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180728.1931 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.1944 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180728.1953 3li028c4k492i1k5o3jps6cj5v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b049306446b7502f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20 ,'aut6446b060196446b74fe2' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230424@180728.2209 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.2224 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180728.2229 3li028c4k492i1k5o3jps6cj5v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b049306446b7502f','aut6446b060196446b74fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.2234 3li028c4k492i1k5o3jps6cj5v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6446b060196446b74fe2','','wait',39,'ari17112337378,753000005')
20230424@180728.2251 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180728.2254 3li028c4k492i1k5o3jps6cj5v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230424@180728.2267 3li028c4k492i1k5o3jps6cj5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='44';
20230424@180728.2278 3li028c4k492i1k5o3jps6cj5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='44';
20230424@180728.2288 3li028c4k492i1k5o3jps6cj5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='44';
20230424@180728.2298 3li028c4k492i1k5o3jps6cj5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='44';
20230424@180728.2613 avd3d6g6kt85pcpfkbjg7s15r2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180728.2626 avd3d6g6kt85pcpfkbjg7s15r2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180728.2638 avd3d6g6kt85pcpfkbjg7s15r2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='45';
20230424@180728.2676 avd3d6g6kt85pcpfkbjg7s15r2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='45';
20230424@180728.2690 avd3d6g6kt85pcpfkbjg7s15r2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='45';
20230424@180728.2700 avd3d6g6kt85pcpfkbjg7s15r2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='45';
20230424@180728.2713 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.2716 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180728.2728 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.2731 avd3d6g6kt85pcpfkbjg7s15r2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20230424@180728.2801 avd3d6g6kt85pcpfkbjg7s15r2 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'
20230424@180728.2933 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2212.00.1' and bi.lordem =1
20230424@180728.3219 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230424@180728.3347 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='304.421.00.04' and bi.lordem =2
20230424@180728.3628 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.3632 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180728.3646 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.3649 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180728.3659 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.3664 avd3d6g6kt85pcpfkbjg7s15r2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180728.3675 avd3d6g6kt85pcpfkbjg7s15r2 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
20230424@180728.3689 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.3692 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230424@180728.3780 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.3783 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180728.3794 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.3796 avd3d6g6kt85pcpfkbjg7s15r2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180728.3807 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.3810 avd3d6g6kt85pcpfkbjg7s15r2 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20230424@180728.3823 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.3826 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from td where ndoc = 39
20230424@180728.3836 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180728.3846 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180728.3860 avd3d6g6kt85pcpfkbjg7s15r2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180728.3870 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180728.3884 avd3d6g6kt85pcpfkbjg7s15r2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180728.3889 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180728.3900 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180728.3947 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180728.3957 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180728.3963 avd3d6g6kt85pcpfkbjg7s15r2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b326136446b7505f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.3968 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180728.3980 avd3d6g6kt85pcpfkbjg7s15r2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180728.3984 avd3d6g6kt85pcpfkbjg7s15r2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b326136446b7505f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.3988 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180728.3998 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180728.4011 avd3d6g6kt85pcpfkbjg7s15r2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180728.4022 avd3d6g6kt85pcpfkbjg7s15r2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6446b326136446b7505f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18,101900,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180728.4262 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.4266 avd3d6g6kt85pcpfkbjg7s15r2 Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230424@180728.4277 avd3d6g6kt85pcpfkbjg7s15r2 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'
20230424@180728.4412 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.4425 avd3d6g6kt85pcpfkbjg7s15r2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180728.4435 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.4448 avd3d6g6kt85pcpfkbjg7s15r2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180728.4452 avd3d6g6kt85pcpfkbjg7s15r2 Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230424@180728.4457 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180728.4467 avd3d6g6kt85pcpfkbjg7s15r2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.4479 avd3d6g6kt85pcpfkbjg7s15r2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180728.4488 avd3d6g6kt85pcpfkbjg7s15r2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b685736446b7506d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6446b326136446b7505f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180728.4705 avd3d6g6kt85pcpfkbjg7s15r2 Query : use flama_phc
20230424@180728.4709 avd3d6g6kt85pcpfkbjg7s15r2 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@180728.4720 avd3d6g6kt85pcpfkbjg7s15r2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='45';
20230424@180728.4730 avd3d6g6kt85pcpfkbjg7s15r2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='45';
20230424@180728.5028 cct5mc1a70g5c2daqo4962j025 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180728.5041 cct5mc1a70g5c2daqo4962j025 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180728.5052 cct5mc1a70g5c2daqo4962j025 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='46';
20230424@180728.5089 cct5mc1a70g5c2daqo4962j025 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='46';
20230424@180728.5101 cct5mc1a70g5c2daqo4962j025 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='46';
20230424@180728.5111 cct5mc1a70g5c2daqo4962j025 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='46';
20230424@180728.5122 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.5125 cct5mc1a70g5c2daqo4962j025 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180728.5137 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.5140 cct5mc1a70g5c2daqo4962j025 Query : select no, estab,szadrsdesc from szadrs where u_coddest=376
20230424@180728.5209 cct5mc1a70g5c2daqo4962j025 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20230424@180728.5338 cct5mc1a70g5c2daqo4962j025 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.5500.00.1' and bi.lordem =1
20230424@180728.5618 cct5mc1a70g5c2daqo4962j025 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20230424@180728.5744 cct5mc1a70g5c2daqo4962j025 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.4930.00.1' and bi.lordem =2
20230424@180728.6043 cct5mc1a70g5c2daqo4962j025 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20230424@180728.6181 cct5mc1a70g5c2daqo4962j025 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.958.00.01' and bi.lordem =3
20230424@180728.6465 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.6469 cct5mc1a70g5c2daqo4962j025 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180728.6482 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.6485 cct5mc1a70g5c2daqo4962j025 Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180728.6495 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.6497 cct5mc1a70g5c2daqo4962j025 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180728.6508 cct5mc1a70g5c2daqo4962j025 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
20230424@180728.6522 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.6525 cct5mc1a70g5c2daqo4962j025 Query : select top 1 ~inactivo valor from cl where no = '100403' and estab = 0 order by inactivo desc
20230424@180728.6623 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.6626 cct5mc1a70g5c2daqo4962j025 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180728.6637 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.6640 cct5mc1a70g5c2daqo4962j025 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180728.6650 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.6653 cct5mc1a70g5c2daqo4962j025 Query : select szadrsstamp valor from szadrs where szadrsdesc='mario ventura'
20230424@180728.6666 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.6669 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from td where ndoc = 39
20230424@180728.6683 cct5mc1a70g5c2daqo4962j025 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180728.6694 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180728.6708 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180728.6717 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180728.6731 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180728.6735 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180728.6741 cct5mc1a70g5c2daqo4962j025 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180728.6788 cct5mc1a70g5c2daqo4962j025 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180728.6798 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180728.6804 cct5mc1a70g5c2daqo4962j025 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b080616446b750a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.6810 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180728.6822 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180728.6826 cct5mc1a70g5c2daqo4962j025 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b080616446b750a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.6831 cct5mc1a70g5c2daqo4962j025 Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180728.6842 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180728.6855 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180728.6864 cct5mc1a70g5c2daqo4962j025 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6446b080616446b750a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18,100403,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180728.7109 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.7113 cct5mc1a70g5c2daqo4962j025 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230424@180728.7126 cct5mc1a70g5c2daqo4962j025 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20230424@180728.7268 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.7282 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180728.7292 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.7306 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180728.7311 cct5mc1a70g5c2daqo4962j025 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230424@180728.7321 cct5mc1a70g5c2daqo4962j025 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180728.7330 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.7341 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180728.7351 cct5mc1a70g5c2daqo4962j025 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b524516446b750b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6446b080616446b750a4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180728.7743 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.8186 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180728.8376 cct5mc1a70g5c2daqo4962j025 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b524516446b750b2','aut6446b080616446b750a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.8383 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.8387 cct5mc1a70g5c2daqo4962j025 Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20230424@180728.8400 cct5mc1a70g5c2daqo4962j025 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.4930.00.1'
20230424@180728.8545 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.8560 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180728.8571 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.8585 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180728.8590 cct5mc1a70g5c2daqo4962j025 Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2100754100a'
20230424@180728.8601 cct5mc1a70g5c2daqo4962j025 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180728.8610 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.8621 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180728.8631 cct5mc1a70g5c2daqo4962j025 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b450196446b750d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut6446b080616446b750a4' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230424@180728.8846 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.8860 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180728.8864 cct5mc1a70g5c2daqo4962j025 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b450196446b750d2','aut6446b080616446b750a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.8869 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.8874 cct5mc1a70g5c2daqo4962j025 Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20230424@180728.8885 cct5mc1a70g5c2daqo4962j025 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.958.00.01'
20230424@180728.9019 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.9034 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180728.9044 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.9056 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180728.9060 cct5mc1a70g5c2daqo4962j025 Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2200700200a'
20230424@180728.9070 cct5mc1a70g5c2daqo4962j025 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180728.9079 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.9091 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180728.9100 cct5mc1a70g5c2daqo4962j025 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b886516446b750dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6446b080616446b750a4' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230424@180728.9318 cct5mc1a70g5c2daqo4962j025 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.9332 cct5mc1a70g5c2daqo4962j025 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180728.9336 cct5mc1a70g5c2daqo4962j025 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b886516446b750dd','aut6446b080616446b750a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.9341 cct5mc1a70g5c2daqo4962j025 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6446b080616446b750a4','','wait',39,'ari17112337378,753000005')
20230424@180728.9359 cct5mc1a70g5c2daqo4962j025 Query : use flama_phc
20230424@180728.9362 cct5mc1a70g5c2daqo4962j025 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230424@180728.9375 cct5mc1a70g5c2daqo4962j025 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='46';
20230424@180728.9386 cct5mc1a70g5c2daqo4962j025 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='46';
20230424@180728.9398 cct5mc1a70g5c2daqo4962j025 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='46';
20230424@180728.9408 cct5mc1a70g5c2daqo4962j025 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='46';
20230424@180728.9720 oq9tcank0lk05bvda5n9smu3mu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180728.9734 oq9tcank0lk05bvda5n9smu3mu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180728.9746 oq9tcank0lk05bvda5n9smu3mu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='47';
20230424@180728.9787 oq9tcank0lk05bvda5n9smu3mu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='47';
20230424@180728.9798 oq9tcank0lk05bvda5n9smu3mu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='47';
20230424@180728.9808 oq9tcank0lk05bvda5n9smu3mu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='47';
20230424@180728.9818 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180728.9821 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180728.9834 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180728.9837 oq9tcank0lk05bvda5n9smu3mu Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20230424@180728.9913 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20230424@180728.9923 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1675.00.2' and bi.lordem =1
20230424@180729.2270 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20230424@180729.2470 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1675.00.2' and bi.lordem =2
20230424@180729.5310 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20230424@180729.5430 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.5500.00.1' and bi.lordem =3
20230424@180729.8150 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20230424@180729.8260 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.5500.00.1' and bi.lordem =4
20230424@180729.1319 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230424@180729.1457 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.670.00.01' and bi.lordem =5
20230424@180729.1751 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20230424@180729.1886 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.4723.00.2' and bi.lordem =6
20230424@180729.2176 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1547.00.1'
20230424@180729.2310 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1547.00.1' and bi.lordem =7
20230424@180729.2714 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.2736 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180729.2749 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.2752 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180729.2762 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.2766 oq9tcank0lk05bvda5n9smu3mu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180729.2778 oq9tcank0lk05bvda5n9smu3mu 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
20230424@180729.2791 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.2794 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20230424@180729.2891 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.2894 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180729.2903 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.2907 oq9tcank0lk05bvda5n9smu3mu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180729.2917 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.2920 oq9tcank0lk05bvda5n9smu3mu Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20230424@180729.2932 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.2935 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from td where ndoc = 39
20230424@180729.2944 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180729.2956 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180729.2969 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180729.2978 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180729.2990 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180729.2995 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180729.3001 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180729.3043 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180729.3053 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180729.3059 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b935516446b75149' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180729.3064 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180729.3077 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180729.3081 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b935516446b75149',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180729.3085 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180729.3095 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180729.3108 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180729.3117 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6446b935516446b75149',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',19,102079,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180729.3362 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.3366 oq9tcank0lk05bvda5n9smu3mu Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20230424@180729.3377 oq9tcank0lk05bvda5n9smu3mu 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.1675.00.2'
20230424@180729.3387 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.3401 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180729.3411 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.3423 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180729.3427 oq9tcank0lk05bvda5n9smu3mu Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20230424@180729.3436 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180729.3445 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.3456 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180729.3467 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b532396446b75154',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18 ,'aut6446b935516446b75149' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180729.3695 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.3709 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180729.3714 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b532396446b75154','aut6446b935516446b75149' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180729.3718 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.3721 oq9tcank0lk05bvda5n9smu3mu Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20230424@180729.3731 oq9tcank0lk05bvda5n9smu3mu 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.1675.00.2'
20230424@180729.3741 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.3753 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180729.3761 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.3773 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180729.3777 oq9tcank0lk05bvda5n9smu3mu Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20230424@180729.3785 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180729.3794 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.3805 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180729.3815 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b216256446b7515c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6446b935516446b75149' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230424@180729.4030 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.4044 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180729.4048 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b216256446b7515c','aut6446b935516446b75149' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180729.4052 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.4055 oq9tcank0lk05bvda5n9smu3mu Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230424@180729.4105 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20230424@180729.4219 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.4232 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180729.4241 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.4252 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180729.4256 oq9tcank0lk05bvda5n9smu3mu Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230424@180729.4266 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180729.4275 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.4286 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180729.4295 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b170896446b75168',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9 ,'aut6446b935516446b75149' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230424@180729.4663 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.4682 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180729.4686 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b170896446b75168','aut6446b935516446b75149' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180729.4692 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.4697 oq9tcank0lk05bvda5n9smu3mu Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230424@180729.4708 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20230424@180729.4720 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.4732 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180729.4742 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.4754 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180729.4758 oq9tcank0lk05bvda5n9smu3mu Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230424@180729.4768 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180729.4778 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.4789 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180729.4799 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b065836446b75174',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6446b935516446b75149' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230424@180729.5022 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.5036 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180729.5041 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b065836446b75174','aut6446b935516446b75149' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180729.5046 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.5049 oq9tcank0lk05bvda5n9smu3mu Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230424@180729.5062 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.670.00.01'
20230424@180729.5193 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.5206 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180729.5217 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.5229 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180729.5233 oq9tcank0lk05bvda5n9smu3mu Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230424@180729.5238 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180729.5248 oq9tcank0lk05bvda5n9smu3mu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.5261 oq9tcank0lk05bvda5n9smu3mu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180729.5271 oq9tcank0lk05bvda5n9smu3mu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b448276446b75180',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10 ,'aut6446b935516446b75149' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230424@180729.5493 oq9tcank0lk05bvda5n9smu3mu Query : use flama_phc
20230424@180729.5497 oq9tcank0lk05bvda5n9smu3mu Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@180729.5508 oq9tcank0lk05bvda5n9smu3mu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='47';
20230424@180729.5519 oq9tcank0lk05bvda5n9smu3mu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='47';
20230424@180729.5829 a8ru7j80a7gb7pul65a3jv8nhi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180729.5842 a8ru7j80a7gb7pul65a3jv8nhi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180729.5854 a8ru7j80a7gb7pul65a3jv8nhi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='48';
20230424@180729.5893 a8ru7j80a7gb7pul65a3jv8nhi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='48';
20230424@180729.5904 a8ru7j80a7gb7pul65a3jv8nhi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='48';
20230424@180729.5914 a8ru7j80a7gb7pul65a3jv8nhi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='48';
20230424@180729.5927 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.5931 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180729.5943 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.5945 a8ru7j80a7gb7pul65a3jv8nhi Query : select no, estab,szadrsdesc from szadrs where u_coddest=410
20230424@180729.6016 a8ru7j80a7gb7pul65a3jv8nhi 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'
20230424@180729.6155 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.1824.00.1' and bi.lordem =1
20230424@180729.6687 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4160.00.1'
20230424@180729.6819 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4160.00.1' and bi.lordem =2
20230424@180729.7107 a8ru7j80a7gb7pul65a3jv8nhi 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'
20230424@180729.7119 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.1824.00.1' and bi.lordem =3
20230424@180729.7447 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.7452 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180729.7468 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.7471 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180729.7483 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.7486 a8ru7j80a7gb7pul65a3jv8nhi Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180729.7499 a8ru7j80a7gb7pul65a3jv8nhi 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
20230424@180729.7515 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.7519 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 ~inactivo valor from cl where no = '102212' and estab = 0 order by inactivo desc
20230424@180729.7622 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.7626 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180729.7638 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.7642 a8ru7j80a7gb7pul65a3jv8nhi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180729.7654 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.7657 a8ru7j80a7gb7pul65a3jv8nhi Query : select szadrsstamp valor from szadrs where szadrsdesc='tomarel-soc.tecnica electricidade, lda.'
20230424@180729.7672 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.7675 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from td where ndoc = 39
20230424@180729.7685 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180729.7697 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180729.7711 a8ru7j80a7gb7pul65a3jv8nhi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180729.7722 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180729.7735 a8ru7j80a7gb7pul65a3jv8nhi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180729.7740 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180729.7746 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180729.7788 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180729.7798 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180729.7805 a8ru7j80a7gb7pul65a3jv8nhi Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b946036446b751bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180729.7811 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180729.7824 a8ru7j80a7gb7pul65a3jv8nhi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180729.7829 a8ru7j80a7gb7pul65a3jv8nhi Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b946036446b751bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180729.7833 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180729.7844 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180729.7858 a8ru7j80a7gb7pul65a3jv8nhi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180729.8122 a8ru7j80a7gb7pul65a3jv8nhi Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6446b946036446b751bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',19,102212,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180729.9047 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.9087 a8ru7j80a7gb7pul65a3jv8nhi Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230424@180729.9223 a8ru7j80a7gb7pul65a3jv8nhi 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'
20230424@180729.9367 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.9383 a8ru7j80a7gb7pul65a3jv8nhi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180729.9394 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180729.9408 a8ru7j80a7gb7pul65a3jv8nhi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180729.9413 a8ru7j80a7gb7pul65a3jv8nhi Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230424@180729.9420 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180729.9430 a8ru7j80a7gb7pul65a3jv8nhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180729.9443 a8ru7j80a7gb7pul65a3jv8nhi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180729.9453 a8ru7j80a7gb7pul65a3jv8nhi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b515976446b751e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6446b946036446b751bd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180729.9669 a8ru7j80a7gb7pul65a3jv8nhi Query : use flama_phc
20230424@180729.9673 a8ru7j80a7gb7pul65a3jv8nhi Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@180729.9685 a8ru7j80a7gb7pul65a3jv8nhi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='48';
20230424@180729.9697 a8ru7j80a7gb7pul65a3jv8nhi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='48';
20230424@180730.3000 3u203ciqjc5kqhl96iff1943ao Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180730.5000 3u203ciqjc5kqhl96iff1943ao Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180730.6500 3u203ciqjc5kqhl96iff1943ao Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='49';
20230424@180730.1050 3u203ciqjc5kqhl96iff1943ao Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='49';
20230424@180730.1180 3u203ciqjc5kqhl96iff1943ao Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='49';
20230424@180730.1290 3u203ciqjc5kqhl96iff1943ao Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='49';
20230424@180730.1420 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.1450 3u203ciqjc5kqhl96iff1943ao Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180730.1590 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.1620 3u203ciqjc5kqhl96iff1943ao Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20230424@180730.1960 3u203ciqjc5kqhl96iff1943ao 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'
20230424@180730.3460 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='304.422.00.07' and bi.lordem =1
20230424@180730.6400 3u203ciqjc5kqhl96iff1943ao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20230424@180730.6510 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.1705.00.1' and bi.lordem =2
20230424@180730.9350 3u203ciqjc5kqhl96iff1943ao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20230424@180730.1062 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.1706.00.1' and bi.lordem =3
20230424@180730.1361 3u203ciqjc5kqhl96iff1943ao 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'
20230424@180730.1490 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='304.4320.00.1' and bi.lordem =4
20230424@180730.1781 3u203ciqjc5kqhl96iff1943ao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20230424@180730.1792 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.948.00.01' and bi.lordem =6
20230424@180730.2777 3u203ciqjc5kqhl96iff1943ao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20230424@180730.2920 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.1406.00.1' and bi.lordem =8
20230424@180730.3218 3u203ciqjc5kqhl96iff1943ao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20230424@180730.3229 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.4930.00.1' and bi.lordem =9
20230424@180730.3561 3u203ciqjc5kqhl96iff1943ao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20230424@180730.3702 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.2031.00.1' and bi.lordem =10
20230424@180730.3996 3u203ciqjc5kqhl96iff1943ao Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20230424@180730.4131 3u203ciqjc5kqhl96iff1943ao Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.711.00.01' and bi.lordem =11
20230424@180730.4643 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.4647 3u203ciqjc5kqhl96iff1943ao Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180730.4663 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.4666 3u203ciqjc5kqhl96iff1943ao Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180730.4678 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.4681 3u203ciqjc5kqhl96iff1943ao Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180730.4691 3u203ciqjc5kqhl96iff1943ao 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
20230424@180730.4707 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.4710 3u203ciqjc5kqhl96iff1943ao Query : select top 1 ~inactivo valor from cl where no = '100404' and estab = 0 order by inactivo desc
20230424@180730.4720 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.4723 3u203ciqjc5kqhl96iff1943ao Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180730.4733 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.4736 3u203ciqjc5kqhl96iff1943ao Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180730.4746 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.4749 3u203ciqjc5kqhl96iff1943ao Query : select szadrsstamp valor from szadrs where szadrsdesc='bitranlis, agentes transitára'
20230424@180730.4760 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.4763 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from td where ndoc = 39
20230424@180730.4773 3u203ciqjc5kqhl96iff1943ao Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180730.4784 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180730.4797 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180730.4808 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180730.4820 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180730.4824 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180730.4831 3u203ciqjc5kqhl96iff1943ao Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180730.4871 3u203ciqjc5kqhl96iff1943ao Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180730.4879 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180730.4885 3u203ciqjc5kqhl96iff1943ao Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b329106446b75275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180730.4890 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180730.4901 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180730.4905 3u203ciqjc5kqhl96iff1943ao Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b329106446b75275',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180730.4912 3u203ciqjc5kqhl96iff1943ao Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180730.4941 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180730.4952 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180730.4962 3u203ciqjc5kqhl96iff1943ao Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6446b329106446b75275',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',19,100404,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180730.5206 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.5209 3u203ciqjc5kqhl96iff1943ao Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230424@180730.5221 3u203ciqjc5kqhl96iff1943ao 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'
20230424@180730.5352 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.5365 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180730.5375 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.5388 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180730.5392 3u203ciqjc5kqhl96iff1943ao Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230334'
20230424@180730.5403 3u203ciqjc5kqhl96iff1943ao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180730.5413 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.5424 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180730.5433 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b845346446b75284',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6446b329106446b75275' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180730.5646 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.5660 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180730.5664 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b845346446b75284','aut6446b329106446b75275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180730.5669 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.5672 3u203ciqjc5kqhl96iff1943ao Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20230424@180730.5683 3u203ciqjc5kqhl96iff1943ao 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.1705.00.1'
20230424@180730.5693 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.5704 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180730.5714 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.5725 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180730.5729 3u203ciqjc5kqhl96iff1943ao Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2200112200a'
20230424@180730.5738 3u203ciqjc5kqhl96iff1943ao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180730.5746 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.5758 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180730.5767 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b685646446b7528c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6446b329106446b75275' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230424@180730.5968 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.5980 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180730.5985 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b685646446b7528c','aut6446b329106446b75275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180730.5988 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.5991 3u203ciqjc5kqhl96iff1943ao Query : select st.usalote valor from st where st.ref = '324.1706.00.1'
20230424@180730.6002 3u203ciqjc5kqhl96iff1943ao 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.1706.00.1'
20230424@180730.6148 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.6165 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180730.6175 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.6188 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180730.6192 3u203ciqjc5kqhl96iff1943ao Query : select sestamp valor from se where ref ='324.1706.00.1' and lote = 'r2100123100b'
20230424@180730.6203 3u203ciqjc5kqhl96iff1943ao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180730.6213 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.6224 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180730.6234 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b643196446b75297',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6446b329106446b75275' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230424@180730.6454 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.6467 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180730.6471 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b643196446b75297','aut6446b329106446b75275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180730.6475 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.6478 3u203ciqjc5kqhl96iff1943ao Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230424@180730.6489 3u203ciqjc5kqhl96iff1943ao 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'
20230424@180730.6626 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.6638 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180730.6649 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.6661 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180730.6665 3u203ciqjc5kqhl96iff1943ao Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230424@180730.6675 3u203ciqjc5kqhl96iff1943ao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180730.6685 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.6701 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180730.6712 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b809266446b752a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6446b329106446b75275' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230424@180730.6924 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.6937 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180730.6941 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b809266446b752a3','aut6446b329106446b75275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180730.6945 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.6949 3u203ciqjc5kqhl96iff1943ao Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230424@180730.6958 3u203ciqjc5kqhl96iff1943ao 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.948.00.01'
20230424@180730.6968 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.6980 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180730.6989 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180730.7000 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180730.7004 3u203ciqjc5kqhl96iff1943ao Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230424@180730.7008 3u203ciqjc5kqhl96iff1943ao Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180730.7018 3u203ciqjc5kqhl96iff1943ao Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180730.7030 3u203ciqjc5kqhl96iff1943ao Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180730.7040 3u203ciqjc5kqhl96iff1943ao Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b422526446b752ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6446b329106446b75275' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230424@180730.7278 3u203ciqjc5kqhl96iff1943ao Query : use flama_phc
20230424@180730.7282 3u203ciqjc5kqhl96iff1943ao Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@180730.7293 3u203ciqjc5kqhl96iff1943ao Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='49';
20230424@180730.7304 3u203ciqjc5kqhl96iff1943ao Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='49';
20230424@180730.7634 l0898a5icjas9t9o6ive61n5jr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180730.7647 l0898a5icjas9t9o6ive61n5jr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180730.7661 l0898a5icjas9t9o6ive61n5jr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='50';
20230424@180730.7701 l0898a5icjas9t9o6ive61n5jr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='50';
20230424@180730.7711 l0898a5icjas9t9o6ive61n5jr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='50';
20230424@180730.7721 l0898a5icjas9t9o6ive61n5jr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='50';
20230424@180730.7730 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180730.7733 l0898a5icjas9t9o6ive61n5jr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180730.7745 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180730.7748 l0898a5icjas9t9o6ive61n5jr Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20230424@180730.7780 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20230424@180730.7790 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1705.00.1' and bi.lordem =1
20230424@180730.8099 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20230424@180730.8110 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1706.00.1' and bi.lordem =2
20230424@180730.8413 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9005.00.1'
20230424@180730.8550 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='328.9005.00.1' and bi.lordem =3
20230424@180730.8891 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9035.00.1'
20230424@180730.9044 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='328.9035.00.1' and bi.lordem =4
20230424@180730.9360 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.542.00.01'
20230424@180730.9504 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.542.00.01' and bi.lordem =5
20230424@180731.1950 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9335.00.1'
20230424@180731.7180 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='328.9335.00.1' and bi.lordem =6
20230424@180731.1005 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.724.00.01'
20230424@180731.1137 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.724.00.01' and bi.lordem =7
20230424@180731.1440 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20230424@180731.1570 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.736.00.01' and bi.lordem =9
20230424@180731.1868 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20230424@180731.2000 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1716.00.1' and bi.lordem =11
20230424@180731.2290 l0898a5icjas9t9o6ive61n5jr 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'
20230424@180731.2429 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1470.00.1' and bi.lordem =13
20230424@180731.2726 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1266.00.1'
20230424@180731.2866 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1266.00.1' and bi.lordem =14
20230424@180731.3162 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230424@180731.3307 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.5540.00.1' and bi.lordem =15
20230424@180731.3621 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20230424@180731.3768 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.5343.00.1' and bi.lordem =16
20230424@180731.4110 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20230424@180731.4252 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.5342.00.1' and bi.lordem =17
20230424@180731.4649 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20230424@180731.4797 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1416.00.1' and bi.lordem =18
20230424@180731.5098 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20230424@180731.5227 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2066.00.1' and bi.lordem =19
20230424@180731.5503 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2028.00.2'
20230424@180731.5626 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2028.00.2' and bi.lordem =20
20230424@180731.5902 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2034.00.2'
20230424@180731.6027 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2034.00.2' and bi.lordem =21
20230424@180731.6316 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2203.00.1'
20230424@180731.6448 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2203.00.1' and bi.lordem =22
20230424@180731.6727 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.656.00.01'
20230424@180731.6852 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.656.00.01' and bi.lordem =23
20230424@180731.7163 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20230424@180731.7309 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.727.00.01' and bi.lordem =24
20230424@180731.7601 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20230424@180731.7738 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.719.00.01' and bi.lordem =26
20230424@180731.8032 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20230424@180731.8043 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2031.00.1' and bi.lordem =28
20230424@180731.9083 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2041.00.1'
20230424@180731.9239 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2041.00.1' and bi.lordem =30
20230424@180731.9552 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20230424@180731.9563 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.711.00.01' and bi.lordem =32
20230424@180731.9874 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.734.00.01'
20230424@180732.2200 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.734.00.01' and bi.lordem =34
20230424@180732.3150 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9306.00.1'
20230424@180732.3260 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='328.9306.00.1' and bi.lordem =36
20230424@180732.6140 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20230424@180732.7500 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.4585.00.1' and bi.lordem =37
20230424@180732.1044 l0898a5icjas9t9o6ive61n5jr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230424@180732.1055 l0898a5icjas9t9o6ive61n5jr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.670.00.01' and bi.lordem =38
20230424@180732.1347 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1350 l0898a5icjas9t9o6ive61n5jr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180732.1363 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1365 l0898a5icjas9t9o6ive61n5jr Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180732.1375 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1378 l0898a5icjas9t9o6ive61n5jr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180732.1389 l0898a5icjas9t9o6ive61n5jr 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
20230424@180732.1402 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1405 l0898a5icjas9t9o6ive61n5jr Query : select top 1 ~inactivo valor from cl where no = '100404' and estab = 0 order by inactivo desc
20230424@180732.1415 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1418 l0898a5icjas9t9o6ive61n5jr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180732.1428 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1431 l0898a5icjas9t9o6ive61n5jr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180732.1442 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1446 l0898a5icjas9t9o6ive61n5jr Query : select szadrsstamp valor from szadrs where szadrsdesc='bitranlis, agentes transitára'
20230424@180732.1458 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1460 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from td where ndoc = 39
20230424@180732.1470 l0898a5icjas9t9o6ive61n5jr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180732.1480 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180732.1494 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180732.1503 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180732.1515 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180732.1519 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180732.1525 l0898a5icjas9t9o6ive61n5jr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180732.1565 l0898a5icjas9t9o6ive61n5jr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180732.1574 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180732.1580 l0898a5icjas9t9o6ive61n5jr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b524396446b75425' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180732.1585 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180732.1597 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180732.1601 l0898a5icjas9t9o6ive61n5jr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b524396446b75425',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180732.1606 l0898a5icjas9t9o6ive61n5jr Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180732.1616 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180732.1628 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180732.1637 l0898a5icjas9t9o6ive61n5jr Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6446b524396446b75425',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',19,100404,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180732.1885 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.1888 l0898a5icjas9t9o6ive61n5jr Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20230424@180732.1899 l0898a5icjas9t9o6ive61n5jr 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.1705.00.1'
20230424@180732.1911 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180732.1924 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180732.1933 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180732.1945 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180732.1949 l0898a5icjas9t9o6ive61n5jr Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2200112200a'
20230424@180732.1958 l0898a5icjas9t9o6ive61n5jr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180732.1968 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180732.1981 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180732.1990 l0898a5icjas9t9o6ive61n5jr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b719426446b75430',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6446b524396446b75425' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180732.2210 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180732.2224 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180732.2228 l0898a5icjas9t9o6ive61n5jr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b719426446b75430','aut6446b524396446b75425' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180732.2233 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.2235 l0898a5icjas9t9o6ive61n5jr Query : select st.usalote valor from st where st.ref = '324.1706.00.1'
20230424@180732.2246 l0898a5icjas9t9o6ive61n5jr 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.1706.00.1'
20230424@180732.2263 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180732.2276 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180732.2286 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180732.2298 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180732.2302 l0898a5icjas9t9o6ive61n5jr Query : select sestamp valor from se where ref ='324.1706.00.1' and lote = 'r2100123100b'
20230424@180732.2312 l0898a5icjas9t9o6ive61n5jr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180732.2321 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180732.2333 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180732.2342 l0898a5icjas9t9o6ive61n5jr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b971166446b75438',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut6446b524396446b75425' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230424@180732.2576 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180732.2592 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180732.2597 l0898a5icjas9t9o6ive61n5jr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b971166446b75438','aut6446b524396446b75425' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180732.2602 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.2605 l0898a5icjas9t9o6ive61n5jr Query : select st.usalote valor from st where st.ref = '328.9005.00.1'
20230424@180732.2616 l0898a5icjas9t9o6ive61n5jr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9005.00.1'
20230424@180732.3595 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180732.3610 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180732.3620 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180732.3635 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180732.3639 l0898a5icjas9t9o6ive61n5jr Query : select sestamp valor from se where ref ='328.9005.00.1' and lote = 'r2100770200a'
20230424@180732.3644 l0898a5icjas9t9o6ive61n5jr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180732.3654 l0898a5icjas9t9o6ive61n5jr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180732.3680 l0898a5icjas9t9o6ive61n5jr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180732.3690 l0898a5icjas9t9o6ive61n5jr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b633066446b75459',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3 ,'aut6446b524396446b75425' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230424@180732.3919 l0898a5icjas9t9o6ive61n5jr Query : use flama_phc
20230424@180732.3923 l0898a5icjas9t9o6ive61n5jr Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@180732.3934 l0898a5icjas9t9o6ive61n5jr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='50';
20230424@180732.3945 l0898a5icjas9t9o6ive61n5jr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='50';

20230426@094205.6634 uiocmvnmn0cffslubj0fck236b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='51';
20230426@094205.6658 uiocmvnmn0cffslubj0fck236b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='51';
20230426@094205.6673 uiocmvnmn0cffslubj0fck236b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='51';
20230426@094233.9528 aum6o41vq28j4ka8cfbu1m2i43 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@094233.9541 aum6o41vq28j4ka8cfbu1m2i43 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@094233.9553 aum6o41vq28j4ka8cfbu1m2i43 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='52';
20230426@094233.9589 aum6o41vq28j4ka8cfbu1m2i43 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='52';
20230426@094233.9600 aum6o41vq28j4ka8cfbu1m2i43 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='52';
20230426@094233.9610 aum6o41vq28j4ka8cfbu1m2i43 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='52';

20230426@164301.8731 cpa0lo30j7tu3rngjae8bhh9h4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='53';
20230426@164301.8751 cpa0lo30j7tu3rngjae8bhh9h4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='53';
20230426@164301.8761 cpa0lo30j7tu3rngjae8bhh9h4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='53';
20230426@164301.8771 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164301.8774 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@164301.8813 cpa0lo30j7tu3rngjae8bhh9h4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20230426@164301.8886 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4902.00.1'
20230426@164301.8997 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1846.00.1'
20230426@164301.9085 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1846.00.1'
20230426@164301.9094 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4906.00.1'
20230426@164301.9178 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1824.00.1'
20230426@164301.9262 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164301.9265 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 1 valor from ts where ts.ndos = 5
20230426@164301.9342 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164301.9345 cpa0lo30j7tu3rngjae8bhh9h4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@164301.9388 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20230426@164301.9507 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164301.9511 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20230426@164301.9578 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164301.9581 cpa0lo30j7tu3rngjae8bhh9h4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@164301.9622 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164301.9625 cpa0lo30j7tu3rngjae8bhh9h4 Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20230426@164301.9639 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164301.9642 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from ts where ndos = 5
20230426@164301.9711 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230426@164302.7000 cpa0lo30j7tu3rngjae8bhh9h4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20230426@164302.4900 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230426@164302.1247 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230426@164302.1520 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20230426@164302.1630 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230426@164302.1734 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230426@164302.1800 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164302.1804 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20230426@164302.1871 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230426@164302.1878 cpa0lo30j7tu3rngjae8bhh9h4 Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449482691644946862b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20230426@164302.2330 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230426@164302.2365 cpa0lo30j7tu3rngjae8bhh9h4 Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut6449482691644946862b','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20230426','17:13',?,?)
20230426@164302.2868 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230426@164302.2883 cpa0lo30j7tu3rngjae8bhh9h4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20230426@164302.3183 cpa0lo30j7tu3rngjae8bhh9h4 Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut6449482691644946862b','trf entre armazéns a','2023-04-26',5,153,?,?,?,?,?,?,?,?,2023, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20230426@164302.3685 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164302.3689 cpa0lo30j7tu3rngjae8bhh9h4 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230426@164302.3818 cpa0lo30j7tu3rngjae8bhh9h4 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'
20230426@164302.3950 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230426@164302.4245 cpa0lo30j7tu3rngjae8bhh9h4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230426@164302.4293 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230426@164302.4571 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230426@164302.4590 cpa0lo30j7tu3rngjae8bhh9h4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230426@164302.4605 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230426@164302.4611 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@164302.4651 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230426@164302.4664 cpa0lo30j7tu3rngjae8bhh9h4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230426@164302.4697 cpa0lo30j7tu3rngjae8bhh9h4 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut64494501786449468671',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut6449482691644946862b'
20230426@164302.5160 cpa0lo30j7tu3rngjae8bhh9h4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230426@164302.5170 cpa0lo30j7tu3rngjae8bhh9h4 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut64494501786449468671','aut6449482691644946862b',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut6449482691644946862b'
20230426@164302.5375 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164302.5380 cpa0lo30j7tu3rngjae8bhh9h4 Query : select st.usalote valor from st where st.ref = '324.1846.00.1'
20230426@164302.5393 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164302.5396 cpa0lo30j7tu3rngjae8bhh9h4 Query : select st.usalote valor from st where st.ref = '324.1846.00.1'
20230426@164302.5406 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164302.5411 cpa0lo30j7tu3rngjae8bhh9h4 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230426@164302.5422 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164302.5436 cpa0lo30j7tu3rngjae8bhh9h4 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230426@164302.5460 cpa0lo30j7tu3rngjae8bhh9h4 Query : use flama_phc
20230426@164302.5464 cpa0lo30j7tu3rngjae8bhh9h4 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20230426@164302.5523 cpa0lo30j7tu3rngjae8bhh9h4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='53';
20230426@164302.5534 cpa0lo30j7tu3rngjae8bhh9h4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='53';

20230426@175826.6384 mgppbbgtdsso8qu7k1hkstviod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='54';
20230426@175826.6395 mgppbbgtdsso8qu7k1hkstviod Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='54';
20230426@175826.6405 mgppbbgtdsso8qu7k1hkstviod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='54';
20230426@175826.6414 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.6417 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175826.6429 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.6432 mgppbbgtdsso8qu7k1hkstviod Query : select no, estab,szadrsdesc from szadrs where u_coddest=3099
20230426@175826.6501 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20230426@175826.6637 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2221.00.1' and bi.lordem =1
20230426@175826.6939 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20230426@175826.7063 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2222.00.1' and bi.lordem =2
20230426@175826.7342 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.1'
20230426@175826.7466 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1642.00.1' and bi.lordem =3
20230426@175826.7741 mgppbbgtdsso8qu7k1hkstviod 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'
20230426@175826.7869 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1824.00.1' and bi.lordem =4
20230426@175826.8155 mgppbbgtdsso8qu7k1hkstviod 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'
20230426@175826.8280 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1684.00.1' and bi.lordem =5
20230426@175826.8555 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.8559 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175826.8710 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.8713 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175826.8760 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.8763 mgppbbgtdsso8qu7k1hkstviod Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175826.8774 mgppbbgtdsso8qu7k1hkstviod 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
20230426@175826.8853 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.8856 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230426@175826.9434 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.9438 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175826.9494 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.9497 mgppbbgtdsso8qu7k1hkstviod Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175826.9509 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.9512 mgppbbgtdsso8qu7k1hkstviod Query : select szadrsstamp valor from szadrs where szadrsdesc='central de compras de herramientas, s.l.'
20230426@175826.9525 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175826.9528 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from td where ndoc = 39
20230426@175826.9662 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175826.9718 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175827.9000 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175827.4800 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175827.3150 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175827.3370 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175827.6080 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175827.7650 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175827.8230 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175827.8290 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449503963644958330e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175827.1265 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175827.1282 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175827.1305 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449503963644958330e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175827.3035 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175827.3084 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175827.3097 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175827.3125 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6449503963644958330e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',19,200500,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175827.3525 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175827.3530 mgppbbgtdsso8qu7k1hkstviod Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20230426@175827.3543 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20230426@175827.3671 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.3943 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175827.3988 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.4258 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175827.4280 mgppbbgtdsso8qu7k1hkstviod Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2101297200a'
20230426@175827.4334 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175827.4343 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.4356 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175827.4384 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449577386644958336a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6449503963644958330e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175827.4689 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.4703 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175827.4725 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449577386644958336a','aut6449503963644958330e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175827.4796 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175827.4799 mgppbbgtdsso8qu7k1hkstviod Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20230426@175827.4810 mgppbbgtdsso8qu7k1hkstviod 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.2222.00.1'
20230426@175827.4943 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.4958 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175827.4969 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.4984 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175827.4988 mgppbbgtdsso8qu7k1hkstviod Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2101297100a'
20230426@175827.5039 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175827.5506 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.5522 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175827.5532 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495857666449583386',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6449503963644958330e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230426@175827.5751 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.5766 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175827.5770 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495857666449583386','aut6449503963644958330e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175827.5775 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175827.5778 mgppbbgtdsso8qu7k1hkstviod Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230426@175827.5789 mgppbbgtdsso8qu7k1hkstviod 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.1642.00.1'
20230426@175827.5918 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.5931 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175827.5940 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.5951 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175827.5955 mgppbbgtdsso8qu7k1hkstviod Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230426@175827.5967 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175827.5977 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.5989 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175827.5999 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495551606449583391',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6449503963644958330e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230426@175827.6215 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.6228 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175827.6232 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495551606449583391','aut6449503963644958330e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175827.6236 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175827.6239 mgppbbgtdsso8qu7k1hkstviod Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230426@175827.6249 mgppbbgtdsso8qu7k1hkstviod 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'
20230426@175827.6379 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.6392 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175827.6401 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.6413 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175827.6417 mgppbbgtdsso8qu7k1hkstviod Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230426@175827.6429 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175827.6438 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.6450 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175827.6460 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449573258644958339d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72 ,'aut6449503963644958330e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175827.6680 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.6693 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175827.6698 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449573258644958339d','aut6449503963644958330e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175827.6702 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.6715 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175827.6724 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.6736 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175827.6740 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175827.6749 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.6761 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175827.6771 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644955956364495833a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6449503963644958330e' ,0,0 ,2,23.00,50000,?,?,?)
20230426@175827.7036 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.7050 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175827.7054 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644955956364495833a4','aut6449503963644958330e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175827.7058 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175827.7061 mgppbbgtdsso8qu7k1hkstviod Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230426@175827.7072 mgppbbgtdsso8qu7k1hkstviod 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'
20230426@175827.7199 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.7213 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175827.7223 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.7235 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175827.7239 mgppbbgtdsso8qu7k1hkstviod Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230426@175827.7250 mgppbbgtdsso8qu7k1hkstviod Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175827.7259 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175827.7271 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175827.7280 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644957091264495833b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut6449503963644958330e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230426@175827.7595 mgppbbgtdsso8qu7k1hkstviod Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175827.8374 mgppbbgtdsso8qu7k1hkstviod Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175827.8379 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644957091264495833b1','aut6449503963644958330e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175827.8385 mgppbbgtdsso8qu7k1hkstviod Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6449503963644958330e','','wait',39,'ari17112337378,753000005')
20230426@175827.8424 mgppbbgtdsso8qu7k1hkstviod Query : use flama_phc
20230426@175827.8428 mgppbbgtdsso8qu7k1hkstviod Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230426@175827.8444 mgppbbgtdsso8qu7k1hkstviod Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='54';
20230426@175827.8457 mgppbbgtdsso8qu7k1hkstviod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='54';
20230426@175827.8476 mgppbbgtdsso8qu7k1hkstviod Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='54';
20230426@175827.8486 mgppbbgtdsso8qu7k1hkstviod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='54';
20230426@175828.2339 uphlq40sm19e3bohkp3nl5rfau Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175828.2352 uphlq40sm19e3bohkp3nl5rfau Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175828.2364 uphlq40sm19e3bohkp3nl5rfau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='55';
20230426@175828.2401 uphlq40sm19e3bohkp3nl5rfau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='55';
20230426@175828.2412 uphlq40sm19e3bohkp3nl5rfau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='55';
20230426@175828.2422 uphlq40sm19e3bohkp3nl5rfau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='55';
20230426@175828.2432 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.2435 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175828.2447 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.2450 uphlq40sm19e3bohkp3nl5rfau Query : select no, estab,szadrsdesc from szadrs where u_coddest=4537
20230426@175828.2521 uphlq40sm19e3bohkp3nl5rfau 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'
20230426@175828.2657 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='304.422.00.07' and bi.lordem =1
20230426@175828.2951 uphlq40sm19e3bohkp3nl5rfau 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'
20230426@175828.3078 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='304.4320.00.1' and bi.lordem =2
20230426@175828.3382 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20230426@175828.3512 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.4723.00.2' and bi.lordem =3
20230426@175828.3799 uphlq40sm19e3bohkp3nl5rfau 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'
20230426@175828.3811 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1824.00.1' and bi.lordem =4
20230426@175828.4094 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20230426@175828.5062 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.4930.00.1' and bi.lordem =5
20230426@175828.5364 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20230426@175828.5493 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.958.00.01' and bi.lordem =6
20230426@175828.5778 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1613.00.1'
20230426@175828.5902 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1613.00.1' and bi.lordem =7
20230426@175828.6183 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.1'
20230426@175828.6194 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1642.00.1' and bi.lordem =8
20230426@175828.6474 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20230426@175828.6594 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1646.00.1' and bi.lordem =9
20230426@175828.6893 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.6896 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175828.6909 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.6912 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175828.6921 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.6924 uphlq40sm19e3bohkp3nl5rfau Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175828.6935 uphlq40sm19e3bohkp3nl5rfau 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
20230426@175828.6948 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.6950 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230426@175828.6960 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.6963 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175828.6972 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.6975 uphlq40sm19e3bohkp3nl5rfau Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175828.6984 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.6987 uphlq40sm19e3bohkp3nl5rfau Query : select szadrsstamp valor from szadrs where szadrsdesc='novaem distec, s.l.u-entrega'
20230426@175828.6998 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.7001 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from td where ndoc = 39
20230426@175828.7010 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175828.7021 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175828.7033 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175828.7042 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175828.7055 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175828.7059 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175828.7065 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175828.7105 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175828.7115 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175828.7121 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644952495564495834ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175828.7126 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175828.7137 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175828.7141 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644952495564495834ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175828.7146 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175828.7155 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175828.7167 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175828.7176 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644952495564495834ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20,200500,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175828.7417 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.7420 uphlq40sm19e3bohkp3nl5rfau Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230426@175828.7432 uphlq40sm19e3bohkp3nl5rfau 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'
20230426@175828.7557 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.7570 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175828.7579 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.7592 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175828.7596 uphlq40sm19e3bohkp3nl5rfau Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230334'
20230426@175828.7607 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175828.7617 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.7628 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175828.7637 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644952734764495834b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut644952495564495834ac' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175828.7858 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.7872 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175828.7876 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644952734764495834b9','aut644952495564495834ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175828.7880 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.7883 uphlq40sm19e3bohkp3nl5rfau Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230426@175828.7894 uphlq40sm19e3bohkp3nl5rfau 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'
20230426@175828.8028 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.8041 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175828.8050 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.8063 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175828.8067 uphlq40sm19e3bohkp3nl5rfau Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230426@175828.8078 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175828.8087 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.8099 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175828.8108 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644956324464495834c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644952495564495834ac' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230426@175828.8324 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.8338 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175828.8342 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644956324464495834c5','aut644952495564495834ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175828.8346 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.8349 uphlq40sm19e3bohkp3nl5rfau Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20230426@175828.8359 uphlq40sm19e3bohkp3nl5rfau 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.4723.00.2'
20230426@175828.8486 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.8499 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175828.8508 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.8520 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175828.8524 uphlq40sm19e3bohkp3nl5rfau Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2200682200a'
20230426@175828.8535 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175828.8544 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.8556 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175828.8566 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644954152564495834d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644952495564495834ac' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230426@175828.8778 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.8793 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175828.8797 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644954152564495834d0','aut644952495564495834ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175828.8801 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.8803 uphlq40sm19e3bohkp3nl5rfau Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230426@175828.8814 uphlq40sm19e3bohkp3nl5rfau 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'
20230426@175828.8824 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.8836 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175828.8845 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.8856 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175828.8860 uphlq40sm19e3bohkp3nl5rfau Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230426@175828.8869 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175828.8878 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.8889 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175828.8898 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644951789064495834d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644952495564495834ac' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175828.9117 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.9130 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175828.9135 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644951789064495834d8','aut644952495564495834ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175828.9140 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.9154 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175828.9168 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.9179 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175828.9183 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175828.9192 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.9203 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175828.9212 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644955362764495834e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644952495564495834ac' ,0,0 ,2,23.00,50000,?,?,?)
20230426@175828.9429 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.9444 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175828.9448 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644955362764495834e0','aut644952495564495834ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175828.9452 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.9455 uphlq40sm19e3bohkp3nl5rfau Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20230426@175828.9467 uphlq40sm19e3bohkp3nl5rfau 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.4930.00.1'
20230426@175828.9592 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.9604 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175828.9614 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.9625 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175828.9629 uphlq40sm19e3bohkp3nl5rfau Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2100754100a'
20230426@175828.9640 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175828.9650 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175828.9662 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175828.9671 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644951085964495834eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644952495564495834ac' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230426@175828.9967 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175828.9981 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175828.9985 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644951085964495834eb','aut644952495564495834ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175828.9990 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175828.9993 uphlq40sm19e3bohkp3nl5rfau Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20230426@175829.4000 uphlq40sm19e3bohkp3nl5rfau 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.958.00.01'
20230426@175829.1340 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.1470 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175829.1560 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.1680 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175829.1720 uphlq40sm19e3bohkp3nl5rfau Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2200700200a'
20230426@175829.1820 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175829.1910 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.2050 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175829.2170 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495340696449583504',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644952495564495834ac' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20230426@175829.4360 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.4500 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175829.4540 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495340696449583504','aut644952495564495834ac' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175829.4580 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175829.4610 uphlq40sm19e3bohkp3nl5rfau Query : select st.usalote valor from st where st.ref = '324.1613.00.1'
20230426@175829.4720 uphlq40sm19e3bohkp3nl5rfau 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.1613.00.1'
20230426@175829.6180 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.6310 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175829.6410 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.6530 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175829.6570 uphlq40sm19e3bohkp3nl5rfau Query : select sestamp valor from se where ref ='324.1613.00.1' and lote = 'r2100539100a'
20230426@175829.6630 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175829.6730 uphlq40sm19e3bohkp3nl5rfau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.6850 uphlq40sm19e3bohkp3nl5rfau Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175829.6940 uphlq40sm19e3bohkp3nl5rfau Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495526696449583510',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644952495564495834ac' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20230426@175829.9160 uphlq40sm19e3bohkp3nl5rfau Query : use flama_phc
20230426@175829.9200 uphlq40sm19e3bohkp3nl5rfau Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175829.9630 uphlq40sm19e3bohkp3nl5rfau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='55';
20230426@175829.9740 uphlq40sm19e3bohkp3nl5rfau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='55';
20230426@175829.1282 mivvn4p934fiits4rkdle9kplm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175829.1293 mivvn4p934fiits4rkdle9kplm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175829.1305 mivvn4p934fiits4rkdle9kplm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='56';
20230426@175829.1341 mivvn4p934fiits4rkdle9kplm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='56';
20230426@175829.1351 mivvn4p934fiits4rkdle9kplm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='56';
20230426@175829.1361 mivvn4p934fiits4rkdle9kplm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='56';
20230426@175829.1370 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.1373 mivvn4p934fiits4rkdle9kplm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175829.1384 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.1387 mivvn4p934fiits4rkdle9kplm Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20230426@175829.1454 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.636.00.01'
20230426@175829.2446 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.636.00.01' and bi.lordem =1
20230426@175829.2743 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20230426@175829.2753 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.958.00.01' and bi.lordem =2
20230426@175829.3032 mivvn4p934fiits4rkdle9kplm 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'
20230426@175829.3156 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.959.00.01' and bi.lordem =3
20230426@175829.3473 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.620.00.01'
20230426@175829.3601 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.620.00.01' and bi.lordem =4
20230426@175829.3888 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1518.00.1'
20230426@175829.4013 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1518.00.1' and bi.lordem =5
20230426@175829.4298 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20230426@175829.4422 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.5342.00.1' and bi.lordem =6
20230426@175829.4701 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20230426@175829.4823 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.5343.00.1' and bi.lordem =7
20230426@175829.5106 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.1'
20230426@175829.5117 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1642.00.1' and bi.lordem =8
20230426@175829.5408 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20230426@175829.5539 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.4960.00.1' and bi.lordem =9
20230426@175829.5830 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20230426@175829.5958 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.4980.00.1' and bi.lordem =10
20230426@175829.6240 mivvn4p934fiits4rkdle9kplm 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'
20230426@175829.6366 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.4421.00.1' and bi.lordem =11
20230426@175829.6654 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20230426@175829.6796 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.642.00.01' and bi.lordem =12
20230426@175829.7092 mivvn4p934fiits4rkdle9kplm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20230426@175829.7222 mivvn4p934fiits4rkdle9kplm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1536.00.1' and bi.lordem =13
20230426@175829.7502 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.7506 mivvn4p934fiits4rkdle9kplm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175829.7520 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.7523 mivvn4p934fiits4rkdle9kplm Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175829.7533 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.7536 mivvn4p934fiits4rkdle9kplm Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175829.7547 mivvn4p934fiits4rkdle9kplm 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
20230426@175829.7561 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.7564 mivvn4p934fiits4rkdle9kplm Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20230426@175829.7661 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.7664 mivvn4p934fiits4rkdle9kplm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175829.7674 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.7677 mivvn4p934fiits4rkdle9kplm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175829.7688 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.7691 mivvn4p934fiits4rkdle9kplm Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20230426@175829.7704 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.7706 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from td where ndoc = 39
20230426@175829.7717 mivvn4p934fiits4rkdle9kplm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175829.7729 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175829.7743 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175829.7752 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175829.7765 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175829.7769 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175829.7776 mivvn4p934fiits4rkdle9kplm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175829.7817 mivvn4p934fiits4rkdle9kplm Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175829.7828 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175829.7835 mivvn4p934fiits4rkdle9kplm Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644954731464495835bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175829.7851 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175829.7865 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175829.7869 mivvn4p934fiits4rkdle9kplm Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644954731464495835bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175829.7884 mivvn4p934fiits4rkdle9kplm Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175829.7895 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175829.7907 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175829.7920 mivvn4p934fiits4rkdle9kplm Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644954731464495835bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20,101889,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175829.8180 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.8184 mivvn4p934fiits4rkdle9kplm Query : select st.usalote valor from st where st.ref = '324.636.00.01'
20230426@175829.8196 mivvn4p934fiits4rkdle9kplm 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.636.00.01'
20230426@175829.8327 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.8341 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175829.8351 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.8365 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175829.8369 mivvn4p934fiits4rkdle9kplm Query : select sestamp valor from se where ref ='324.636.00.01' and lote = 'r2001475100a'
20230426@175829.8382 mivvn4p934fiits4rkdle9kplm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175829.8393 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.8406 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175829.8416 mivvn4p934fiits4rkdle9kplm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644955308564495835cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644954731464495835bd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175829.8646 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.8663 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175829.8667 mivvn4p934fiits4rkdle9kplm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644955308564495835cc','aut644954731464495835bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175829.8677 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.8680 mivvn4p934fiits4rkdle9kplm Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20230426@175829.8692 mivvn4p934fiits4rkdle9kplm 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.958.00.01'
20230426@175829.8703 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.8717 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175829.8726 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.8739 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175829.8743 mivvn4p934fiits4rkdle9kplm Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2200700200a'
20230426@175829.8753 mivvn4p934fiits4rkdle9kplm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175829.8763 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.8776 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175829.8798 mivvn4p934fiits4rkdle9kplm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644950012864495835d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644954731464495835bd' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230426@175829.9020 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.9035 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175829.9039 mivvn4p934fiits4rkdle9kplm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644950012864495835d5','aut644954731464495835bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175829.9043 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.9046 mivvn4p934fiits4rkdle9kplm Query : select st.usalote valor from st where st.ref = '324.959.00.01'
20230426@175829.9059 mivvn4p934fiits4rkdle9kplm 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'
20230426@175829.9200 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.9214 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175829.9224 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.9236 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175829.9241 mivvn4p934fiits4rkdle9kplm Query : select sestamp valor from se where ref ='324.959.00.01' and lote = 'r2100174200a'
20230426@175829.9252 mivvn4p934fiits4rkdle9kplm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175829.9262 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.9275 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175829.9285 mivvn4p934fiits4rkdle9kplm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644958730164495835e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644954731464495835bd' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230426@175829.9503 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.9517 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175829.9522 mivvn4p934fiits4rkdle9kplm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644958730164495835e2','aut644954731464495835bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175829.9526 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.9529 mivvn4p934fiits4rkdle9kplm Query : select st.usalote valor from st where st.ref = '324.620.00.01'
20230426@175829.9541 mivvn4p934fiits4rkdle9kplm 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.620.00.01'
20230426@175829.9676 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.9689 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175829.9699 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175829.9711 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175829.9716 mivvn4p934fiits4rkdle9kplm Query : select sestamp valor from se where ref ='324.620.00.01' and lote = '07/20'
20230426@175829.9722 mivvn4p934fiits4rkdle9kplm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175829.9733 mivvn4p934fiits4rkdle9kplm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175829.9744 mivvn4p934fiits4rkdle9kplm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175829.9754 mivvn4p934fiits4rkdle9kplm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644955194564495835ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut644954731464495835bd' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175829.9994 mivvn4p934fiits4rkdle9kplm Query : use flama_phc
20230426@175829.9997 mivvn4p934fiits4rkdle9kplm Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175830.9000 mivvn4p934fiits4rkdle9kplm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='56';
20230426@175830.2000 mivvn4p934fiits4rkdle9kplm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='56';
20230426@175830.3460 66frgbm4il354bco5uk9i23k0m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175830.3580 66frgbm4il354bco5uk9i23k0m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175830.3720 66frgbm4il354bco5uk9i23k0m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='57';
20230426@175830.4100 66frgbm4il354bco5uk9i23k0m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='57';
20230426@175830.4240 66frgbm4il354bco5uk9i23k0m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='57';
20230426@175830.5570 66frgbm4il354bco5uk9i23k0m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='57';
20230426@175830.9650 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.1208 66frgbm4il354bco5uk9i23k0m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175830.1340 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.1344 66frgbm4il354bco5uk9i23k0m Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20230426@175830.1378 66frgbm4il354bco5uk9i23k0m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20230426@175830.1388 66frgbm4il354bco5uk9i23k0m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.2221.00.1' and bi.lordem =1
20230426@175830.1683 66frgbm4il354bco5uk9i23k0m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20230426@175830.1693 66frgbm4il354bco5uk9i23k0m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.2222.00.1' and bi.lordem =2
20230426@175830.1969 66frgbm4il354bco5uk9i23k0m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20230426@175830.2094 66frgbm4il354bco5uk9i23k0m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4961.00.1' and bi.lordem =3
20230426@175830.2371 66frgbm4il354bco5uk9i23k0m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20230426@175830.2500 66frgbm4il354bco5uk9i23k0m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4962.00.1' and bi.lordem =4
20230426@175830.2793 66frgbm4il354bco5uk9i23k0m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20230426@175830.2918 66frgbm4il354bco5uk9i23k0m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4963.00.1' and bi.lordem =5
20230426@175830.3192 66frgbm4il354bco5uk9i23k0m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20230426@175830.3311 66frgbm4il354bco5uk9i23k0m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4964.00.1' and bi.lordem =6
20230426@175830.3582 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.3586 66frgbm4il354bco5uk9i23k0m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175830.3599 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.3601 66frgbm4il354bco5uk9i23k0m Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175830.3611 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.3614 66frgbm4il354bco5uk9i23k0m Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175830.3624 66frgbm4il354bco5uk9i23k0m 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
20230426@175830.3637 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.3640 66frgbm4il354bco5uk9i23k0m Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20230426@175830.3649 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.3652 66frgbm4il354bco5uk9i23k0m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175830.3662 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.3664 66frgbm4il354bco5uk9i23k0m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175830.3675 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.3677 66frgbm4il354bco5uk9i23k0m Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20230426@175830.3689 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.3693 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from td where ndoc = 39
20230426@175830.3702 66frgbm4il354bco5uk9i23k0m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175830.3714 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175830.3736 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175830.3749 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175830.3761 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175830.3765 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175830.3771 66frgbm4il354bco5uk9i23k0m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175830.3811 66frgbm4il354bco5uk9i23k0m Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175830.3820 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175830.3825 66frgbm4il354bco5uk9i23k0m Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449569122644958365c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.3830 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175830.3842 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175830.3845 66frgbm4il354bco5uk9i23k0m Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449569122644958365c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.3849 66frgbm4il354bco5uk9i23k0m Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175830.3859 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175830.3871 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175830.3881 66frgbm4il354bco5uk9i23k0m Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6449569122644958365c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20,101889,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175830.4116 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.4120 66frgbm4il354bco5uk9i23k0m Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20230426@175830.4130 66frgbm4il354bco5uk9i23k0m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20230426@175830.4140 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.4153 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175830.4162 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.4178 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175830.4182 66frgbm4il354bco5uk9i23k0m Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2101297200a'
20230426@175830.4191 66frgbm4il354bco5uk9i23k0m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175830.4200 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.4211 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175830.4221 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495833436449583666',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut6449569122644958365c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175830.4435 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.4449 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175830.4453 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495833436449583666','aut6449569122644958365c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.4458 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.4461 66frgbm4il354bco5uk9i23k0m Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20230426@175830.4473 66frgbm4il354bco5uk9i23k0m 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.2222.00.1'
20230426@175830.4485 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.4498 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175830.4508 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.4521 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175830.4526 66frgbm4il354bco5uk9i23k0m Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2101297100a'
20230426@175830.4536 66frgbm4il354bco5uk9i23k0m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175830.4546 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.4559 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175830.4570 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449519181644958366e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40 ,'aut6449569122644958365c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230426@175830.4790 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.4805 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175830.4810 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449519181644958366e','aut6449569122644958365c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.4815 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.4818 66frgbm4il354bco5uk9i23k0m Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20230426@175830.4831 66frgbm4il354bco5uk9i23k0m 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.4961.00.1'
20230426@175830.4955 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.4969 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175830.4978 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.4990 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175830.4994 66frgbm4il354bco5uk9i23k0m Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101091200a'
20230426@175830.5004 66frgbm4il354bco5uk9i23k0m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175830.5013 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.5025 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175830.5034 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449570120644958367a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut6449569122644958365c' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230426@175830.5253 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.5268 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175830.5272 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449570120644958367a','aut6449569122644958365c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.5276 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.5279 66frgbm4il354bco5uk9i23k0m Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20230426@175830.5289 66frgbm4il354bco5uk9i23k0m 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.4962.00.1'
20230426@175830.5423 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.5435 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175830.5444 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.5456 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175830.5460 66frgbm4il354bco5uk9i23k0m Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101091100a'
20230426@175830.5470 66frgbm4il354bco5uk9i23k0m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175830.5479 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.5490 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175830.5499 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495441376449583685',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40 ,'aut6449569122644958365c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175830.5746 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.5761 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175830.5765 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495441376449583685','aut6449569122644958365c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.5770 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.5773 66frgbm4il354bco5uk9i23k0m Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20230426@175830.5785 66frgbm4il354bco5uk9i23k0m 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.4963.00.1'
20230426@175830.5919 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.5932 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175830.5947 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.5959 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175830.5964 66frgbm4il354bco5uk9i23k0m Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2101091100a'
20230426@175830.5975 66frgbm4il354bco5uk9i23k0m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175830.5984 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.5995 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175830.6004 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495443306449583692',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44 ,'aut6449569122644958365c' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230426@175830.6259 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.6274 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175830.6279 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495443306449583692','aut6449569122644958365c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.6283 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.6286 66frgbm4il354bco5uk9i23k0m Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20230426@175830.6298 66frgbm4il354bco5uk9i23k0m 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.4964.00.1'
20230426@175830.6685 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.6703 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175830.6715 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.6729 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175830.6735 66frgbm4il354bco5uk9i23k0m Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2101092100a'
20230426@175830.6741 66frgbm4il354bco5uk9i23k0m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175830.6752 66frgbm4il354bco5uk9i23k0m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.6766 66frgbm4il354bco5uk9i23k0m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175830.6779 66frgbm4il354bco5uk9i23k0m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644954049964495836a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48 ,'aut6449569122644958365c' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230426@175830.6998 66frgbm4il354bco5uk9i23k0m Query : use flama_phc
20230426@175830.7002 66frgbm4il354bco5uk9i23k0m Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175830.7017 66frgbm4il354bco5uk9i23k0m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='57';
20230426@175830.7030 66frgbm4il354bco5uk9i23k0m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='57';
20230426@175830.7354 7p70guk2jdt4j5moqol0i8k9hv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175830.7370 7p70guk2jdt4j5moqol0i8k9hv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175830.7385 7p70guk2jdt4j5moqol0i8k9hv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='58';
20230426@175830.7425 7p70guk2jdt4j5moqol0i8k9hv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='58';
20230426@175830.7441 7p70guk2jdt4j5moqol0i8k9hv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='58';
20230426@175830.7452 7p70guk2jdt4j5moqol0i8k9hv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='58';
20230426@175830.7462 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.7465 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175830.7478 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.7481 7p70guk2jdt4j5moqol0i8k9hv Query : select no, estab,szadrsdesc from szadrs where u_coddest=3168
20230426@175830.7561 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230426@175830.7723 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 8 and bi.ref ='324.1816.00.1' and bi.lordem =1
20230426@175830.8044 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8047 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175830.8060 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8063 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175830.8073 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8075 7p70guk2jdt4j5moqol0i8k9hv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175830.8086 7p70guk2jdt4j5moqol0i8k9hv 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
20230426@175830.8099 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8102 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 ~inactivo valor from cl where no = '101045' and estab = 0 order by inactivo desc
20230426@175830.8195 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8198 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175830.8208 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8211 7p70guk2jdt4j5moqol0i8k9hv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175830.8222 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8224 7p70guk2jdt4j5moqol0i8k9hv Query : select szadrsstamp valor from szadrs where szadrsdesc='electro chico - electrodomÉsticos, lda.'
20230426@175830.8237 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8240 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from td where ndoc = 39
20230426@175830.8249 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175830.8260 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175830.8272 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175830.8283 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175830.8295 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175830.8300 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175830.8306 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175830.8346 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175830.8355 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175830.8361 7p70guk2jdt4j5moqol0i8k9hv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644955634864495836ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.8365 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175830.8377 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175830.8381 7p70guk2jdt4j5moqol0i8k9hv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644955634864495836ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.8385 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175830.8395 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175830.8406 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175830.8416 7p70guk2jdt4j5moqol0i8k9hv Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644955634864495836ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20,101045,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175830.8657 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.8661 7p70guk2jdt4j5moqol0i8k9hv Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230426@175830.8675 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20230426@175830.8813 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.8828 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175830.8840 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.8853 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175830.8858 7p70guk2jdt4j5moqol0i8k9hv Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230426@175830.8870 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175830.8880 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.8892 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175830.8902 7p70guk2jdt4j5moqol0i8k9hv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644954911464495836d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10 ,'aut644955634864495836ca' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175830.9114 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.9129 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175830.9133 7p70guk2jdt4j5moqol0i8k9hv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644954911464495836d8','aut644955634864495836ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.9138 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.9150 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175830.9161 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.9177 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175830.9182 7p70guk2jdt4j5moqol0i8k9hv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175830.9194 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175830.9206 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175830.9216 7p70guk2jdt4j5moqol0i8k9hv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644953005764495836e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644955634864495836ca' ,0,0 ,2,23.00,20000,?,?,?)
20230426@175830.9441 7p70guk2jdt4j5moqol0i8k9hv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175830.9456 7p70guk2jdt4j5moqol0i8k9hv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175830.9460 7p70guk2jdt4j5moqol0i8k9hv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644953005764495836e0','aut644955634864495836ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175830.9465 7p70guk2jdt4j5moqol0i8k9hv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644955634864495836ca','','wait',39,'ari17112337378,753000005')
20230426@175830.9481 7p70guk2jdt4j5moqol0i8k9hv Query : use flama_phc
20230426@175830.9484 7p70guk2jdt4j5moqol0i8k9hv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230426@175830.9495 7p70guk2jdt4j5moqol0i8k9hv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='58';
20230426@175830.9506 7p70guk2jdt4j5moqol0i8k9hv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='58';
20230426@175830.9516 7p70guk2jdt4j5moqol0i8k9hv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='58';
20230426@175830.9526 7p70guk2jdt4j5moqol0i8k9hv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='58';
20230426@175830.9831 4evn8oi7blakjth8t4db3dsln8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175830.9846 4evn8oi7blakjth8t4db3dsln8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175830.9858 4evn8oi7blakjth8t4db3dsln8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='59';
20230426@175830.9896 4evn8oi7blakjth8t4db3dsln8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='59';
20230426@175830.9907 4evn8oi7blakjth8t4db3dsln8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='59';
20230426@175830.9924 4evn8oi7blakjth8t4db3dsln8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='59';
20230426@175830.9933 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175830.9936 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175830.9948 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175830.9951 4evn8oi7blakjth8t4db3dsln8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=787
20230426@175831.2300 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20230426@175831.2260 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.2066.00.1' and bi.lordem =1
20230426@175831.5230 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230426@175831.6510 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.5540.00.1' and bi.lordem =2
20230426@175831.9620 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '321.162.40.00'
20230426@175831.1089 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='321.162.40.00' and bi.lordem =3
20230426@175831.1368 4evn8oi7blakjth8t4db3dsln8 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'
20230426@175831.1503 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.2211.00.1' and bi.lordem =5
20230426@175831.1804 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2262.00.1'
20230426@175831.1963 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.2262.00.1' and bi.lordem =6
20230426@175831.2241 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2245 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175831.2257 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2260 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175831.2270 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2272 4evn8oi7blakjth8t4db3dsln8 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175831.2283 4evn8oi7blakjth8t4db3dsln8 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
20230426@175831.2296 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2299 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 ~inactivo valor from cl where no = '101242' and estab = 0 order by inactivo desc
20230426@175831.2387 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2390 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175831.2400 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2403 4evn8oi7blakjth8t4db3dsln8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175831.2413 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2416 4evn8oi7blakjth8t4db3dsln8 Query : select szadrsstamp valor from szadrs where szadrsdesc='carlos alberto leandro rebelo'
20230426@175831.2429 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2432 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from td where ndoc = 39
20230426@175831.2441 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175831.2452 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175831.2465 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175831.2474 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175831.2487 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175831.2491 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175831.2497 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175831.2538 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175831.2548 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175831.2554 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449588333644958373c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.2559 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175831.2571 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175831.2576 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449588333644958373c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.2588 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175831.2599 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175831.2611 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175831.2621 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6449588333644958373c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',21,101242,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175831.2865 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.2868 4evn8oi7blakjth8t4db3dsln8 Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20230426@175831.2881 4evn8oi7blakjth8t4db3dsln8 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.2066.00.1'
20230426@175831.3052 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.3065 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175831.3075 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.3088 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175831.3092 4evn8oi7blakjth8t4db3dsln8 Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2100893200a'
20230426@175831.3104 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175831.3114 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.3126 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175831.3136 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449543463644958374c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut6449588333644958373c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175831.3385 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.4212 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175831.4218 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449543463644958374c','aut6449588333644958373c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.4223 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.4237 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175831.4247 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.4260 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175831.4265 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175831.4274 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.4288 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175831.4297 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495091996449583768',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6449588333644958373c' ,0,0 ,2,23.00,20000,?,?,?)
20230426@175831.4508 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.4530 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175831.4534 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495091996449583768','aut6449588333644958373c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.4538 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.4541 4evn8oi7blakjth8t4db3dsln8 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230426@175831.4552 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230426@175831.4688 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.4702 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175831.4712 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.4724 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175831.4729 4evn8oi7blakjth8t4db3dsln8 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230426@175831.4740 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175831.4749 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.4761 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175831.4771 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495996616449583773',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6449588333644958373c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175831.4989 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.5002 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175831.5006 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495996616449583773','aut6449588333644958373c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.5011 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.5014 4evn8oi7blakjth8t4db3dsln8 Query : select st.usalote valor from st where st.ref = '321.162.40.00'
20230426@175831.5025 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '321.162.40.00'
20230426@175831.5162 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.5175 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175831.5184 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.5196 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175831.5200 4evn8oi7blakjth8t4db3dsln8 Query : select sestamp valor from se where ref ='321.162.40.00' and lote = '1'
20230426@175831.5205 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175831.5215 4evn8oi7blakjth8t4db3dsln8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.5227 4evn8oi7blakjth8t4db3dsln8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175831.5239 4evn8oi7blakjth8t4db3dsln8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449553556644958377f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10 ,'aut6449588333644958373c' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230426@175831.5468 4evn8oi7blakjth8t4db3dsln8 Query : use flama_phc
20230426@175831.5473 4evn8oi7blakjth8t4db3dsln8 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175831.5486 4evn8oi7blakjth8t4db3dsln8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='59';
20230426@175831.5496 4evn8oi7blakjth8t4db3dsln8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='59';
20230426@175831.5853 er70ujstu6vk7n9jo5fn87lsbc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175831.5868 er70ujstu6vk7n9jo5fn87lsbc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175831.5882 er70ujstu6vk7n9jo5fn87lsbc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='60';
20230426@175831.5923 er70ujstu6vk7n9jo5fn87lsbc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='60';
20230426@175831.5934 er70ujstu6vk7n9jo5fn87lsbc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='60';
20230426@175831.5946 er70ujstu6vk7n9jo5fn87lsbc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='60';
20230426@175831.5955 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.5959 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175831.5982 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.5985 er70ujstu6vk7n9jo5fn87lsbc Query : select no, estab,szadrsdesc from szadrs where u_coddest=3674
20230426@175831.6058 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20230426@175831.6070 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.5343.00.1' and bi.lordem =1
20230426@175831.6356 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.6360 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175831.6373 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.6376 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175831.6387 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.6390 er70ujstu6vk7n9jo5fn87lsbc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175831.6401 er70ujstu6vk7n9jo5fn87lsbc 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
20230426@175831.6417 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.6420 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 ~inactivo valor from cl where no = '199524' and estab = 0 order by inactivo desc
20230426@175831.6509 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.6512 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175831.6523 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.6525 er70ujstu6vk7n9jo5fn87lsbc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175831.6536 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.6539 er70ujstu6vk7n9jo5fn87lsbc Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- az'
20230426@175831.6552 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.6555 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from td where ndoc = 39
20230426@175831.6565 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175831.6577 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175831.6591 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175831.6601 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175831.6614 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175831.6618 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175831.6624 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175831.6667 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175831.6677 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175831.6683 er70ujstu6vk7n9jo5fn87lsbc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644955136064495837a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.6688 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175831.6709 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175831.6715 er70ujstu6vk7n9jo5fn87lsbc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644955136064495837a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.6721 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175831.6737 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175831.6749 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175831.6759 er70ujstu6vk7n9jo5fn87lsbc Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644955136064495837a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',21,199524,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175831.6999 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.7003 er70ujstu6vk7n9jo5fn87lsbc Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20230426@175831.7016 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20230426@175831.7144 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.7157 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175831.7168 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.7181 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175831.7186 er70ujstu6vk7n9jo5fn87lsbc Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2100244100a'
20230426@175831.7197 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175831.7207 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.7219 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175831.7229 er70ujstu6vk7n9jo5fn87lsbc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644955224664495837af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',102 ,'aut644955136064495837a1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175831.7443 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.7457 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175831.7465 er70ujstu6vk7n9jo5fn87lsbc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644955224664495837af','aut644955136064495837a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.7470 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.7483 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175831.7493 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.7505 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175831.7509 er70ujstu6vk7n9jo5fn87lsbc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175831.7518 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175831.7530 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175831.7539 er70ujstu6vk7n9jo5fn87lsbc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644951007464495837b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644955136064495837a1' ,0,0 ,2,23.00,20000,?,?,?)
20230426@175831.7751 er70ujstu6vk7n9jo5fn87lsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175831.7770 er70ujstu6vk7n9jo5fn87lsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175831.7774 er70ujstu6vk7n9jo5fn87lsbc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644951007464495837b7','aut644955136064495837a1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175831.7779 er70ujstu6vk7n9jo5fn87lsbc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644955136064495837a1','','wait',39,'ari17112337378,753000005')
20230426@175831.7794 er70ujstu6vk7n9jo5fn87lsbc Query : use flama_phc
20230426@175831.7797 er70ujstu6vk7n9jo5fn87lsbc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230426@175831.7809 er70ujstu6vk7n9jo5fn87lsbc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='60';
20230426@175831.7820 er70ujstu6vk7n9jo5fn87lsbc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='60';
20230426@175831.7829 er70ujstu6vk7n9jo5fn87lsbc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='60';
20230426@175831.7839 er70ujstu6vk7n9jo5fn87lsbc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='60';
20230426@175831.8132 akkd2gjp3ius0f5sgiua2r3939 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175831.8144 akkd2gjp3ius0f5sgiua2r3939 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175831.8156 akkd2gjp3ius0f5sgiua2r3939 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='61';
20230426@175831.8197 akkd2gjp3ius0f5sgiua2r3939 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='61';
20230426@175831.8208 akkd2gjp3ius0f5sgiua2r3939 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='61';
20230426@175831.8221 akkd2gjp3ius0f5sgiua2r3939 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='61';
20230426@175831.8231 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175831.8234 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175831.8247 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175831.8250 akkd2gjp3ius0f5sgiua2r3939 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230426@175831.8320 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.542.00.01'
20230426@175831.8465 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='324.542.00.01' and bi.lordem =1
20230426@175831.9571 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20230426@175831.9720 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='323.367.09.00' and bi.lordem =2
20230426@175832.4000 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1534.00.1'
20230426@175832.1650 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='324.1534.00.1' and bi.lordem =3
20230426@175832.4530 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.4570 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175832.4710 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.4740 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175832.4850 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.4880 akkd2gjp3ius0f5sgiua2r3939 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175832.5000 akkd2gjp3ius0f5sgiua2r3939 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
20230426@175832.5150 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.5180 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230426@175832.6100 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.6140 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175832.6240 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.6280 akkd2gjp3ius0f5sgiua2r3939 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175832.6390 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.6420 akkd2gjp3ius0f5sgiua2r3939 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230426@175832.6550 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.6580 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from td where ndoc = 39
20230426@175832.6680 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175832.6790 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175832.6930 akkd2gjp3ius0f5sgiua2r3939 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175832.7020 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175832.7150 akkd2gjp3ius0f5sgiua2r3939 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175832.7190 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175832.7260 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175832.7670 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175832.7770 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175832.7840 akkd2gjp3ius0f5sgiua2r3939 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495663276449583811' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.8000 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175832.8120 akkd2gjp3ius0f5sgiua2r3939 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175832.8170 akkd2gjp3ius0f5sgiua2r3939 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495663276449583811',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.8270 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175832.8380 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175832.8500 akkd2gjp3ius0f5sgiua2r3939 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175832.8600 akkd2gjp3ius0f5sgiua2r3939 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut64495663276449583811',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22,100810,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175832.1103 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.1107 akkd2gjp3ius0f5sgiua2r3939 Query : select st.usalote valor from st where st.ref = '324.542.00.01'
20230426@175832.1121 akkd2gjp3ius0f5sgiua2r3939 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.542.00.01'
20230426@175832.1248 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.1261 akkd2gjp3ius0f5sgiua2r3939 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175832.1270 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.1282 akkd2gjp3ius0f5sgiua2r3939 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175832.1286 akkd2gjp3ius0f5sgiua2r3939 Query : select sestamp valor from se where ref ='324.542.00.01' and lote = '1'
20230426@175832.1291 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175832.1300 akkd2gjp3ius0f5sgiua2r3939 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.1311 akkd2gjp3ius0f5sgiua2r3939 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175832.1321 akkd2gjp3ius0f5sgiua2r3939 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449533535644958381f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut64495663276449583811' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175832.1554 akkd2gjp3ius0f5sgiua2r3939 Query : use flama_phc
20230426@175832.1559 akkd2gjp3ius0f5sgiua2r3939 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175832.1570 akkd2gjp3ius0f5sgiua2r3939 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='61';
20230426@175832.1580 akkd2gjp3ius0f5sgiua2r3939 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='61';
20230426@175832.1866 abhajt5leod4anm04k477it0o6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175832.1878 abhajt5leod4anm04k477it0o6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175832.1891 abhajt5leod4anm04k477it0o6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='62';
20230426@175832.1928 abhajt5leod4anm04k477it0o6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='62';
20230426@175832.1941 abhajt5leod4anm04k477it0o6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='62';
20230426@175832.1953 abhajt5leod4anm04k477it0o6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='62';
20230426@175832.1963 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.1966 abhajt5leod4anm04k477it0o6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175832.1980 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.1984 abhajt5leod4anm04k477it0o6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20230426@175832.2082 abhajt5leod4anm04k477it0o6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20230426@175832.2217 abhajt5leod4anm04k477it0o6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 2 and bi.ref ='324.1416.00.1' and bi.lordem =1
20230426@175832.2497 abhajt5leod4anm04k477it0o6 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'
20230426@175832.2628 abhajt5leod4anm04k477it0o6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 2 and bi.ref ='324.4751.00.1' and bi.lordem =2
20230426@175832.2898 abhajt5leod4anm04k477it0o6 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'
20230426@175832.2909 abhajt5leod4anm04k477it0o6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 2 and bi.ref ='304.4320.00.1' and bi.lordem =3
20230426@175832.3181 abhajt5leod4anm04k477it0o6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230426@175832.3305 abhajt5leod4anm04k477it0o6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 2 and bi.ref ='304.421.00.04' and bi.lordem =4
20230426@175832.3578 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.3581 abhajt5leod4anm04k477it0o6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175832.3594 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.3597 abhajt5leod4anm04k477it0o6 Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175832.3608 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.3611 abhajt5leod4anm04k477it0o6 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175832.3623 abhajt5leod4anm04k477it0o6 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
20230426@175832.3637 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.3640 abhajt5leod4anm04k477it0o6 Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230426@175832.3729 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.3732 abhajt5leod4anm04k477it0o6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175832.3742 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.3745 abhajt5leod4anm04k477it0o6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175832.3755 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.3758 abhajt5leod4anm04k477it0o6 Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20230426@175832.3769 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.3772 abhajt5leod4anm04k477it0o6 Query : select 1 valor from td where ndoc = 39
20230426@175832.3781 abhajt5leod4anm04k477it0o6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175832.3791 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175832.3803 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175832.3812 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175832.3824 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175832.3828 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175832.3834 abhajt5leod4anm04k477it0o6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175832.3873 abhajt5leod4anm04k477it0o6 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175832.3883 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175832.3889 abhajt5leod4anm04k477it0o6 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449537866644958385d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.3894 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175832.3905 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175832.3910 abhajt5leod4anm04k477it0o6 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449537866644958385d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.3914 abhajt5leod4anm04k477it0o6 Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175832.3925 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175832.3937 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175832.3945 abhajt5leod4anm04k477it0o6 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut6449537866644958385d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22,101597,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175832.4203 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.4206 abhajt5leod4anm04k477it0o6 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20230426@175832.4218 abhajt5leod4anm04k477it0o6 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.1416.00.1'
20230426@175832.4347 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.4360 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175832.4369 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.4381 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175832.4385 abhajt5leod4anm04k477it0o6 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2101113200a'
20230426@175832.4394 abhajt5leod4anm04k477it0o6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175832.4403 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.4414 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175832.4423 abhajt5leod4anm04k477it0o6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449505429644958386b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20 ,'aut6449537866644958385d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175832.4656 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.4671 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175832.4676 abhajt5leod4anm04k477it0o6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449505429644958386b','aut6449537866644958385d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.4681 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.4694 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175832.4703 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.4715 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175832.4719 abhajt5leod4anm04k477it0o6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175832.4728 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.4740 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175832.4749 abhajt5leod4anm04k477it0o6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495488666449583873',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6449537866644958385d' ,0,0 ,2,23.00,20000,?,?,?)
20230426@175832.4955 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.4969 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175832.4973 abhajt5leod4anm04k477it0o6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495488666449583873','aut6449537866644958385d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.4978 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.4981 abhajt5leod4anm04k477it0o6 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20230426@175832.4992 abhajt5leod4anm04k477it0o6 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'
20230426@175832.5121 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.5134 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175832.5144 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.5157 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175832.5161 abhajt5leod4anm04k477it0o6 Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100445100a'
20230426@175832.5183 abhajt5leod4anm04k477it0o6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175832.5192 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.5489 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175832.5736 abhajt5leod4anm04k477it0o6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449570794644958387e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6449537866644958385d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175832.6283 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.6299 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175832.6303 abhajt5leod4anm04k477it0o6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449570794644958387e','aut6449537866644958385d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.6308 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.6311 abhajt5leod4anm04k477it0o6 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230426@175832.6322 abhajt5leod4anm04k477it0o6 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'
20230426@175832.6332 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.6346 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175832.6357 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.6371 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175832.6377 abhajt5leod4anm04k477it0o6 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230426@175832.6389 abhajt5leod4anm04k477it0o6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175832.6400 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.6414 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175832.6425 abhajt5leod4anm04k477it0o6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6449595357644958389c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80 ,'aut6449537866644958385d' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230426@175832.6639 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.6654 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175832.6659 abhajt5leod4anm04k477it0o6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6449595357644958389c','aut6449537866644958385d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.6666 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.6670 abhajt5leod4anm04k477it0o6 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230426@175832.6681 abhajt5leod4anm04k477it0o6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20230426@175832.6809 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.6822 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175832.6831 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.6843 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175832.6848 abhajt5leod4anm04k477it0o6 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230426@175832.6858 abhajt5leod4anm04k477it0o6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175832.6870 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.6881 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175832.6891 abhajt5leod4anm04k477it0o6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644952633864495838a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80 ,'aut6449537866644958385d' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230426@175832.7099 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.7113 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175832.7118 abhajt5leod4anm04k477it0o6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644952633864495838a7','aut6449537866644958385d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.7133 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.7145 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175832.7155 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.7167 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175832.7171 abhajt5leod4anm04k477it0o6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175832.7181 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.7192 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175832.7202 abhajt5leod4anm04k477it0o6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644952302364495838af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6449537866644958385d' ,0,0 ,2,23.00,70000,?,?,?)
20230426@175832.7406 abhajt5leod4anm04k477it0o6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.7419 abhajt5leod4anm04k477it0o6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175832.7423 abhajt5leod4anm04k477it0o6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644952302364495838af','aut6449537866644958385d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.7428 abhajt5leod4anm04k477it0o6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6449537866644958385d','','wait',39,'ari17112337378,753000005')
20230426@175832.7449 abhajt5leod4anm04k477it0o6 Query : use flama_phc
20230426@175832.7452 abhajt5leod4anm04k477it0o6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230426@175832.7464 abhajt5leod4anm04k477it0o6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='62';
20230426@175832.7475 abhajt5leod4anm04k477it0o6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='62';
20230426@175832.7484 abhajt5leod4anm04k477it0o6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='62';
20230426@175832.7494 abhajt5leod4anm04k477it0o6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='62';
20230426@175832.7793 buneqb7jnj6v3hglja47pvl310 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175832.7805 buneqb7jnj6v3hglja47pvl310 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175832.7820 buneqb7jnj6v3hglja47pvl310 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='63';
20230426@175832.7868 buneqb7jnj6v3hglja47pvl310 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='63';
20230426@175832.7879 buneqb7jnj6v3hglja47pvl310 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='63';
20230426@175832.7891 buneqb7jnj6v3hglja47pvl310 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='63';
20230426@175832.7901 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.7904 buneqb7jnj6v3hglja47pvl310 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175832.7921 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.7924 buneqb7jnj6v3hglja47pvl310 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20230426@175832.7973 buneqb7jnj6v3hglja47pvl310 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20230426@175832.7985 buneqb7jnj6v3hglja47pvl310 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.1646.00.1' and bi.lordem =1
20230426@175832.8383 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8387 buneqb7jnj6v3hglja47pvl310 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175832.8401 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8405 buneqb7jnj6v3hglja47pvl310 Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175832.8416 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8420 buneqb7jnj6v3hglja47pvl310 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175832.8436 buneqb7jnj6v3hglja47pvl310 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
20230426@175832.8453 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8456 buneqb7jnj6v3hglja47pvl310 Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230426@175832.8468 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8471 buneqb7jnj6v3hglja47pvl310 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175832.8483 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8486 buneqb7jnj6v3hglja47pvl310 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175832.8498 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8501 buneqb7jnj6v3hglja47pvl310 Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20230426@175832.8513 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8516 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from td where ndoc = 39
20230426@175832.8528 buneqb7jnj6v3hglja47pvl310 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175832.8541 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175832.8556 buneqb7jnj6v3hglja47pvl310 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175832.8569 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175832.8585 buneqb7jnj6v3hglja47pvl310 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175832.8589 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175832.8595 buneqb7jnj6v3hglja47pvl310 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175832.8637 buneqb7jnj6v3hglja47pvl310 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175832.8646 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175832.8653 buneqb7jnj6v3hglja47pvl310 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644957082364495838d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.8658 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175832.8672 buneqb7jnj6v3hglja47pvl310 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175832.8677 buneqb7jnj6v3hglja47pvl310 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644957082364495838d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175832.8683 buneqb7jnj6v3hglja47pvl310 Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175832.8695 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175832.8709 buneqb7jnj6v3hglja47pvl310 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175832.8721 buneqb7jnj6v3hglja47pvl310 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644957082364495838d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',23,101597,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175832.8974 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.8978 buneqb7jnj6v3hglja47pvl310 Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20230426@175832.8991 buneqb7jnj6v3hglja47pvl310 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.1646.00.1'
20230426@175832.9120 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.9135 buneqb7jnj6v3hglja47pvl310 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175832.9145 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175832.9159 buneqb7jnj6v3hglja47pvl310 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175832.9163 buneqb7jnj6v3hglja47pvl310 Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2101259200a'
20230426@175832.9171 buneqb7jnj6v3hglja47pvl310 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175832.9181 buneqb7jnj6v3hglja47pvl310 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175832.9193 buneqb7jnj6v3hglja47pvl310 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175832.9205 buneqb7jnj6v3hglja47pvl310 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644957539064495838e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644957082364495838d1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175832.9424 buneqb7jnj6v3hglja47pvl310 Query : use flama_phc
20230426@175832.9428 buneqb7jnj6v3hglja47pvl310 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175832.9439 buneqb7jnj6v3hglja47pvl310 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='63';
20230426@175832.9450 buneqb7jnj6v3hglja47pvl310 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='63';
20230426@175832.9761 7ffe0cqiuig7hm3vcnlepl8vd4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175832.9774 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175832.9787 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='64';
20230426@175832.9826 7ffe0cqiuig7hm3vcnlepl8vd4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='64';
20230426@175832.9837 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='64';
20230426@175832.9847 7ffe0cqiuig7hm3vcnlepl8vd4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='64';
20230426@175832.9857 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175832.9861 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175832.9873 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175832.9876 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20230426@175832.9909 7ffe0cqiuig7hm3vcnlepl8vd4 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'
20230426@175832.9922 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2211.00.1' and bi.lordem =1
20230426@175833.2110 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.2150 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175833.2300 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.2330 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175833.2430 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.2460 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175833.2580 7ffe0cqiuig7hm3vcnlepl8vd4 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
20230426@175833.2730 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.2760 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230426@175833.2870 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.2900 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175833.3010 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.3040 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175833.3150 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.3190 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20230426@175833.3310 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.3340 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from td where ndoc = 39
20230426@175833.3450 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175833.3570 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175833.3710 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175833.3830 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175833.3960 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175833.4000 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175833.4060 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175833.4500 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175833.4610 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175833.4670 7ffe0cqiuig7hm3vcnlepl8vd4 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495910786449583909' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175833.4720 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175833.4880 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175833.4930 7ffe0cqiuig7hm3vcnlepl8vd4 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495910786449583909',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175833.4980 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175833.5090 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175833.5230 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175833.5360 7ffe0cqiuig7hm3vcnlepl8vd4 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut64495910786449583909',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',23,101597,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175833.7770 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.7810 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select st.usalote valor from st where st.ref = '324.2211.00.1'
20230426@175833.7940 7ffe0cqiuig7hm3vcnlepl8vd4 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'
20230426@175833.9280 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175833.9440 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175833.9550 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175833.9680 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175833.9740 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select sestamp valor from se where ref ='324.2211.00.1' and lote = 'r2100703100a'
20230426@175833.9800 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175833.9910 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175833.1005 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175833.1017 7ffe0cqiuig7hm3vcnlepl8vd4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495651006449583918',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut64495910786449583909' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175833.1249 7ffe0cqiuig7hm3vcnlepl8vd4 Query : use flama_phc
20230426@175833.1253 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175833.1268 7ffe0cqiuig7hm3vcnlepl8vd4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='64';
20230426@175833.1281 7ffe0cqiuig7hm3vcnlepl8vd4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='64';
20230426@175833.1563 t93393df090s5tmubcnhda1f7u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175833.1575 t93393df090s5tmubcnhda1f7u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175833.1588 t93393df090s5tmubcnhda1f7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='65';
20230426@175833.1624 t93393df090s5tmubcnhda1f7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='65';
20230426@175833.1635 t93393df090s5tmubcnhda1f7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='65';
20230426@175833.1645 t93393df090s5tmubcnhda1f7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='65';
20230426@175833.1655 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.1658 t93393df090s5tmubcnhda1f7u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175833.1673 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.1676 t93393df090s5tmubcnhda1f7u Query : select no, estab,szadrsdesc from szadrs where u_coddest=3674
20230426@175833.1708 t93393df090s5tmubcnhda1f7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20230426@175833.1720 t93393df090s5tmubcnhda1f7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.4960.00.1' and bi.lordem =1
20230426@175833.2010 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.2013 t93393df090s5tmubcnhda1f7u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175833.2028 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.2031 t93393df090s5tmubcnhda1f7u Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175833.2043 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.2047 t93393df090s5tmubcnhda1f7u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175833.2059 t93393df090s5tmubcnhda1f7u 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
20230426@175833.2074 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.2077 t93393df090s5tmubcnhda1f7u Query : select top 1 ~inactivo valor from cl where no = '199524' and estab = 0 order by inactivo desc
20230426@175833.2086 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.2089 t93393df090s5tmubcnhda1f7u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175833.2099 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.2102 t93393df090s5tmubcnhda1f7u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175833.2114 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.2118 t93393df090s5tmubcnhda1f7u Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- az'
20230426@175833.2130 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.2133 t93393df090s5tmubcnhda1f7u Query : select 1 valor from td where ndoc = 39
20230426@175833.2144 t93393df090s5tmubcnhda1f7u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175833.2155 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175833.2169 t93393df090s5tmubcnhda1f7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175833.2179 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175833.2193 t93393df090s5tmubcnhda1f7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175833.2199 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175833.2205 t93393df090s5tmubcnhda1f7u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175833.2249 t93393df090s5tmubcnhda1f7u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175833.2258 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175833.2265 t93393df090s5tmubcnhda1f7u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495216356449583935' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175833.2269 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175833.2282 t93393df090s5tmubcnhda1f7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175833.2286 t93393df090s5tmubcnhda1f7u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495216356449583935',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175833.2291 t93393df090s5tmubcnhda1f7u Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175833.2302 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175833.2317 t93393df090s5tmubcnhda1f7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175833.2330 t93393df090s5tmubcnhda1f7u Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut64495216356449583935',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',23,199524,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175833.2907 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.3362 t93393df090s5tmubcnhda1f7u Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20230426@175833.3379 t93393df090s5tmubcnhda1f7u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20230426@175833.3514 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175833.3527 t93393df090s5tmubcnhda1f7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175833.3538 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175833.3551 t93393df090s5tmubcnhda1f7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175833.3555 t93393df090s5tmubcnhda1f7u Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20230426@175833.3566 t93393df090s5tmubcnhda1f7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175833.3577 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175833.3588 t93393df090s5tmubcnhda1f7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175833.3598 t93393df090s5tmubcnhda1f7u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495196276449583957',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',384 ,'aut64495216356449583935' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175833.3815 t93393df090s5tmubcnhda1f7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175833.3831 t93393df090s5tmubcnhda1f7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175833.3835 t93393df090s5tmubcnhda1f7u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495196276449583957','aut64495216356449583935' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175833.3841 t93393df090s5tmubcnhda1f7u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64495216356449583935','','wait',39,'ari17112337378,753000005')
20230426@175833.3858 t93393df090s5tmubcnhda1f7u Query : use flama_phc
20230426@175833.3861 t93393df090s5tmubcnhda1f7u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230426@175833.3874 t93393df090s5tmubcnhda1f7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='65';
20230426@175833.3887 t93393df090s5tmubcnhda1f7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='65';
20230426@175833.3897 t93393df090s5tmubcnhda1f7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='65';
20230426@175833.3908 t93393df090s5tmubcnhda1f7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='65';
20230426@175833.4226 f8odfic4d17tm50ash8d0kvd02 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175833.4239 f8odfic4d17tm50ash8d0kvd02 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175833.4254 f8odfic4d17tm50ash8d0kvd02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='66';
20230426@175833.4293 f8odfic4d17tm50ash8d0kvd02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='66';
20230426@175833.4305 f8odfic4d17tm50ash8d0kvd02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='66';
20230426@175833.4318 f8odfic4d17tm50ash8d0kvd02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='66';
20230426@175833.4329 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.4332 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175833.4347 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.4351 f8odfic4d17tm50ash8d0kvd02 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20230426@175833.4443 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20230426@175833.4607 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.4901.00.1' and bi.lordem =1
20230426@175833.4889 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20230426@175833.4901 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.4963.00.1' and bi.lordem =2
20230426@175833.5176 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20230426@175833.5189 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.4964.00.1' and bi.lordem =3
20230426@175833.5564 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4724.00.1'
20230426@175833.5700 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.4724.00.1' and bi.lordem =4
20230426@175833.6016 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6020 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175833.6033 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6037 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175833.6048 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6051 f8odfic4d17tm50ash8d0kvd02 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175833.6063 f8odfic4d17tm50ash8d0kvd02 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
20230426@175833.6078 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6082 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230426@175833.6172 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6175 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175833.6188 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6191 f8odfic4d17tm50ash8d0kvd02 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175833.6202 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6206 f8odfic4d17tm50ash8d0kvd02 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20230426@175833.6220 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6223 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from td where ndoc = 39
20230426@175833.6233 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175833.6245 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175833.6259 f8odfic4d17tm50ash8d0kvd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175833.6270 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175833.6283 f8odfic4d17tm50ash8d0kvd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175833.6288 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175833.6295 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175833.6338 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175833.6349 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175833.6355 f8odfic4d17tm50ash8d0kvd02 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495625436449583999' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175833.6361 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175833.6374 f8odfic4d17tm50ash8d0kvd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175833.6379 f8odfic4d17tm50ash8d0kvd02 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495625436449583999',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175833.6384 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175833.6395 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175833.6408 f8odfic4d17tm50ash8d0kvd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175833.6422 f8odfic4d17tm50ash8d0kvd02 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut64495625436449583999',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24,101900,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175833.6697 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.6702 f8odfic4d17tm50ash8d0kvd02 Query : select st.usalote valor from st where st.ref = '324.4901.00.1'
20230426@175833.6716 f8odfic4d17tm50ash8d0kvd02 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.4901.00.1'
20230426@175833.6871 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175833.6886 f8odfic4d17tm50ash8d0kvd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175833.6896 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175833.6909 f8odfic4d17tm50ash8d0kvd02 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175833.6913 f8odfic4d17tm50ash8d0kvd02 Query : select sestamp valor from se where ref ='324.4901.00.1' and lote = 'r2200240200a'
20230426@175833.6919 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175833.6928 f8odfic4d17tm50ash8d0kvd02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175833.6940 f8odfic4d17tm50ash8d0kvd02 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175833.6950 f8odfic4d17tm50ash8d0kvd02 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644951479364495839a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28 ,'aut64495625436449583999' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175833.7178 f8odfic4d17tm50ash8d0kvd02 Query : use flama_phc
20230426@175833.7182 f8odfic4d17tm50ash8d0kvd02 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175833.7194 f8odfic4d17tm50ash8d0kvd02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='66';
20230426@175833.7204 f8odfic4d17tm50ash8d0kvd02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='66';
20230426@175833.7616 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175833.7630 69ersj7bj4dkjfc0ultkfbvdsj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175833.7644 69ersj7bj4dkjfc0ultkfbvdsj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='67';
20230426@175833.7682 69ersj7bj4dkjfc0ultkfbvdsj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='67';
20230426@175833.7694 69ersj7bj4dkjfc0ultkfbvdsj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='67';
20230426@175833.7705 69ersj7bj4dkjfc0ultkfbvdsj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='67';
20230426@175833.7716 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175833.7720 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175833.7733 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175833.7736 69ersj7bj4dkjfc0ultkfbvdsj Query : select no, estab,szadrsdesc from szadrs where u_coddest=2686
20230426@175833.7805 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20230426@175833.8009 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.988.00.01' and bi.lordem =1
20230426@175833.8467 69ersj7bj4dkjfc0ultkfbvdsj 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'
20230426@175833.8480 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='304.422.00.07' and bi.lordem =2
20230426@175833.8805 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20230426@175833.8934 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4840.00.1' and bi.lordem =3
20230426@175833.9217 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4211.00.1'
20230426@175833.9340 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='304.4211.00.1' and bi.lordem =4
20230426@175833.9622 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230426@175833.9633 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.1816.00.1' and bi.lordem =5
20230426@175834.5500 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230426@175834.1300 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.1816.00.1' and bi.lordem =6
20230426@175834.4300 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20230426@175834.5590 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.1837.00.1' and bi.lordem =7
20230426@175834.8500 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20230426@175834.8610 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4930.00.1' and bi.lordem =8
20230426@175834.1143 69ersj7bj4dkjfc0ultkfbvdsj 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'
20230426@175834.1155 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.959.00.01' and bi.lordem =9
20230426@175834.1448 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20230426@175834.1597 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.2066.00.1' and bi.lordem =10
20230426@175834.1896 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20230426@175834.2020 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.2031.00.1' and bi.lordem =11
20230426@175834.2294 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20230426@175834.2421 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.1461.00.1' and bi.lordem =12
20230426@175834.3382 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20230426@175834.3778 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.1462.00.1' and bi.lordem =13
20230426@175834.4092 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230426@175834.4104 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.5540.00.1' and bi.lordem =14
20230426@175834.4388 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20230426@175834.4401 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.5342.00.1' and bi.lordem =15
20230426@175834.4672 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8171.00.1'
20230426@175834.4790 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='327.8171.00.1' and bi.lordem =16
20230426@175834.5058 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5062 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175834.5074 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5077 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175834.5086 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5089 69ersj7bj4dkjfc0ultkfbvdsj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175834.5099 69ersj7bj4dkjfc0ultkfbvdsj 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
20230426@175834.5113 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5116 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 ~inactivo valor from cl where no = '102189' and estab = 0 order by inactivo desc
20230426@175834.5217 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5220 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175834.5232 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5235 69ersj7bj4dkjfc0ultkfbvdsj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175834.5246 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5248 69ersj7bj4dkjfc0ultkfbvdsj Query : select szadrsstamp valor from szadrs where szadrsdesc='bom preÇo, lda.- entrega'
20230426@175834.5261 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5263 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from td where ndoc = 39
20230426@175834.5273 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175834.5285 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175834.5298 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175834.5308 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175834.5321 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175834.5325 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175834.5332 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175834.5371 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175834.5381 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175834.5387 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.5392 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175834.5404 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175834.5408 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495279466449583a82',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.5417 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175834.5429 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175834.5443 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175834.5453 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut64495279466449583a82',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24,102189,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175834.5697 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.5700 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20230426@175834.5713 69ersj7bj4dkjfc0ultkfbvdsj 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.988.00.01'
20230426@175834.5837 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.5857 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.5867 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.5881 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.5885 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2200267200a'
20230426@175834.5896 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.5906 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.5918 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.5929 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495202326449583a90',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut64495279466449583a82' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175834.6143 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.6156 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175834.6161 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495202326449583a90','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.6165 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.6168 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230426@175834.6178 69ersj7bj4dkjfc0ultkfbvdsj 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'
20230426@175834.6189 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.6202 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.6212 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.6225 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.6229 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230334'
20230426@175834.6240 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.6250 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.6262 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.6271 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495437586449583a98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut64495279466449583a82' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230426@175834.6515 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.6534 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175834.6540 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495437586449583a98','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.6544 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.6548 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20230426@175834.6560 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20230426@175834.6690 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.6707 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.6719 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.6733 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.6738 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2101353200a'
20230426@175834.6751 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.6762 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.6775 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.6786 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495325676449583aa5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut64495279466449583a82' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230426@175834.7011 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.7026 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175834.7031 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495325676449583aa5','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.7035 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.7079 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '304.4211.00.1'
20230426@175834.8005 69ersj7bj4dkjfc0ultkfbvdsj 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.4211.00.1'
20230426@175834.8133 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.8145 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.8154 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.8166 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.8170 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='304.4211.00.1' and lote = '220034'
20230426@175834.8199 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.8208 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.8219 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.8228 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495775386449583ac8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut64495279466449583a82' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175834.8461 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.8475 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175834.8479 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495775386449583ac8','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.8483 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.8486 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230426@175834.8496 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20230426@175834.8506 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.8517 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.8526 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.8538 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.8542 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230426@175834.8551 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.8560 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.8571 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.8581 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495065086449583ad0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7 ,'aut64495279466449583a82' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230426@175834.8790 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.8803 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175834.8807 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495065086449583ad0','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.8812 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.8824 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.8834 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.8846 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.8850 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.8860 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.8872 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.8882 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495820606449583ad8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495279466449583a82' ,0,0 ,2,23.00,60000,?,?,?)
20230426@175834.9088 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.9102 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175834.9107 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495820606449583ad8','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.9112 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.9115 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230426@175834.9127 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20230426@175834.9140 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.9153 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.9163 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.9177 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.9182 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230426@175834.9191 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.9200 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.9212 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.9222 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495406656449583ae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut64495279466449583a82' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20230426@175834.9425 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.9454 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175834.9459 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495406656449583ae0','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.9464 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.9476 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.9486 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.9497 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.9501 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.9510 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.9522 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.9532 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495455456449583ae8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495279466449583a82' ,0,0 ,2,23.00,90000,?,?,?)
20230426@175834.9741 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.9754 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175834.9758 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495455456449583ae8','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175834.9762 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175834.9765 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20230426@175834.9779 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20230426@175834.9907 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.9920 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175834.9929 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175834.9943 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175834.9947 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2200668100a'
20230426@175834.9957 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175834.9968 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175834.9980 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175834.9989 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495678566449583af3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut64495279466449583a82' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20230426@175835.2010 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.2160 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.2210 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495678566449583af3','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.2260 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.2290 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20230426@175835.2400 69ersj7bj4dkjfc0ultkfbvdsj 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.4930.00.1'
20230426@175835.2510 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.2640 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.2740 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.2860 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.2910 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2100754100a'
20230426@175835.3010 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.3100 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.3220 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.3320 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495036336449583b07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut64495279466449583a82' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20230426@175835.6240 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.6400 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.6450 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495036336449583b07','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.6510 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.6540 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.959.00.01'
20230426@175835.6660 69ersj7bj4dkjfc0ultkfbvdsj 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'
20230426@175835.6790 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.6930 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.7030 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.7150 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.7190 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.959.00.01' and lote = 'r2100174200a'
20230426@175835.7280 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.7380 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.7490 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.7580 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495445036449583b12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut64495279466449583a82' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20230426@175835.9780 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.9920 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.9960 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495445036449583b12','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.1000 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.1003 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20230426@175835.1013 69ersj7bj4dkjfc0ultkfbvdsj 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.2066.00.1'
20230426@175835.1023 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.1036 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.1045 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.1056 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.1059 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2100893200a'
20230426@175835.1069 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.1078 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.1089 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.1098 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495008636449583b1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut64495279466449583a82' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20230426@175835.1381 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.1397 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.1401 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495008636449583b1a','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.1406 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.1418 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.1426 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.1437 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.1441 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.1450 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.1462 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.1471 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495869216449583b23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495279466449583a82' ,0,0 ,2,23.00,150000,?,?,?)
20230426@175835.1686 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.1700 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.1704 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495869216449583b23','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.1708 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.1711 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20230426@175835.1721 69ersj7bj4dkjfc0ultkfbvdsj 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.2031.00.1'
20230426@175835.1846 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.1858 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.1867 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.1878 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.1882 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20230426@175835.1892 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.1901 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.1912 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.1921 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495428626449583b2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut64495279466449583a82' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20230426@175835.2127 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.2140 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.2144 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495428626449583b2e','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.2149 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.2161 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.2171 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.2182 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.2186 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.2195 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.2206 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.2215 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495965796449583b35',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495279466449583a82' ,0,0 ,2,23.00,180000,?,?,?)
20230426@175835.2441 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.2454 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.2458 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495965796449583b35','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.2463 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.2466 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20230426@175835.2477 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20230426@175835.2599 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.2611 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.2620 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.2632 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.2636 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100211200a'
20230426@175835.2647 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.2655 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.2667 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.2675 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495350436449583b40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut64495279466449583a82' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20230426@175835.2884 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.2898 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.2902 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495350436449583b40','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.2906 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.2909 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20230426@175835.2922 69ersj7bj4dkjfc0ultkfbvdsj 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.1462.00.1'
20230426@175835.3043 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.3055 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.3064 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.3076 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.3080 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20230426@175835.3091 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.3100 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.3112 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.3122 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495313776449583b4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut64495279466449583a82' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20230426@175835.3341 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.3355 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.3359 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495313776449583b4b','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.3363 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.3366 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230426@175835.3443 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230426@175835.3453 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.3465 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.3474 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.3486 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.3490 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230426@175835.3500 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.3508 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.3520 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.3529 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495886746449583b55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut64495279466449583a82' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20230426@175835.3747 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.3761 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.3765 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495886746449583b55','aut64495279466449583a82' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.3769 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.3772 69ersj7bj4dkjfc0ultkfbvdsj Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20230426@175835.3783 69ersj7bj4dkjfc0ultkfbvdsj 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.5342.00.1'
20230426@175835.3912 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.3925 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.3935 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.3946 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.3950 69ersj7bj4dkjfc0ultkfbvdsj Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = '06/20'
20230426@175835.3955 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.3964 69ersj7bj4dkjfc0ultkfbvdsj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.3977 69ersj7bj4dkjfc0ultkfbvdsj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.3988 69ersj7bj4dkjfc0ultkfbvdsj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495678906449583b60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut64495279466449583a82' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20230426@175835.4980 69ersj7bj4dkjfc0ultkfbvdsj Query : use flama_phc
20230426@175835.4985 69ersj7bj4dkjfc0ultkfbvdsj Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175835.4997 69ersj7bj4dkjfc0ultkfbvdsj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='67';
20230426@175835.5006 69ersj7bj4dkjfc0ultkfbvdsj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='67';
20230426@175835.5305 uurjph2sgvv1ga0i4c8uteehlh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175835.5318 uurjph2sgvv1ga0i4c8uteehlh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175835.5399 uurjph2sgvv1ga0i4c8uteehlh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='68';
20230426@175835.5439 uurjph2sgvv1ga0i4c8uteehlh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='68';
20230426@175835.5450 uurjph2sgvv1ga0i4c8uteehlh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='68';
20230426@175835.5460 uurjph2sgvv1ga0i4c8uteehlh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='68';
20230426@175835.5470 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.5473 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175835.5487 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.5490 uurjph2sgvv1ga0i4c8uteehlh Query : select no, estab,szadrsdesc from szadrs where u_coddest=1024
20230426@175835.5558 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20230426@175835.5570 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 8 and bi.ref ='324.5540.00.1' and bi.lordem =1
20230426@175835.5863 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.5867 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175835.5879 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.5882 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175835.5892 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.5894 uurjph2sgvv1ga0i4c8uteehlh Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175835.5904 uurjph2sgvv1ga0i4c8uteehlh 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
20230426@175835.5917 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.5920 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 ~inactivo valor from cl where no = '102328' and estab = 0 order by inactivo desc
20230426@175835.6008 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.6011 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175835.6021 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.6024 uurjph2sgvv1ga0i4c8uteehlh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175835.6034 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.6037 uurjph2sgvv1ga0i4c8uteehlh Query : select szadrsstamp valor from szadrs where szadrsdesc='cor e som electrodomÉsticos, lda.'
20230426@175835.6049 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.6051 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from td where ndoc = 39
20230426@175835.6061 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175835.6071 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175835.6085 uurjph2sgvv1ga0i4c8uteehlh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175835.6094 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175835.6106 uurjph2sgvv1ga0i4c8uteehlh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175835.6110 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175835.6116 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175835.6156 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175835.6165 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175835.6170 uurjph2sgvv1ga0i4c8uteehlh Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495675706449583b95' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.6175 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175835.6187 uurjph2sgvv1ga0i4c8uteehlh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175835.6191 uurjph2sgvv1ga0i4c8uteehlh Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495675706449583b95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.6195 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175835.6205 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175835.6217 uurjph2sgvv1ga0i4c8uteehlh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175835.6226 uurjph2sgvv1ga0i4c8uteehlh Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut64495675706449583b95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24,102328,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175835.6496 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.6500 uurjph2sgvv1ga0i4c8uteehlh Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230426@175835.6511 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230426@175835.6522 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.6534 uurjph2sgvv1ga0i4c8uteehlh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175835.6543 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.6555 uurjph2sgvv1ga0i4c8uteehlh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175835.6559 uurjph2sgvv1ga0i4c8uteehlh Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230426@175835.6569 uurjph2sgvv1ga0i4c8uteehlh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175835.6579 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175835.6590 uurjph2sgvv1ga0i4c8uteehlh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175835.6599 uurjph2sgvv1ga0i4c8uteehlh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495787026449583ba0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut64495675706449583b95' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175835.6819 uurjph2sgvv1ga0i4c8uteehlh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175835.6834 uurjph2sgvv1ga0i4c8uteehlh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175835.6838 uurjph2sgvv1ga0i4c8uteehlh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495787026449583ba0','aut64495675706449583b95' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175835.6843 uurjph2sgvv1ga0i4c8uteehlh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut64495675706449583b95','','wait',39,'ari17112337378,753000005')
20230426@175835.6858 uurjph2sgvv1ga0i4c8uteehlh Query : use flama_phc
20230426@175835.6861 uurjph2sgvv1ga0i4c8uteehlh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230426@175835.6872 uurjph2sgvv1ga0i4c8uteehlh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='68';
20230426@175835.6882 uurjph2sgvv1ga0i4c8uteehlh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='68';
20230426@175835.6893 uurjph2sgvv1ga0i4c8uteehlh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='68';
20230426@175835.6902 uurjph2sgvv1ga0i4c8uteehlh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='68';
20230426@175835.7205 7b4mbja1hgkhbpienll8jh69eq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175835.7217 7b4mbja1hgkhbpienll8jh69eq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175835.7229 7b4mbja1hgkhbpienll8jh69eq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='69';
20230426@175835.7265 7b4mbja1hgkhbpienll8jh69eq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='69';
20230426@175835.7276 7b4mbja1hgkhbpienll8jh69eq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='69';
20230426@175835.7286 7b4mbja1hgkhbpienll8jh69eq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='69';
20230426@175835.7295 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175835.7298 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175835.7310 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175835.7313 7b4mbja1hgkhbpienll8jh69eq Query : select no, estab,szadrsdesc from szadrs where u_coddest=829
20230426@175835.7414 7b4mbja1hgkhbpienll8jh69eq 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'
20230426@175835.7426 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.1824.00.1' and bi.lordem =1
20230426@175835.7723 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20230426@175835.7854 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.1834.00.1' and bi.lordem =2
20230426@175835.8140 7b4mbja1hgkhbpienll8jh69eq 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'
20230426@175835.8264 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.1879.00.1' and bi.lordem =3
20230426@175835.8559 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20230426@175835.8688 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.719.00.01' and bi.lordem =4
20230426@175835.8973 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.724.00.01'
20230426@175835.9103 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.724.00.01' and bi.lordem =5
20230426@175835.9384 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20230426@175835.9511 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.727.00.01' and bi.lordem =6
20230426@175835.9794 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20230426@175835.9922 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.711.00.01' and bi.lordem =7
20230426@175836.2880 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.3490 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175836.4970 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.5180 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175836.5300 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.5330 7b4mbja1hgkhbpienll8jh69eq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175836.5430 7b4mbja1hgkhbpienll8jh69eq 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
20230426@175836.5570 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.5610 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 ~inactivo valor from cl where no = '101684' and estab = 0 order by inactivo desc
20230426@175836.7860 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.8670 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175836.8800 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.8830 7b4mbja1hgkhbpienll8jh69eq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175836.8940 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.8970 7b4mbja1hgkhbpienll8jh69eq Query : select szadrsstamp valor from szadrs where szadrsdesc='martins & correia,lda'
20230426@175836.9150 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.9180 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from td where ndoc = 39
20230426@175836.9270 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175836.9380 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175836.1048 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175836.1090 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175836.1103 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175836.1107 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175836.1114 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175836.1154 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175836.1164 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175836.1171 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.1176 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175836.1188 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175836.1192 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495128316449583c1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.1197 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175836.1206 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175836.1219 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175836.1233 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut64495128316449583c1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',25,101684,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175836.1476 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.1480 7b4mbja1hgkhbpienll8jh69eq Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230426@175836.1491 7b4mbja1hgkhbpienll8jh69eq 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'
20230426@175836.1502 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.1521 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.1532 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.1546 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.1550 7b4mbja1hgkhbpienll8jh69eq Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230426@175836.1561 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.1571 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.1584 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.1594 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495279976449583c26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175836.1817 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.1832 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175836.1838 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495279976449583c26','aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.1843 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.1857 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.1868 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.1883 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.1888 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.1899 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.1912 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.1923 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495301516449583c2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,20000,?,?,?)
20230426@175836.2134 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.2149 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175836.2154 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495301516449583c2e','aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.2158 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.2162 7b4mbja1hgkhbpienll8jh69eq Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20230426@175836.2174 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20230426@175836.2310 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.2324 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.2335 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.2350 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.2355 7b4mbja1hgkhbpienll8jh69eq Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2200671100a'
20230426@175836.2368 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.2379 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.2392 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.2402 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495538506449583c3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175836.2637 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.2652 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175836.2657 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495538506449583c3a','aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.2662 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.2676 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.2687 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
